标签:database include service listen server
1、mysql 已改名为 mariadb
2、service 升级为 systemctl
3、mysql 设置初始密码 mysql_secure_installation
4、nginx配置
server{
listen 80;
server_name weiqing.isousou.net;
root /data/weiqing;
index index.html index.htm index.php;
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;
}
}
5、创建数据库语句
create database yourdb DEFAULT CHARACTER SET gbk COLLATE gbk_chinese_ci;
标签:database include service listen server
原文地址:http://jeffrey1990.blog.51cto.com/8772494/1843615