centos1

wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm

yum install ibus ibus-table-wubi*

yum install ./google-chrome-stable_current_*.rpm

lnmp install

sudo -i === su -

rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm

vim /etc/yum.repo.d/nginx.repo
[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/centos/$releasever/$basearch/
gpgcheck=0
enabled=1
yum --enablerepo=remi,remi-php70 install nginx php-fpm php-common yum --enablerepo=remi,remi-php70 install php-opcache php-pecl-apcu php-cli php-pear php-pdo php-mysqlnd php-pgsql php-pecl-mongodb php-pecl-redis php-pecl-memcache php-pecl-memcached php-gd php-mbstring php-mcrypt php-xml

server{root "/srv/www/testsite.local"}

mysql

yum localinstall https://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpm

yum install mysql-community-server
find password

sudo grep 'temporary password' /var/log/mysqld.log 

原文地址:https://www.cnblogs.com/anjuncc/p/5811771.html