安装必要依赖

[root@localhost ~]# yum install gcc lrzsz vim wget
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.lzu.edu.cn
* extras: mirrors.aliyun.com
* updates: mirror.lzu.edu.cn
Package lrzsz-0.12.20-36.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.8.5-39.el7 will be installed
--> Processing Dependency: libgomp = 4.8.5-39.el7 for package: gcc-4.8.5-39.el7.x86_64
--> Processing Dependency: cpp = 4.8.5-39.el7 for package: gcc-4.8.5-39.el7.x86_64
--> Processing Dependency: libgcc >= 4.8.5-39.el7 for package: gcc-4.8.5-39.el7.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-39.el7.x86_64
--> Processing Dependency: libmpc.so.3()(64bit) for package: gcc-4.8.5-39.el7.x86_64
---> Package vim-enhanced.x86_64 2:7.4.160-1.el7 will be updated
---> Package vim-enhanced.x86_64 2:7.4.629-6.el7 will be an update
--> Processing Dependency: vim-common = 2:7.4.629-6.el7 for package: 2:vim-enhanced-7.4.629-6.el7.x86_64
---> Package wget.x86_64 0:1.14-10.el7 will be updated
---> Package wget.x86_64 0:1.14-18.el7_6.1 will be an update
--> Running transaction check
---> Package cpp.x86_64 0:4.8.5-39.el7 will be installed
---> Package glibc-devel.x86_64 0:2.17-292.el7 will be installed
--> Processing Dependency: glibc-headers = 2.17-292.el7 for package: glibc-devel-2.17-292.el7.x86_64
--> Processing Dependency: glibc = 2.17-292.el7 for package: glibc-devel-2.17-292.el7.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.17-292.el7.x86_64
---> Package libgcc.x86_64 0:4.8.2-16.el7 will be updated
---> Package libgcc.x86_64 0:4.8.5-39.el7 will be an update
---> Package libgomp.x86_64 0:4.8.2-16.el7 will be updated
---> Package libgomp.x86_64 0:4.8.5-39.el7 will be an update
---> Package libmpc.x86_64 0:1.0.1-3.el7 will be installed
---> Package vim-common.x86_64 2:7.4.160-1.el7 will be updated
---> Package vim-common.x86_64 2:7.4.629-6.el7 will be an update
--> Running transaction check
---> Package glibc.x86_64 0:2.17-55.el7 will be updated
--> Processing Dependency: glibc = 2.17-55.el7 for package: glibc-common-2.17-55.el7.x86_64
---> Package glibc.x86_64 0:2.17-292.el7 will be an update
---> Package glibc-headers.x86_64 0:2.17-292.el7 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-292.el7.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.17-292.el7.x86_64
--> Running transaction check
---> Package glibc-common.x86_64 0:2.17-55.el7 will be updated
---> Package glibc-common.x86_64 0:2.17-292.el7 will be an update
---> Package kernel-headers.x86_64 0:3.10.0-1062.18.1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================================================================================================
Installing:
gcc x86_64 4.8.5-39.el7 base 16 M
Updating:
vim-enhanced x86_64 2:7.4.629-6.el7 base 1.1 M
wget x86_64 1.14-18.el7_6.1 base 547 k
Installing for dependencies:
cpp x86_64 4.8.5-39.el7 base 5.9 M
glibc-devel x86_64 2.17-292.el7 base 1.1 M
glibc-headers x86_64 2.17-292.el7 base 687 k
kernel-headers x86_64 3.10.0-1062.18.1.el7 updates 8.8 M
libmpc x86_64 1.0.1-3.el7 base 51 k
Updating for dependencies:
glibc x86_64 2.17-292.el7 base 3.6 M
glibc-common x86_64 2.17-292.el7 base 11 M
libgcc x86_64 4.8.5-39.el7 base 102 k
libgomp x86_64 4.8.5-39.el7 base 158 k
vim-common x86_64 2:7.4.629-6.el7 base 5.9 M

Transaction Summary
============================================================================================================================================================================================================================
Install 1 Package (+5 Dependent packages)
Upgrade 2 Packages (+5 Dependent packages)

