Installing Proftpd
1. Install proftpd using linux terminal, type the command:#sudo apt-get install proftpd2. When the installation process you are faced with a choice, whether to run ProFTPD from inetd or standalone. If the FTP traffic is a lot you can choose a standalone
Creating FTP Users
1. Type sudo nano / etc / shells to edit the file, and add the code: / bin / false
2. Create a folder / directory that you want to use the ftp share, Example: / home / ShareFTP
cd / home
sudo mkdir ShareFTP
3. Create a user and password with menggetikkan Code:
#sudo useradd password_user nama_user-p-d / home / ShareFTP-s / bin / false
#sudo passwd nama_user
4. Create another folder inside the download and upload folders ShareFTP
cd / home / ShareFTP /
sudo mkdir download
sudo mkdir upload
5. Setting permissions for user (user) by typing the command:
cd / home
sudo chmod 755 ShareFTP
my cd-FTP
sudo chmod 755 download
sudo chmod 777 upload
Configuring ProFTPD
1. FTP configuration by editing the file / etc / proftpd / proftpd.conf by typing following command in the terminal
#sudo nano / etc / proftpd / proftpd.conf
2. After that will be featured text editor and configurations. Point your cursor at the bottom kebaris then add the script code below:
<Anonymous /home/ShareFTP/>
user nama_user
Group nogroup
UserAlias anonymous ftp
DirFakeUser on ftp
DirFakeGroup on ftp
RequireValidShell off
MaxClients 10
DisplayLogin welcome.msg
DisplayChdir. Message
<Directory *>
<Limit WRITE>
AllowAll
</ Limit>
</ Directory>
</ Anonymous>
3. Save and Restart by typing the code:
#sudo / etc / init.d / proftpd restart
4. Ftp server on your linux already in the configuration. To transfer files from windows to linux server please open the FileZilla client in windows and then fill
hostname: ip address
username: nama_user
password: password_user
port: 21
or type ftp localhost on your linux terminal and then enter your user name and password