# 下载最新稳定版:http://download.redis.io/releases/ wget [http://download.redis.io/releases/redis-4.0.11.tar.gz](http://download.redis.io/releases/redis-4.0.11.tar.gz) cd /usr/local/ tar zxvf redis-4.0.11.tar.gz cd redis-4.0.11 ln -s redis-4.0.11 redis make make install cd src/ make install make test yum install tcl make test
$ cd /usr/local/ $ wget http://jaist.dl.sourceforge.net/project/pcre/pcre/8.42/pcre-8.42.tar.gz $ tar -zxvf pcre-8.42.tar.gz $ cd pcre-8.42 $ ./configure $ make && make install
安装SSL库
$ cd /usr/local/ $ wget http://www.openssl.org/source/openssl-1.0.2o.tar.gz $ tar -zxvf openssl-1.0.1j.tar.gz $ cd openssl-1.0.2o $ ./config $ make && make install
安装zlib库存
$ cd /usr/local/ $ wget http://zlib.net/zlib-1.2.11.tar.gz $ tar -zxvf zlib-1.2.11.tar.gz $ cd zlib-1.2.11 $ ./configure $ make && make install
安装Nginx
# 解压 $ cd /usr/local/ $ wget http://nginx.org/download/nginx-1.9.9.tar.gz $ tar -zxvf nginx-1.9.9.tar.gz $ cd nginx-1.9.9
官文足矣,MySQL :: A Quick Guide to Using the MySQL Yum Repository
1. Go to the download page for MySQL Yum repository at http://dev.mysql.com/downloads/repo/yum/. 下载rpm文件 2. sudo rpm -Uvh mysql80-community-release-el7-1.noarch.rpm 下载的rpm包 3. yum repolist all | grep mysql 检查安装版本,看看enabled的是不是你想要安装的版本 4. sudo yum install mysql-community-server 安装完成了! 5. sudo service mysqld start 启动 6. sudo grep 'temporary password' /var/log/mysqld.log 查看root原始密码 7. mysql -uroot -p 输入上面的密码 8. ALTER USER 'root'@'localhost' IDENTIFIED BY 'MyNewPass4!’ 最后修改密码
运行
sudo service mysqld start sudo service mysqld stop sudo service mysqld status