Mysql8安裝需要高版本的GCC,CentOS7下面的GCC版本為4.8.3,為了方便,我們用yum的SCL…
MySQL5.7 一鍵安裝腳本
MYSQL5.7 安裝腳本
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
yum -y install wget openssl* gcc gcc-c++ ncurses-devel git wget https://github.com/Kitware/CMake/releases/download/v3.18.4/cmake-3.18.4.tar.gz tar -zxf cmake-3.18.4.tar.gz cd cmake-3.18.4 ./bootstrap gmake && make install wget https://cdn.mysql.com/archives/mysql-5.7/mysql-5.7.31.tar.gz tar -zxf mysql-5.7.31.tar.gz cd /tmp/ wget http://sourceforge.net/projects/boost/files/boost/1.59.0/boost_1_59_0.tar.gz cd /web/soft/mysql-5.7.31/ cmake . -DWITH_BOOST=/tmp -DCMAKE_INSTALL_PREFIX=/web/mysql -DWITH_INNODB_MEMCACHED=ON -DDOWNLOAD_BOOST=1 cmake -j8 && make install |
Mysql5.7…
Nginx 1.18.0 安裝腳本
該安裝腳本為Nginx最新穩(wěn)定版本(1.18.0)的通用腳本,在測試機上面(CentOS7最小 純凈版本)已經(jīng)…