多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
php7源 yum install epel-release rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm 正式安装 yum install php72w-fpm php72w-cli php72w-gd php72w-mcrypt php72w-mysql php72w-pear php72w-xml php72w-mbstring php72w-pdo php72w-json php72w-pecl-apcu php72w-pecl-apcu-devel mysql源 rpm -Uvh http://repo.mysql.com/mysql57-community-release-el7-7.noarch.rpm 安装mysql yum install mysql\-server mysql\-devel mysql 查看默认密码 grep 'temporary password' /var/log/mysqld.log 修改mysql密码 ALTER USER 'root'@'localhost' IDENTIFIED BY 'GuYuePass666!'; flush privileges; 一、启动方式   1、使用 service 启动:service mysqld start   2、使用 mysqld 脚本启动:/etc/inint.d/mysqld start   3、使用 safe_mysqld 启动:safe_mysqld&   二、停止   1、使用 service 启动:service mysqld stop   2、使用 mysqld 脚本启动:/etc/inint.d/mysqld stop   3、mysqladmin shutdown   三、重启   1、使用 service 启动:service mysqld restart   2、使用 mysqld 脚本启动:/etc/inint.d/mysqld restart grep 'temporary password' /var/log/mysqld.log 查看mysql临时密码 nginx nginx -c /usr/local/etc/nginx/nginx.conf nginx -s reload 基础配置 server { listen 80; server_name (站点域名 没有就用IP代替); root /www/first(网站根目录); index index.php index.html; location ~ \.php$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } }