上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 48 下一页
摘要: 1、查看主配置文件 [root@bogon ~]# cat /etc/nginx/nginx.conf user root root; worker_processes auto; worker_rlimit_nofile 51200; events { use epoll; worker_connections 65535; } http { include ... 阅读全文
posted @ 2018-11-29 13:57 effortsing 阅读(377) 评论(0) 推荐(0) 编辑
摘要: web站点放在nginx其他目录下 1、查看主配置文件 [root@bogon mysql]# cat /etc/nginx/nginx.conf user root root; worker_processes 1; events { worker_connections 1024; } http { include mime.types; de... 阅读全文
posted @ 2018-11-29 13:22 effortsing 阅读(1511) 评论(0) 推荐(0) 编辑
摘要: 1、前提已经安装好lnmp 测试连接mysql没有问题;lnmp安装请参照 python篇 一键安装lnmp 2、创建wordpress数据库 mysql> show databases;+ +| Database |+ +| information_schema || mysql || perfo 阅读全文
posted @ 2018-11-29 10:50 effortsing 阅读(498) 评论(0) 推荐(0) 编辑
摘要: 参照文档 http://www.cnblogs.com/shoubianxingchen/p/5166496.html 阅读全文
posted @ 2018-11-29 10:23 effortsing 阅读(118) 评论(0) 推荐(0) 编辑
摘要: linux创建www用户组和用户 wdcp中的nginx服务启动需要依赖www用户,因此若没有此用户就可能会启动失败。创建这个用户的方法: 阅读全文
posted @ 2018-11-29 10:22 effortsing 阅读(6153) 评论(0) 推荐(0) 编辑
摘要: 切换到别的目录再卸载即可 阅读全文
posted @ 2018-11-29 09:43 effortsing 阅读(4663) 评论(0) 推荐(0) 编辑
摘要: 3、服务器搭建网站完整教程(宝塔面板+wordpress) 阅读全文
posted @ 2018-11-28 13:28 effortsing 阅读(1481) 评论(0) 推荐(0) 编辑
摘要: 1、修改配置文件 重要:修改配置文件使用虚拟机,否则怎么配置都不生效,添加如下用户 [root@host-10-1-1-161 html]# ll /etc/nginx/nginx.conf -rw-r--r-- 1 root root 345 Aug 26 10:41 /etc/nginx/nginx.conf [root@host-10-1-1-161 html]# vi /etc/ng... 阅读全文
posted @ 2018-11-27 17:00 effortsing 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 1、查看linux服务器网络流量情况 参考连接 https://www.cnblogs.com/fklin/p/4986645.html yum install flex byacc libpcap ncurses ncurses-devel libpcap-devel -y 1.1 下载iftop 阅读全文
posted @ 2018-11-27 11:15 effortsing 阅读(6611) 评论(0) 推荐(0) 编辑
摘要: firewalld 查看服务是否开机启动:systemctl is-enabled firewalld.service 查看已启动的服务列表:systemctl list-unit-files|grep enabled 查看启动失败的服务列表:systemctl --failed 查看所有打开的端口: firewall-cmd --zone=public --list-ports 更新防火墙规... 阅读全文
posted @ 2018-11-26 16:17 effortsing 阅读(283) 评论(0) 推荐(0) 编辑
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 48 下一页