Total size: 56 M
Total download size: 33 M
Is this ok [y/d/N]: y
Downloading packages:
(1/5): glibc-devel-2.17-292.el7.x86_64.rpm | 1.1 MB 00:00:01
(2/5): kernel-headers-3.10.0-1062.18.1.el7.x86_64.rpm | 8.8 MB 00:00:03
(3/5): glibc-headers-2.17-292.el7.x86_64.rpm | 687 kB 00:00:04
(4/5): gcc-4.8.5-39.el7.x86_64.rpm | 16 MB 00:00:08
(5/5): cpp-4.8.5-39.el7.x86_64.rpm | 5.9 MB 00:00:09
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 3.6 MB/s | 33 MB 00:00:09
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : libgcc-4.8.5-39.el7.x86_64 1/20
Updating : glibc-common-2.17-292.el7.x86_64 2/20
Updating : glibc-2.17-292.el7.x86_64 3/20
warning: /etc/nsswitch.conf created as /etc/nsswitch.conf.rpmnew
Installing : libmpc-1.0.1-3.el7.x86_64 4/20
Installing : cpp-4.8.5-39.el7.x86_64 5/20
Updating : libgomp-4.8.5-39.el7.x86_64 6/20
Updating : 2:vim-common-7.4.629-6.el7.x86_64 7/20
Installing : kernel-headers-3.10.0-1062.18.1.el7.x86_64 8/20
Installing : glibc-headers-2.17-292.el7.x86_64 9/20
Installing : glibc-devel-2.17-292.el7.x86_64 10/20
Installing : gcc-4.8.5-39.el7.x86_64 11/20
Updating : 2:vim-enhanced-7.4.629-6.el7.x86_64 12/20
Updating : wget-1.14-18.el7_6.1.x86_64 13/20
Cleanup : 2:vim-enhanced-7.4.160-1.el7.x86_64 14/20
Cleanup : 2:vim-common-7.4.160-1.el7.x86_64 15/20
Cleanup : libgomp-4.8.2-16.el7.x86_64 16/20
Cleanup : wget-1.14-10.el7.x86_64 17/20
Cleanup : glibc-common-2.17-55.el7.x86_64 18/20
Cleanup : glibc-2.17-55.el7.x86_64 19/20
Cleanup : libgcc-4.8.2-16.el7.x86_64 20/20
Verifying : glibc-devel-2.17-292.el7.x86_64 1/20
Verifying : 2:vim-enhanced-7.4.629-6.el7.x86_64 2/20
Verifying : glibc-2.17-292.el7.x86_64 3/20
Verifying : wget-1.14-18.el7_6.1.x86_64 4/20
Verifying : cpp-4.8.5-39.el7.x86_64 5/20
Verifying : libgcc-4.8.5-39.el7.x86_64 6/20
Verifying : libgomp-4.8.5-39.el7.x86_64 7/20
Verifying : libmpc-1.0.1-3.el7.x86_64 8/20
Verifying : gcc-4.8.5-39.el7.x86_64 9/20
Verifying : glibc-common-2.17-292.el7.x86_64 10/20
Verifying : 2:vim-common-7.4.629-6.el7.x86_64 11/20
Verifying : glibc-headers-2.17-292.el7.x86_64 12/20
Verifying : kernel-headers-3.10.0-1062.18.1.el7.x86_64 13/20
Verifying : 2:vim-common-7.4.160-1.el7.x86_64 14/20
Verifying : 2:vim-enhanced-7.4.160-1.el7.x86_64 15/20
Verifying : glibc-2.17-55.el7.x86_64 16/20
Verifying : libgomp-4.8.2-16.el7.x86_64 17/20
Verifying : glibc-common-2.17-55.el7.x86_64 18/20
Verifying : libgcc-4.8.2-16.el7.x86_64 19/20
Verifying : wget-1.14-10.el7.x86_64 20/20

Installed:
gcc.x86_64 0:4.8.5-39.el7

Dependency Installed:
cpp.x86_64 0:4.8.5-39.el7 glibc-devel.x86_64 0:2.17-292.el7 glibc-headers.x86_64 0:2.17-292.el7 kernel-headers.x86_64 0:3.10.0-1062.18.1.el7 libmpc.x86_64 0:1.0.1-3.el7

Updated:
vim-enhanced.x86_64 2:7.4.629-6.el7 wget.x86_64 0:1.14-18.el7_6.1

Dependency Updated:
glibc.x86_64 0:2.17-292.el7 glibc-common.x86_64 0:2.17-292.el7 libgcc.x86_64 0:4.8.5-39.el7 libgomp.x86_64 0:4.8.5-39.el7 vim-common.x86_64 2:7.4.629-6.el7

Complete!
[root@localhost ~]#

安装vsftpd

[root@localhost ~]# yum install vsftpd
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.lzu.edu.cn
* extras: mirrors.aliyun.com
* updates: mirror.lzu.edu.cn
Resolving Dependencies
--> Running transaction check
---> Package vsftpd.x86_64 0:3.0.2-25.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================================================================================================
Installing:
vsftpd x86_64 3.0.2-25.el7 base 171 k

Transaction Summary
============================================================================================================================================================================================================================
Install 1 Package

Total download size: 171 k
Installed size: 353 k
Is this ok [y/d/N]: y
Downloading packages:
vsftpd-3.0.2-25.el7.x86_64.rpm | 171 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : vsftpd-3.0.2-25.el7.x86_64 1/1
Verifying : vsftpd-3.0.2-25.el7.x86_64 1/1

Installed:
vsftpd.x86_64 0:3.0.2-25.el7

Complete!