摘要: CentOS7 (精简操作指令) http://www.centoscn.com/CentOS/help/2016/0429/7147.html 阅读全文
posted @ 2016-11-11 21:07 快乐无限 阅读(195) 评论(0) 推荐(0) 编辑
摘要: use ss-local,and install by source code . NOT ss-server, for I only what to visit other websites, not supply socket service. get source code,and make 阅读全文
posted @ 2016-11-11 20:17 快乐无限 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 在centos 7下启用iptables systemctl stop firewalld.service systemctl disable firewalld.service yum install iptables-services -y systemctl enable iptablessy 阅读全文
posted @ 2016-11-11 10:47 快乐无限 阅读(7321) 评论(0) 推荐(0) 编辑
摘要: 禁用IPv6 后影响邮件发送设置 vim /etc/postfix/main.cf 阅读全文
posted @ 2016-11-10 16:46 快乐无限 阅读(2908) 评论(0) 推荐(0) 编辑
摘要: 【解决:修改此服务的启动状态】 cp /usr/lib/systemd/system/rngd.service /etc/systemd/system vim /etc/systemd/system/rngd.service systemctl daemon-reload 【参考:】 [彻底找到 T 阅读全文
posted @ 2016-11-10 15:07 快乐无限 阅读(6098) 评论(0) 推荐(0) 编辑
摘要: centos -- how to add a new disk into a mdadm raid5 /dev/md0 which lost a /dev/sdc1 disk and revoery at another machine? we build a /dev/md0 on a Unite 阅读全文
posted @ 2016-11-10 11:52 快乐无限 阅读(1550) 评论(1) 推荐(0) 编辑
摘要: systemctl list-units --type=service #查看所有已启动的服务 systemctl enable httpd.service #加入开机自启动服务 systemctl enable rsyncd.service #同步数据的服务 2、开机后执行自定义脚本 1)编辑自启 阅读全文
posted @ 2016-11-07 12:12 快乐无限 阅读(8638) 评论(0) 推荐(0) 编辑
摘要: 新服务器,4块3T大硬盘,软Raid5 组建 加上LVM分区各种一通操作。。。 悲催的是经过4天的软raid rebuild,最终状态给我FAIL了,当看到raid的state【 State : clean, FAILED】,欲哭无泪说的就是me当时的心情了。 更悲催的是一通mdadm remove 阅读全文
posted @ 2016-11-04 20:23 快乐无限 阅读(1609) 评论(0) 推荐(0) 编辑
摘要: 一、开机自启动服务列表 #开机自启动 apache服务 systemctl enable httpd.service #开机自启动iptables服务 systemctl enable iptables.service 阅读全文
posted @ 2016-11-04 16:48 快乐无限 阅读(1103) 评论(0) 推荐(0) 编辑
摘要: 1、先确认ipv4配置了转发设置 vim /etc/sysctl.conf #命令1(编辑配置文件) net.ipv4.ip_forward=1 # 设置转发 sysctl –p 2、配置转发(使用iptables命令) iptables -t nat -A PREROUTING -p tcp -- 阅读全文
posted @ 2016-11-04 14:26 快乐无限 阅读(16500) 评论(0) 推荐(0) 编辑