Can I access my Ubunto server via FTP?
by kbond on October 6, 2009Q: I have set up my Ubunto server and I installed Apache 2 on it. My web server is working fine. My question is how can I access index.html from outside? I am not going to edit the file using nano or vim! Is there a way to access that from outside, like FTP?
If you enabled FTP or SSH then you can connect to the server via ftp or sftp. You would then just have to change to wherever your root directory is for the web server and transfer the files from there to your other machine. You can then edit it and then transfer the file back.
matt (Geek) says: on October 6, 2009 at 10:17 am
By ‘outside’ I’m going to guess that you mean this ubunto server is at your house, and you would like to connect to this server from somewhere else on Earth outside of your home network.
If this is the way you have things setup, only your home network router is visible to the outside world, and not your server. You’ll need to setup something called portforwarding. You’ll find directions for how to do this here: http://portforward.com/
What this will do is instruct your router to always send any outside FTP requests that come to it from the internet to your Ubuntu server. Just keep in mind that having your FTP server sitting out in the open like that can be risky. So make sure you’re satisfied with your FTP server setup first.
Mark (Uber Geek) says: on October 6, 2009 at 7:42 pm
Thank you guys , when you say enable ftp , DOES that mean install ftp server on my machine ?
like one of these ones :
proftpd – Versatile, virtual-hosting FTP daemon
=> vsftpd – The Very Secure FTP Daemon
=> ftpd – FTP server
=> wu-ftpd – powerful and widely used FTP server
=> wzdftpd – A portable, modular, small and efficient ftp server
=> pure-ftpd – Pure-FTPd FTP server
?
kbond (Newbie) says: on October 7, 2009 at 9:03 am
WELL well i installed VSftpd , i can log into my files usinf ftp client , but when i log in using normal user (user) I have no files there just “/”
and i understand why , it is because it is not the root directoty.
can i log in using root as username ? and the password i have ? i tried it , i could not connect.
kbond (Newbie) says: on October 7, 2009 at 9:53 am
You’ll need to adjust the configuration file: http://www.wikihow.com/Setup-vsftpd-FTP-on-Ubuntu-Linux
Mark (Uber Geek) says: on October 8, 2009 at 7:12 am
Thank you guys , it is working like a charm.
Now , I installed Mysql + PHP and i can see my testphp.php file on the webserver.
now can i see a GUI for mysql server ? internal or external i dont care , i just wanna see the GUI 🙂
kbond (Newbie) says: on October 13, 2009 at 1:40 pm
I would suggest using phpMyAdmin. It would install in apache for you, as simple as making a phpMyAdmin dir and copying it over, then setting a few variables in the config.
matt (Geek) says: on October 13, 2009 at 1:42 pm
Cool , working 🙂 how can i change the default password ?
kbond (Newbie) says: on October 13, 2009 at 3:36 pm
From your command line you would do
mysqladmin -u root password yourrootsqlpassword
matt (Geek) says: on October 15, 2009 at 8:02 pm