摘要: 一、项目需求 1、 IP地址 主从说明 192.168.56.11 主 192.168.56.12 从 2、redis临听自己的ip地址,而不是0.0.0.0 3、节点安装说明 linux-node1: redis: 安装 配置 启动 linux-node2: redis: 安装 配置 启动 设置主 阅读全文
posted @ 2018-07-03 23:49 努力哥 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 一、linux中查找文件属于那个软件包的方法 [root@salt prod]# whereis htpasswdhtpasswd: /usr/bin/htpasswd /usr/share/man/man1/htpasswd.1.gz [root@salt prod]# rpm -qf /usr/ 阅读全文
posted @ 2018-07-03 21:57 努力哥 阅读(2142) 评论(0) 推荐(0) 编辑
摘要: 参考:http://httpd.apache.org/docs/2.0/howto/auth.html 1.使用apache自带的htpasswd创建密码文件; # htpasswd -c /home/lai/httpbasicpass admin 然后两次输入密码即可。 # more /home/ 阅读全文
posted @ 2018-07-03 21:54 努力哥 阅读(2755) 评论(0) 推荐(0) 编辑