configure ftp server - vannarothtakeo.files.wordpress.com€¦ · configure ftp server name: hul...
TRANSCRIPT
Configure FTP Server
NAME: HUL SOVANNAROTH
SNA 2011B
1. Install FTP server
2. Configure Virtual FTP
3. Configure Virtual Users
1. Install FTP Server
Configure IP address
Install pure-ftpd by yast
Restart Ftp service by using the following command line
File configuration of FTP server
Access files FTP from other machine by using windows explorer
Create folder on default folder share of FTP in path /srv/ftp like the following folder for sharing to all users that connect to FTP server
Access to FTP by using IP address of FTP Server
2. Configure Virtual FTP
Add virtual IP address for configure virtual FTP
Create folder in any path that we want to do Virtual FTP
Create link from directory to virtual IP for create virtual FTP like the following path
Create Subfolder on folder virtual FTP
Access to virtual FTP from client by using virtual IP that we create
3. Configure Virtual Users
Create systems user with home directory
Go to home folder of that user and create new folder for FTP user
Use the following command line to create virtual user depending on home directory of system user
Enable Database for virtual user in the configuration file of FTP server
Disallow anonymous to access FTP
Restart FTP server and virtual user database by using the following command line
After we configure the above configuration we will get the following result when we access to FTP server
The anonymous has disable and we need to use authenticate user to access folder share
-After we disable anonymous for FTP we can use authenticated user to authenticate ftp.-All authenticated user, log on to FTP must be direct to their home folder.-If we want user authenticate to folder share above we must to change directory of user to path of folder share of FTP.-We can change default path of home directory in yast- security systems and users- User and group Management- select user that we want to authenticate
with FTP-select edit and choose detail- the last step is change directory of user to directory of ftp that we want to authenticate.