Nginx/Apache
nginx多域名如果有端口号的server写法
nginx.conf phabricator.conf blog.conf --- listen 中指定了端口8080,在server\_name 阅读更多…
nginx.conf phabricator.conf blog.conf --- listen 中指定了端口8080,在server\_name 阅读更多…
--- 主从服务器之前分别作以下操作: 确定主从关系(此处以192.168.1.140作主,192.168.1.50作从为例) 版本一致(mysql-5.6.23) 初始化系统表,停止mysql服务 阅读更多…
使用user1登陆的话。环境变量加载顺序为: etc/profile —> etc/bash.bashrc —-> user1/.bashrc —-> user1/.profile 阅读更多…
检查mysql是否安装旧版,如果安装,利用rpm -e和zypper rm删除旧版 下载新版mysql相应rpm安装包,利用rpm安装,rpm -ivh * 修改默认配置文件位置至/etc下 阅读更多…
在nginx编译安装完成后,nginx需要用www用户运行,且设置开启自启动,切换root用户,添加脚本如下: 阅读更多…
由命令行级别切换到窗口级别的命令未变:init 5或startx 由窗口级别切换到命令行级别的命令未变:init 3 新版本的运行级别都定义在 /lib/systemd/system下: 阅读更多…
默认php-cgi进程是5个,可能因为phpcgi进程不够用而造成502,需要修改/usr/local/php/etc/php- fpm.conf 阅读更多…
先安装libevent 测试libevent是否安装成功 安装memcached,同时需要安装中指定libevent的安装位置 测试是否成功安装memcached 安装PHP的memcache扩展 阅读更多…