![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
CENTOS
暖洋洋的空间
多年PHP网站开发经验,服务器架构部署,前端页面开发
展开
-
CENTOS 修改网络yum源
centos 6版本 以163为例 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.163.com/.help/CentOS6-Base-163.repo centos 5版本 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.163.com/.help/Cent原创 2017-07-06 17:17:53 · 407 阅读 · 0 评论 -
centos开启路由转发
开启路由转发 net.ipv4.ip_forward=1 net.ipv4.conf.all.rp_filter=0 net.ipv4.conf.default.rp_filter=0原创 2017-07-06 17:27:35 · 1211 阅读 · 0 评论 -
docker常用命令
(1)搜索可用的centos的docker镜像 docker search <image>:在docker index中搜索image docker search centos这样就可以搜索出在Docker Hub上所有带centos的公共的可用镜像(2)下载centos镜像(拉取镜像)docker pull centos:latest查看镜像 docker images:列...原创 2018-05-07 10:33:26 · 127 阅读 · 0 评论 -
centos查看内核版本 和 系统版本
1.centos查看系统版本cat /etc/redhat-releaseCentOS Linux release 7.2.1511 (Core)2.[root@localhost ~]# uname -aLinux localhost.localdomain 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 x86_64 x86_...原创 2018-05-07 10:39:33 · 1229 阅读 · 0 评论