12
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

Configure FTP Server - vannarothtakeo.files.wordpress.com€¦ · Configure FTP Server NAME: HUL SOVANNAROTH SNA 2011B 1. Install FTP server 2. Configure Virtual FTP 3. Configure

  • Upload
    others

  • View
    36

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Configure FTP Server - vannarothtakeo.files.wordpress.com€¦ · Configure FTP Server NAME: HUL SOVANNAROTH SNA 2011B 1. Install FTP server 2. Configure Virtual FTP 3. Configure

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

Page 2: Configure FTP Server - vannarothtakeo.files.wordpress.com€¦ · Configure FTP Server NAME: HUL SOVANNAROTH SNA 2011B 1. Install FTP server 2. Configure Virtual FTP 3. Configure

Install pure-ftpd by yast

Restart Ftp service by using the following command line

File configuration of FTP server

Page 3: Configure FTP Server - vannarothtakeo.files.wordpress.com€¦ · Configure FTP Server NAME: HUL SOVANNAROTH SNA 2011B 1. Install FTP server 2. Configure Virtual FTP 3. Configure

Access files FTP from other machine by using windows explorer

Page 4: Configure FTP Server - vannarothtakeo.files.wordpress.com€¦ · Configure FTP Server NAME: HUL SOVANNAROTH SNA 2011B 1. Install FTP server 2. Configure Virtual FTP 3. Configure

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

Page 5: Configure FTP Server - vannarothtakeo.files.wordpress.com€¦ · Configure FTP Server NAME: HUL SOVANNAROTH SNA 2011B 1. Install FTP server 2. Configure Virtual FTP 3. Configure

Access to FTP by using IP address of FTP Server

2. Configure Virtual FTP

Add virtual IP address for configure virtual FTP

Page 6: Configure FTP Server - vannarothtakeo.files.wordpress.com€¦ · Configure FTP Server NAME: HUL SOVANNAROTH SNA 2011B 1. Install FTP server 2. Configure Virtual FTP 3. Configure

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

Page 7: Configure FTP Server - vannarothtakeo.files.wordpress.com€¦ · Configure FTP Server NAME: HUL SOVANNAROTH SNA 2011B 1. Install FTP server 2. Configure Virtual FTP 3. Configure

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

Page 8: Configure FTP Server - vannarothtakeo.files.wordpress.com€¦ · Configure FTP Server NAME: HUL SOVANNAROTH SNA 2011B 1. Install FTP server 2. Configure Virtual FTP 3. Configure

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

Page 9: Configure FTP Server - vannarothtakeo.files.wordpress.com€¦ · Configure FTP Server NAME: HUL SOVANNAROTH SNA 2011B 1. Install FTP server 2. Configure Virtual FTP 3. Configure

Disallow anonymous to access FTP

Page 10: Configure FTP Server - vannarothtakeo.files.wordpress.com€¦ · Configure FTP Server NAME: HUL SOVANNAROTH SNA 2011B 1. Install FTP server 2. Configure Virtual FTP 3. Configure

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

Page 11: Configure FTP Server - vannarothtakeo.files.wordpress.com€¦ · Configure FTP Server NAME: HUL SOVANNAROTH SNA 2011B 1. Install FTP server 2. Configure Virtual FTP 3. Configure

-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

Page 12: Configure FTP Server - vannarothtakeo.files.wordpress.com€¦ · Configure FTP Server NAME: HUL SOVANNAROTH SNA 2011B 1. Install FTP server 2. Configure Virtual FTP 3. Configure

with FTP-select edit and choose detail- the last step is change directory of user to directory of ftp that we want to authenticate.