上一页 1 ··· 63 64 65 66 67 68 69 70 71 ··· 108 下一页
摘要: 1.检查mysql是否正常工作 service mysqld status 2.检查账号密码以及ip地址是否正确 3.检查防火墙的状态,验证该连接是否被防火墙屏蔽了 service iptables stop //关掉防火墙 尝试访问 iptables -A INPUT -p tcp --dport 阅读全文
posted @ 2019-05-16 11:29 Mr.peter 阅读(239) 评论(0) 推荐(0)
摘要: df -h 查看 重新启动服务器就可以了 阅读全文
posted @ 2019-05-15 11:20 Mr.peter 阅读(175) 评论(0) 推荐(0)
摘要: 步骤1:启用expires模块 步骤2:修改虚拟主机配置文件 阅读全文
posted @ 2019-05-14 15:25 Mr.peter 阅读(327) 评论(0) 推荐(0)
摘要: 1.配置yum源, 2.查看安装包列表 3.安装 阅读全文
posted @ 2019-05-13 17:19 Mr.peter 阅读(230) 评论(0) 推荐(0)
摘要: 1、修改httpd的主配置文件httpd.conf,搜索ServerName#ServerName www.example.com:80 修改为:ServerName www.example.com:802、找到如下内容: <Directory /> AllowOverride none Requi 阅读全文
posted @ 2019-05-13 16:07 Mr.peter 阅读(270) 评论(0) 推荐(0)
摘要: 此教程的作用:设置SSH只允许特定用户从特定的IP登录,其它未经允许的用户和IP都不能登录 示例1:只允许192.168.0.222登录192.168.1.81 # vim /etc/hosts.allow,最后一行加入: sshd:192.168.0.222:allow //多个IP可以按照此格式 阅读全文
posted @ 2019-05-11 10:59 Mr.peter 阅读(10296) 评论(0) 推荐(2)
摘要: 已经 find / -name httpd | xargs rm -rf删光了httpd相关文件,但是使用yum install httpd 无法正常安装。 查看Httpd的状态是 解决办法: yum erase httpd.x86_64 yum install httpd service http 阅读全文
posted @ 2019-05-09 16:19 Mr.peter 阅读(196) 评论(0) 推荐(0)
摘要: find / -name nginx | xargs rm -rf 阅读全文
posted @ 2019-05-09 11:37 Mr.peter 阅读(4099) 评论(0) 推荐(0)
摘要: 1、停止gitlab 2、卸载gitlab(注意这里写的是gitlab-ce) 3、查看gitlab进程 4、杀掉第一个进程(就是带有好多.............的进程) 杀掉后,在ps aux | grep gitlab确认一遍,还有没有gitlab的进程 5、删除所有包含gitlab文件 阅读全文
posted @ 2019-05-09 11:36 Mr.peter 阅读(12700) 评论(1) 推荐(1)
摘要: 解决办法1: 解决办法2: 原因剖析: DOS下文件和Linux下文件格式差异问题导致的。【在windows里,换行用的两个符号,回车\r,换行符号\n,在linux下只需一个符号\n就可以了.】 阅读全文
posted @ 2019-04-28 11:34 Mr.peter 阅读(207) 评论(0) 推荐(0)
上一页 1 ··· 63 64 65 66 67 68 69 70 71 ··· 108 下一页