华为路由器交换机配置命令:计算机命令 PCAlogin:root;使用root用户 password:linux;口令是linux #shutdown-hnow;关机 #init0;关机 #logout;用户注销 #login;用户登录 #ifconfig;显示IP地址 #ifconfigeth0n ...
分类:
其他好文 时间:
2017-05-29 11:11:00
阅读次数:
293
1、firewalld的基本使用 启动: systemctl start firewalld 查看状态: systemctl status firewalld 停止: systemctl disable firewalld 禁用: systemctl stop firewalld 2.systemc ...
分类:
其他好文 时间:
2017-05-27 13:25:09
阅读次数:
173
1、firewalld的基本使用 启动: systemctl start firewalld 查看状态: systemctl status firewalld 停止: systemctl disable firewalld 禁用: systemctl stop firewalld 2.systemc ...
分类:
其他好文 时间:
2017-05-17 21:09:07
阅读次数:
373
之前用的iptables来管理的防火墙,后来发现centOS7.0中已经用firewalld取代iptables了,于是与时俱进,停用了iptables。 然后来启动firewalld吧 给我报了这个错 Failed to start firewalld.service: Unit firewall ...
分类:
其他好文 时间:
2017-05-15 18:22:42
阅读次数:
310
关闭selinux和iptables:setenforce 0 iptables -Fiptables -t nat -Fsystemctl stop firewalldsystemctl disable firewalld systemctl stop NetworkManagersystemct ...
分类:
系统相关 时间:
2017-05-14 12:25:39
阅读次数:
165
windows下用boot2docker有点不爽,就是网卡识别不好。 还是用纯的virtualbox建centos7虚拟机来搞, 一下就OK。 但记得,要用Iptables来弄墙,去掉firewalld(要在安装docker之前操作) 然后,一键安装shipyard,连swarm都ok啦。 当然,这 ...
分类:
其他好文 时间:
2017-05-14 00:53:15
阅读次数:
266
centos7基础文档三一.处理运行时的区域运行时模式下对区域进行的修改不是永久有效的,重新加载之后修改就会失效了;1启用区域中的一种服务即给某个区域开机某个服务firewall-cmc--zone=区域名称--add-service=服务名称2禁用区域中的某个服务即关闭某个服务此操作禁用区域中的某..
分类:
其他好文 时间:
2017-05-11 22:38:33
阅读次数:
4082
编者按: 对于使用了centos6系列系统N年的运维来说,在使用centos7的时候难免会遇到各种不适应。比如防火墙问题。本文主要记录怎么关闭默认的firewalld防火墙,重新启用iptables。 1.关闭firewalld防火墙 2.安装iptables 3.设置开机启动 注意: ...
分类:
其他好文 时间:
2017-05-09 12:32:39
阅读次数:
141
一、网卡配置:查看网卡服务状态systemctlstatusNetworkManager.service查看网卡连接状态nmclidevstatus配置IP,修改配置文件后,重启NetworkManager.service服务systemctlrestartNetworkManager.service二、防火墙firewalld配置查看防火墙状态:systemctlstatusfirewalld查看..
分类:
其他好文 时间:
2017-05-08 18:48:46
阅读次数:
262
公司一批PC机需要安装多个虚拟机跑任务,搞来搞去决定用centos7安装KVM来跑。于是先折腾了一下午,利用早先搭建好的cobbler给PC机安装OS。然后fabric批量部署。 环境:centos7 gnom桌面 关闭了SELINUX,FIREWALLD. 工具:fabric 虚拟机:nat模式 ... ...
分类:
其他好文 时间:
2017-05-08 16:55:13
阅读次数:
262