上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 280 下一页
摘要: #首先登陆进入 MySQL 数据库 [root@oldboy tools]# mysql -uroot -poldboy123 #创建一个 wiki 是库 mysql> create database wiki; #创建一个用户,并赋予所有权限(all select delete ),并且授权主机, 阅读全文
posted @ 2019-08-10 23:18 樊伟胜 阅读(2246) 评论(0) 推荐(0) 编辑
摘要: PHP 安装 LNMP 下 php 在 Apache 服务下是 libphp5.so nginx 服务下是 9000 端口 #确保 web 服务和 MySQL 正常 143 PHP 安装 LNMP 下 php 在 Apache 服务下是 libphp5.so nginx 服务下是 9000 端口 # 阅读全文
posted @ 2019-08-10 23:17 樊伟胜 阅读(239) 评论(0) 推荐(0) 编辑
摘要: /app/php/bin/php -i|grep configure 范例 4: /app/php/bin/php -i|grep configure 范例 4: [root@VM-001 ~]# /app/php/bin/php -i|grep configure Configure Comman 阅读全文
posted @ 2019-08-10 23:16 樊伟胜 阅读(4369) 评论(0) 推荐(0) 编辑
摘要: grep CONFIGURE_LINE /app/mysql/bin/mysqlbug 提示:还发现很多人先 cat,在 grep,很不专业,应杜绝。 范例 3: [root@VM-001~]# grep CONFIGURE_LINE /app/mysql/bin/mysqlbug CONFIGUR 阅读全文
posted @ 2019-08-10 23:12 樊伟胜 阅读(1203) 评论(1) 推荐(0) 编辑
摘要: 1)查看 web 服务的编译参数 a.查看 nginx 的编译参数: /home/oldboy/run/nginx/sbin/nginx -V 范例 1: [root@VM-001 ~]# /home/oldboy/run/nginx/sbin/nginx -V nginx version: ngi 阅读全文
posted @ 2019-08-10 23:10 樊伟胜 阅读(203) 评论(0) 推荐(0) 编辑
摘要: cat /home/oldboy/run/apache/build/config.nice 范例 2: [root@VM-002 ~]# cat /home/oldboy/run/apache/build/config.nice #! /bin/sh cat /home/oldboy/run/apa 阅读全文
posted @ 2019-08-10 23:10 樊伟胜 阅读(1146) 评论(0) 推荐(0) 编辑
摘要: [root@nginx ~]# cd /etc/nginx/ 1 [root@nginx nginx]# cp nginx.conf nginx.conf.bak #备份一个原配置文件 2 [root@nginx nginx]# vim nginx.conf 3 location / { 4 pro 阅读全文
posted @ 2019-08-10 23:09 樊伟胜 阅读(577) 评论(0) 推荐(0) 编辑
摘要: 在配置 nginx 反向代理之间我们得先准备两台测试服务器,Web1 与 Web2。 1.安装 httpd 136 在配置 nginx 反向代理之间我们得先准备两台测试服务器,Web1 与 Web2。 1.安装 httpd 136 1 [root@web1 ~]# yum install -y ht 阅读全文
posted @ 2019-08-09 17:25 樊伟胜 阅读(323) 评论(0) 推荐(0) 编辑
摘要: linux vi 操作提示 Found a swap file by the name "/usr/local/nginx/conf/.nginx.conf.swp" 解决方法: [root@centos1 ~]# ls -a /usr/local/nginx/conf/ [root@centos1 阅读全文
posted @ 2019-08-09 17:23 樊伟胜 阅读(186) 评论(0) 推荐(0) 编辑
摘要: #添加另一个域名,在浏览器中输入 etiantian.org,总是调到 www.etiantian.org server { listen 80; server_name www.etiantian.org etiantian.org; root html/www; index index.html 阅读全文
posted @ 2019-08-09 17:22 樊伟胜 阅读(1966) 评论(0) 推荐(0) 编辑
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 280 下一页