初始化
yum install lrzsz
yum install gcc gcc-c++ ncurses-devel perlyum -y install pcre-devel
yum install -y zlib-devel
yum -y install vim-enhanced
yum -y install vim-common
安装mysql
安装数据库,下面3行是不行的yum install mysql
yum install mysql-server
yum install mysql-devel
得这样
rpm -Uvh http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
然后查看是否下载好
yum repolist enabled | grep "mysql.*-community.*"
最后
yum -y install mysql-community-server
安装ftp服务
yum install vsftpd -y
service vsftpd start
修改/etc/vsftpd/vsftpd.conf
如下:
anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
anon_mkdir_write_enable=YES
chmod -r 777 /var/ftp/pub