摘要: Nginx配置https证书 server { listen 80; server_name www.mmm.com; autoindex on; #是否允许访问目录 root /usr/local/nginx/html/mmest/php/public/; index index.php inde 阅读全文
posted @ 2018-08-20 09:45 木子巫 阅读(17826) 评论(1) 推荐(0) 编辑
摘要: 因为源码包比二进制包安装要复杂一些,特此记录 yum -y install ncurses-devel libaio-devel rpm -qa ncurses-devel libaio-devel tar xf cmake-2.8.6.tar.gz -C /usr/src/ cd /usr/src 阅读全文
posted @ 2018-08-20 09:42 木子巫 阅读(795) 评论(0) 推荐(0) 编辑
摘要: 1、安装swoole cd /usr/local/src wget https://github.com/swoole/swoole-src/archive/v1.9.1-stable.tar.gz tar zxvf v1.9.1-stable.tar.gz cd swoole-src-1.9.1- 阅读全文
posted @ 2018-08-20 09:41 木子巫 阅读(158) 评论(0) 推荐(0) 编辑
摘要: wget http://download.redis.io/releases/redis-2.8.3.tar.gz tar xzf redis-2.8.3.tar.gz -C /usr/src cd /usr/src/ redis-2.8.3 make make install PREFIX=/us 阅读全文
posted @ 2018-08-20 09:38 木子巫 阅读(100) 评论(0) 推荐(0) 编辑
摘要: apache80端号跳转443端口调取的虚拟主机的配置文件 调取虚拟主机内容,80端口的顶级域名,跳转至www的443端口 <VirtualHost ip:80> 80重写443端口 ServerAdmin aaa.com 需要跳转的域名 DocumentRoot "/home/wwwroot/ba 阅读全文
posted @ 2018-08-20 09:20 木子巫 阅读(4854) 评论(0) 推荐(0) 编辑
摘要: yum -y install gcc gcc-c++ ncurses ncurses-devel cmake bison wget https://sourceforge.net/projects/boost/files/boost/1.59.0/boost_1_59_0.tar.gz tar -z 阅读全文
posted @ 2018-08-17 16:32 木子巫 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 版本:httpd-2.4.34、mysql-5.6.14-linux-glibc2.5-x86_64、php-5.6 搭建apache tar xf apr-1.6.3.tar.gz -C /usr/src/ cd /usr/src/apr-1.6.3/ ./configure --prefix=/ 阅读全文
posted @ 2018-08-17 16:13 木子巫 阅读(540) 评论(0) 推荐(0) 编辑
摘要: 版本:nginx-1.13.7、mysql-5.6.14-linux-glibc2.5-x86_64、php-7.1.7 curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo(搭建 阅读全文
posted @ 2018-08-17 15:53 木子巫 阅读(908) 评论(0) 推荐(0) 编辑