
redhat7
陈sir的知识图谱
这个作者很懒,什么都没留下…
展开
-
centos 7 搭建ntp 服务器
restrict 192.168.1.0 netmask 255.255.255.0 nomodify notrap第一步 安装ntpyum install ntp第二步,查找最近的时间同步服务器http://www.pool.ntp.org/zone/asia第三部编辑 /etc/ntp.confserver 127.127.1.0 ibu原创 2015-02-06 11:17:03 · 6037 阅读 · 0 评论 -
redhat7 使用163 yum源 以及 epel源
1.首先删除redhat原有的yum ,因为redhat 原本的yum 没有注册为redhat用户是用不了的。rpm -aq|grep yum|xargs rpm -e --nodeps 2下载163的yum 安装包wget http://mirrors.163.com/centos/7.0.1406/os/x86_64/Packages/python-iniparse-0原创 2014-12-31 19:16:40 · 15284 阅读 · 0 评论 -
redhat7 禁用ip6
在文件中写入一下内容 /etc/sysctl.conf:net.ipv6.conf.all.disable_ipv6 = 1net.ipv6.conf.default.disable_ipv6 = 1在运行中的机器中禁用ip6echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6echo 1 > /proc/sys/net/ip翻译 2014-12-31 19:28:19 · 1509 阅读 · 0 评论 -
redhat7 centos7 关闭SELinux和防火墙的办法
Redhat使用了SELinux来增强安全,关闭的办法为:1. 永久有效修改 /etc/selinux/config 文件中的 SELINUX="" 为 disabled ,然后重启。2. 即时生效setenforce 0关闭防火墙的方法为:1. 永久性生效开启:chkconfig iptables on 关闭:chkco转载 2015-01-02 14:10:31 · 23423 阅读 · 0 评论 -
Failed to start LSB: Bring up/down networking
执行 service network restart 出现以下错误Restarting network (via systemctl): Job for network.service failed. See 'systemctl status network.service' and 'journalctl -xn' for details.2、根据上面的提示,执行“systemc转载 2015-02-19 14:11:53 · 3357 阅读 · 1 评论 -
fedora/centos7防火墙FirewallD详解
1 使用 FirewallD 构建动态防火墙1.1 “守护进程”1.2 静态防火墙(system-config-firewall/lokkit)1.3 使用 iptables 和 ip6tables 的静态防火墙规则1.4 什么是区域?1.4.1 预定义的服务1.4.2 端口和协议1.4.3 ICMP 阻塞1.4.4 伪装转载 2015-02-16 20:33:26 · 1068 阅读 · 0 评论 -
设置网卡混杂模式
方法一:[html] view plaincopy~$ sudo ifconfig eth1 promisc # 设置混杂模式 ~$ sudo ifconfig eth1 -promisc 方法二:[html] view plaincopy~$ s转载 2015-02-16 20:14:21 · 3486 阅读 · 0 评论