SELinux (security-enhanced Linux) security-enhanced Linux is an implementation of mandatory access control (mandatory access controls). In this kind of control, Linux has a lot of operations that can be banned or unsuccessful. Before the installation of CentOS under the vsftpd how can not get up. Then the SELinux and then finished. All right, cut the crap, let's talk about how to get rid of SELinux.
Vim/etc/selinux/config
To open the SELinux configuration file, we can see that the SELinux is turned on by default:
Selinux=enforcing
So what we're going to change is this, just drop the original comment and write it yourself.
Selinux=disabled
Specifically as follows:
# This file controls thestate of the ' SELinux on the system.
# selinux= can take oneof these three values:
# Enforcing-selinux Security Policy isenforced.
# Permissive-selinux Prints Warningsinstead of enforcing.
# Disabled-selinux is fullydisabled.
#SELINUX =enforcing
Selinux=disabled
# selinuxtype= type Ofpolicy in use. Possible values are:
# Targeted-only targeted network Daemonsare protected.
# Strict-full SELinux protection.
selinuxtype=targeted
Save the exit, and then restart it OK.