摘要: 操作部署某个环境的时候使用的是CentOS7版本,然后在需要启动httpd服务的时候惯性的使用service httpd start命令,但是提示有"/bin/systemctl start httpd.service"问题。看来系统变动之后一些操作命令还是有些变化的。 当然,为了兼容性,我们原来习 阅读全文
posted @ 2019-06-19 21:34 无聊的菜鸟 阅读(6124) 评论(0) 推荐(0) 编辑
摘要: 原文:https://blog.csdn.net/achang21/article/details/52538049 使用方法如下: >>> 关闭防火墙 systemctl stop firewalld.service #停止firewall systemctl disable firewalld. 阅读全文
posted @ 2019-06-19 21:27 无聊的菜鸟 阅读(2972) 评论(1) 推荐(0) 编辑
摘要: yum search ifconfig 通过yum search 这个命令我们发现ifconfig这个命令是在net-tools.x86_64这个包里,接下来我们安装这个包就行了 运行 yum install net-tools 就OK了 阅读全文
posted @ 2019-06-19 21:26 无聊的菜鸟 阅读(9990) 评论(2) 推荐(0) 编辑
摘要: [1] 首先备份 [2] 进入yum源配置文件所在文件夹 [3] 下载163的yum源配置文件,放入/etc/yum.repos.d/(操作前请做好相应备份) (CentOS 5 CentOS 6 CentOS 7 [4] 运行yum makecache生成缓存 [5] 更新系统 [6] 安装vim 阅读全文
posted @ 2019-06-19 21:17 无聊的菜鸟 阅读(7220) 评论(0) 推荐(0) 编辑
CopyRight 2020-2021