Ryen's Blog

知识就是力量

Centos8设置代理上网

假设我们要设置代理为 IP:PORT 1**、网页上网** 网页上网设置代理很简单,在firefox浏览器下 Edit–»Preferences–»Advanced–»Network 在Connection下点击Sett

CentOS8配置yum源

仅适用于Centos8 cd /etc/yum.repos.d/ 备份 cp CentOS-Linux-AppStream.repo CentOS-Linux-AppStream.repo-bak cp CentOS-Linux-BaseOS.repo CentOS-Linux-BaseOS.repo-bak cp CentOS-Linux-Extras.repo CentOS-Linux-Extras.repo-bak 3.编辑各个文件内容 [AppStream] name=CentOS-$releasever - AppStream mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=AppStream&infra=$infra baseurl=https://mirrors.aliyun.com/centos/$releasever/AppStream/$basearch/os/ gpgcheck=1 enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial [BaseOS] name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=BaseOS&infra=$infra baseurl=https://mirrors.aliyun.com/centos/$releasever/BaseOS/$basearch/os/ gpgcheck=1 enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial [Extras] name=CentOS-$releasever - Extras mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra baseurl=https://mirrors.aliyun.com/centos/$releasever/extras/$basearch/os/ gpgcheck=1 enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial 4.reboot重