CentOS6.8+PHP7.2安装swoole扩展

下载解压swoolewget https://github.com/swoole/swoole-src/archive/v4.2.13.tar.gz tar -xvf v4.2.13.tar.gz cd swoole-src-4.2.13/编译安装swoole扩展/usr/local/php/bin/phpize ./configure --with-php-config=/usr/loc...

Linux 2019-02-27 AM 1984次 0条

apache生成自签名证书开启https

生成服务器根证书openssl genrsa -des3 -passout pass:x -out server.pass.key 2048 openssl rsa -passin pass:x -in server.pass.key -out server.key rm server.pass.key openssl req -new -key server.key -out server...

Linux 2019-01-10 AM 1641次 0条

nginx和apache配置默认站点禁止访问防止域名恶意绑定

apache配置方法修改http.conf<VirtualHost *:80> ServerName IP地址 <Location /> Order Allow,Deny Deny from all </Location> </VirtualHost>nginx配置方法修改ngin...

Linux 2018-12-18 PM 1347次 0条

一键安装lamp/lnmp脚本

一键安装lamp/lnmplamp:linux+apache+mysql+phplnmp:linux+nginx+mysql+php各组件版本apache 2.4.29nginx 1.14.2mysql 5.6.42redis 4.0.1php 7.2.2特点兼容centos6<后续将加入centos7的兼容>基于源码编译一键安装lamp或lnmp可选择组建单独安装nginx添加...

Linux 2018-11-14 PM 2064次 0条

Linux安装apache+php

安装包下载地址:apache 下载地址:http://mirror.bit.edu.cn/apache/httpd/httpd-2.4.29.tar.gzphp下载地址:http://cl1.php.net/get/php-7.1.10.tar.gz/from/this/mirrorapr:http://mirrors.noc.im/apache/apr/apr-1.5.2.tar.bz2a...

Linux 2018-10-29 PM 1421次 0条