![]() |
| Home | Apache | PHP | Ubuntu | MySQL | Linux | HTML | Win | CSS | Perl | Javascript | Rants | Retro |
|
||
| VSFTP Ubuntu. Set up an FTP server in Ubuntu Its very easy to get an ftp server up and running in ubuntu. Once set up you can then ftp to your user account locally and outside of the network. Below is a rough outline. The first thing to do is install vsftpd in Ubuntu, by entering the following command in the terminal:- sudo apt-get install vsftpd Once vsftp is installed you then need to edit the conf file, by entering the following command: sudo gedit /[ect]/vsftpd/vsftpd.conf Look for this in the conf file, and uncomment it. local_umask=022 chroot_local_user=YES chroot_list_enable=YES chroot_list_file=/[ect]/vsftpd.chroot_list Change chroot_local_user to NO so it reads chroot_local_user=NO Save the conf file. We need to create a user list. Create a file called vsftpd.chroot_list in the following folder [ect] In the list add the users you would like to be able to connect, for example I have two user accounts in ubuntu called myfirstuser, myseconduser. Put each user on a new line. myfirst myseconduser Save the file vsftpd.chroot_list, then restart vsftpd by entering the following command. /[ect]/init.d/vsftpd restart The next step is to open you ftp client. Enter the ip address of your server, followed by the username, this is the user account in Ubuntu, followed by the password. If everything works correctly, you should be able to browse the users home directory only. I know this is not the best of guides, but it gives you a starting point. |