mysql
wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
rpm -ivh mysql-community-release-el7-5.noarch.rpm
sudo yum install mysql-server
service mysqld restart
mysql -u root
-
use mysql;
update user set password=password('root') where user='root';
flush privileges;
// 刷新权限
update user set host = '%' where user = 'root';
FLUSH PRIVILEGES;
ftp
- yum -y install vsftpd
nginx
- sudo rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm
- sudo yum install -y nginx
- sudo systemctl start nginx.service
- sudo systemctl enable nginx.service