Ebook123

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

随笔分类 -  linux

Centos7 repo源更换为阿里源
摘要:1、备份源 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2、下载新的 CentOS-Base.repo 到 /etc/yum.repos.d/ wget -O /etc/yum.repos 阅读全文

posted @ 2021-07-18 23:44 Ebook123 阅读(688) 评论(0) 推荐(0) 编辑

centos服务器禁ping
摘要:Linux默认是允许Ping响应的,系统是否允许Ping由2个因素决定的:A、内核参数,B、防火墙,需要2个因素同时允许才能允许Ping,2个因素有任意一个禁Ping就无法Ping。 具体的配置方法如下: A、内核参数设置 1、允许PING设置 A.临时允许PING操作的命令为:#echo 0 >/ 阅读全文

posted @ 2021-04-28 22:51 Ebook123 阅读(194) 评论(0) 推荐(0) 编辑

Centos6 repo源更换为搜狐源
摘要:/etc/yum.repos.d/CentOS-Souhu-Base.repo [base]name=CentOS-\$releasever - Basebaseurl=http://mirrors.sohu.com/centos/\$releasever/os/\$basearch/gpgchec 阅读全文

posted @ 2021-04-13 14:55 Ebook123 阅读(543) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示