会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
人可永真
越努力越幸运
博客园
首页
新随笔
联系
管理
上一页
1
2
3
4
5
2018年6月9日
浏览器无法访问虚拟机的服务器
摘要: 1.nginx默认访问端口是80,检查是否开放了80端口 1)在win7上打开运行cmd,使用命令Telnet测试80端口 因为我的80端口是连接成功的,所以我用8080端口来做个连接失败的实例 2)端口测试连接失败,说明80端口还没有开放,现在我们要开放80端口 2.现在再使用浏览器访问虚拟机服务
阅读全文
posted @ 2018-06-09 09:58 人可永真
阅读(1045)
评论(1)
推荐(0)
2018年6月8日
搭建lnmp环境,nginx的配置文件/etc/nginx/nginx.conf
摘要: #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; events { worker_connections 1024; } http {...
阅读全文
posted @ 2018-06-08 18:08 人可永真
阅读(328)
评论(0)
推荐(0)
在centos6.5下搭建lnmp
摘要: 1.查看环境: [root@localhost /]# cat /etc/redhat-release CentOS release 6.5 (Final) 2.关掉防火墙(需要到国外地址下载软件包) [root@localhost /]# chkconfig iptables off 3.配置Ce
阅读全文
posted @ 2018-06-08 17:59 人可永真
阅读(153)
评论(0)
推荐(0)
2018年6月7日
Linux服务器关联Git,通过执行更新脚本实现代码同步
摘要: 1.在Linux服务器安装Git yum install git -y tips: 卸载Git : yum remove git 2.在Linux生成ssh key 1)创建用户 git config --global user.name "你的名字或昵称" git config --global
阅读全文
posted @ 2018-06-07 16:31 人可永真
阅读(2986)
评论(0)
推荐(0)
2018年6月6日
CentOS yum 安装时错误 Errno 14 Couldn't resolve host 解决办法
摘要: 在虚拟机上安装完CentOS6.5之后,首次使用时yum命令安装软件时,出现一堆的” Errno 14 Couldn't resolve host”这个问题。 上网上查了半天,很多都说在/etc/resolv.conf文件末尾添加 nameserver 8.8.8.8 可我试了根本就没有用!才发现网
阅读全文
posted @ 2018-06-06 23:51 人可永真
阅读(3222)
评论(0)
推荐(0)
上一页
1
2
3
4
5
公告