[root@server1 ~]# yum install ftp vsftpd -y
Loaded plugins: refresh-packagekit, security
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> Running transaction check
---> Package ftp.x86_64 0:0.17-51.1.el6 will be installed
---> Package vsftpd.x86_64 0:2.2.2-11.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=======================================================================
Package Arch Version Repository Size
=======================================================================
Installing:
ftp x86_64 0.17-51.1.el6 base 56 k
vsftpd x86_64 2.2.2-11.el6 base 150 k
Transaction Summary
=======================================================================
Install 2 Package(s)
Total download size: 206 k
Installed size: 426 k
Downloading Packages:
-----------------------------------------------------------------------
Total 22 MB/s | 206 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : ftp-0.17-51.1.el6.x86_64 1/2
Installing : vsftpd-2.2.2-11.el6.x86_64 2/2
Verifying : vsftpd-2.2.2-11.el6.x86_64 1/2
Verifying : ftp-0.17-51.1.el6.x86_64 2/2
Installed:
ftp.x86_64 0:0.17-51.1.el6 vsftpd.x86_64 0:2.2.2-11.el6
Complete!
[root@server1 ~]# rpm -q vsftpd;rpm -q ftp;
vsftpd-2.2.2-11.el6.x86_64
ftp-0.17-51.1.el6.x86_64
[root@server1 ~]# setenforce
usage: setenforce [ Enforcing | Permissive | 1 | 0 ]
[root@server1 ~]# getenforce
Enforcing
[root@server1 ~]# setenforce 0
[root@server1 ~]# getenforce
Permissive
0 comments:
Post a Comment
Attention: Please don't use spammy comments here. else ur comment will be remove automatically. Thank you.