mysql5.7
redis 6+
nginx 1.2+
mysql-5.7.24-1.el7.x86_64.rpm-bundle.tar
tar xvf mysql-5.7.24-1.el7.x86_64.rpm-bundle.tar
rpm -ivh mysql-community-common-5.7.24-1.el7.x86_64.rpm
rpm -ivh mysql-community-libs-5.7.24-1.el7.x86_64.rpm
rpm -ivh mysql-community-client-5.7.24-1.el7.x86_64.rpm
rpm -ivh mysql-community-server-5.7.24-1.el7.x86_64.rpm
rpm -ivh mysql-community-libs-compat-5.7.24-1.el7.x86_64.rpm
vi /etc/my.cnf
datadir=/home/user/mysql
socket=/home/user/mysql/mysql.sock
# 大小写不敏感
lower_case_table_names = 1
chown -R mysql:mysql /home/user/mysql
4. 启动Mysql
systemctl start mysqld
5. 查询初始密码
grep ‘temporary password’/var/log/mysqld.log
6. 登录MySQL数据库
mysql -uroot -p’密码’
7. 修改初始密码
ALTER USER ‘root’@‘localhost’ IDENTIFIED BY ‘新密码’;
redis安装
https://blog.csdn.net/m0_73093747/article/details/127616901
nginx安装
https://blog.csdn.net/weixin_69306012/article/details/126777396