随笔分类 -  centos

该文被密码保护。
posted @ 2019-09-06 18:54 *蓄势待发* 阅读(4) 评论(0) 推荐(0)
摘要:1、下载源代码 http://code.google.com/p/redis/downloads/list http://code.google.com/p/redis/downloads/list 下载redis-1.2.6.tar.gz 将下载包拷贝到/usr/local/webserver/r 阅读全文
posted @ 2019-07-31 17:06 *蓄势待发* 阅读(211) 评论(0) 推荐(0)
摘要:grant all privileges on *.* to 'root'@'ip地址' identified by '密码'; 指定某台主机可用某个用户和密码 访问该数据库服务器。 阅读全文
posted @ 2019-07-31 00:00 *蓄势待发* 阅读(130) 评论(0) 推荐(0)
摘要:一、防火墙的开启、关闭、禁用命令 (1)设置开机启用防火墙:systemctl enable firewalld.service (2)设置开机禁用防火墙:systemctl disable firewalld.service (3)启动防火墙:systemctl start firewalld ( 阅读全文
posted @ 2019-07-29 18:04 *蓄势待发* 阅读(136) 评论(0) 推荐(0)
摘要:1、查看防火墙中开放端口 sudo iptables -L -n 开放端口 有两种方法 第一种 :编辑iptables 文件 eg: sudo vi /etc/sysconfig/iptables 添加需要开放的端口 eg: -A INPUT -m state –state NEW -m tcp - 阅读全文
posted @ 2019-07-29 18:02 *蓄势待发* 阅读(199) 评论(0) 推荐(0)