05 2018 档案

摘要:VMware虚拟机中的CentOS7安装Nginx后本机无法访问的解决办法 在虚拟机centos7上安装nginx之后虚拟机内能访问,真机不能访问,修改iptables配置也不起作用,最后上网查找了资料后才发现centos的防火墙改成了firewall,不再叫iptables,开放端口的方法如下: 阅读全文
posted @ 2018-05-06 16:21 伍声2016 阅读(115) 评论(0) 推荐(0)
摘要:新建vi /lib/systemd/system/nginx.service在nginx.service文件 [Service]Type=forkingExecStart=/usr/local/nginx/sbin/nginxExecReload=/usr/local/nginx/sbin/ngin 阅读全文
posted @ 2018-05-06 13:42 伍声2016 阅读(218) 评论(0) 推荐(0)
摘要:nginx下载地址:http://nginx.org/en/download.html 一、安装依赖软件 yum -y install gcc gcc-c++ autoconf automake make yum -y install zlib zlib-devel openssl openssl- 阅读全文
posted @ 2018-05-06 12:20 伍声2016 阅读(142) 评论(0) 推荐(0)
摘要:1.虚拟机环境下centos的防火墙可以关闭,否则主机调用虚拟机的相关服务时需要调整相应端口: CentOS7: systemctl stop firewalld.service #停止systemctl disable firewalld.service #禁用之前的版本:service ipta 阅读全文
posted @ 2018-05-04 19:01 伍声2016 阅读(370) 评论(0) 推荐(0)
摘要:1、配置YUM源 下载mysql源安装包 shell> wget http://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpm 安装mysql源 shell> yum localinstall mysql57-communit 阅读全文
posted @ 2018-05-04 18:14 伍声2016 阅读(397) 评论(0) 推荐(0)
摘要:1.VMware 2017 v14.x 永久许可证激活密钥 FF31K-AHZD1-H8ETZ-8WWEZ-WUUVA CV7T2-6WY5Q-48EWP-ZXY7X-QGUWD 2. VMware 安装Centos 7 https://blog.csdn.net/guo_ridgepole/art 阅读全文
posted @ 2018-05-03 16:11 伍声2016 阅读(77) 评论(0) 推荐(0)