SLEs modifies the local FTP installation source

Source: Internet
Author: User
Tags ftp client

SLES Modify the local FTP installation source

First, configure the machine FTP ............................................................................................................. 1

1.1 , installation ................................................................................................................. 1

1.2 , create a regular user (test ) ..................................................................................... 1

1.3 , Configuration ................................................................................................................. 1

1.4 , create/etc/vsftpd.chroot_list Catalogue ................................................................ 2

1.5 Restart FTP Service ...................................................................................................... 2

1.6 , FTP Power-on self-booting .................................................................................................... 2

1.7 , open root User FTP Permissions .................................................................................... 2

Second, FTP server-side configuration ......................................................................................................... 3

2.1 , upload the operating system image, and the required packages .................................................................... 3

2.2 , landing ftp://192.168.1.188 Verification: .................................................................... 3

Third, FTP Client Configuration ......................................................................................................... 3

Four, verify: .................................................................................................................... .. 7

V. add additional rpm packages ....................................................................................................... 8

First, configure the machine FTP

1.1 , installation

during installation of the system, select Install VSFTPD.

1.2 , creating a normal user (test)

#useradd –m ftpuser//(Create Ftpuser user at the same time, create ftpuser directory under Home)

#passwd ftpuser// Modify the Ftpuser user password

1.3 , Configuration

# vim/etc/vsftpd.conf
Open the following line on the default configuration (uncomment the # number)
Write_enable=yes
Local_enable=yes
local_umask=022
Chroot_local_user=yes
Chroot_list_enable=yes
Chroot_list_file=/etc/vsftpd.chroot_list

Anonymous_enable=yes// whether to allow anonymous access

Anon_world_readable_only=yes

Anon_upload_enable=yes

anon_umask=022

Anon_mkdir_write_enable=yes

Anon_other_write_enable=yes

#vim/etc/vsftpd.conf add
Anon_root=/opt/file//Indicates the default directory when anonymous users log on to FTP
Local_root=/opt/file//Indicates the default directory when using local users to log on to FTP

1.4 , creating the/etc/vsftpd.chroot_list directory

# touch/etc/vsftpd.chroot_list

1.5 Restarting the FTP service

# RCV, sftpd restart

1.6 , FTP boot

#chkconfig vsftpd on

1.7 , open the root user FTP permission

# Vim/etc/ftpuser before you find root, add the # comment .

#root

Second, FTP server configuration

2.1 , upload the operating system image, and the required packages

# cd/opt/

upload sles-11-sp3-dvd-x86_64-gm-dvd1.iso

#mkdir/mnt/cdrom

#mount-O Loop/opt/sles-11-sp3-dvd-x86_64-gm-dvd1.iso/mnt/cdrom

#cp-r/mnt/cdrom/*/opt/file/

2.2 , Login ftp://192.168.1.188 authentication:

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/7A/7B/wKioL1ap5m-xD4e2AAIFUwWLO_Y509.jpg "title=" QQ picture 20160128175517.jpg "alt=" Wkiol1ap5m-xd4e2aaifuwwlo_y509.jpg "/>

Third, FTP client configuration

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/7A/7B/wKiom1ap5nnRzUSCAAGS7dyDQ-8699.jpg "title=" QQ picture 20160128175638.jpg "alt=" Wkiom1ap5nnrzuscaags7dydq-8699.jpg "/>

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/7A/7B/wKioL1ap5u3x4cYxAAEJcXArkok485.jpg "title=" QQ picture 20160128175725.jpg "alt=" Wkiol1ap5u3x4cyxaaejcxarkok485.jpg "/>

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/7A/7B/wKiom1ap5uLzF0PpAAFbTEZyQL0389.jpg "title=" QQ picture 20160128175824.jpg "alt=" Wkiom1ap5ulzf0ppaafbtezyql0389.jpg "/>

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/7A/7B/wKioL1ap50aCw-eGAADLRcOPNRg578.jpg "title=" QQ picture 20160128175856.jpg "alt=" Wkiol1ap50acw-egaadlrcopnrg578.jpg "/>

Four, verify:

#zypper Install Sysstat

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/7A/7B/wKiom1ap5yjB3zk-AAEMiBq7LSg444.jpg "title=" QQ picture 20160128175937.jpg "alt=" Wkiom1ap5yjb3zk-aaemibq7lsg444.jpg "/>

Five, Add extra RPM packages

# cd/opt/file/suse/x86_64/

Upload the required RPM package to the current directory

# rcvsftpd Restart


This article is from the "Han Lei" blog, make sure to keep this source http://deararvin.blog.51cto.com/11158301/1739632

SLEs modifies the local FTP installation source

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.