摘要: runlevel 查看当前运行级别 cat /etc/inittab 可以查看7个运行级别 init 6 == reboot == shuttdown -r now 都是表示重启的命令 LANG=en 改变当前环境变量 yum grouplist yum groupinstall -y "Deskt 阅读全文
posted @ 2018-04-09 22:15 Choice_Than_to 阅读(596) 评论(0) 推荐(0) 编辑
摘要: 1、创建目录2、创建一个文件3、给目录和文件授权4、关闭防火墙5、然后才可以登录。 阅读全文
posted @ 2018-04-09 21:19 Choice_Than_to 阅读(197) 评论(0) 推荐(0) 编辑
摘要: The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try t 阅读全文
posted @ 2018-04-09 20:54 Choice_Than_to 阅读(889) 评论(0) 推荐(0) 编辑
摘要: 标签:services command please enable status 在centos7中用iptables命令配置完策略规则后,需要保存策略永久生效,执行service iptables save时提示: 的错误信息。 解决方法: 先执行如下命令: systemctl stop fire 阅读全文
posted @ 2018-04-09 20:41 Choice_Than_to 阅读(162) 评论(0) 推荐(0) 编辑