轉自 http://wlheihei.com/view/64 [root@51ou.com yum.repos.d]# yum install nginxLoaded plugins: fastestmirror, priorities, refresh-packagekit ...
CentOS 源 vi etc yum.repos.d nginx.repo nginx name nginx repobaseurl http: nginx.org packages centos basearch gpgcheck enabled CentOS 源 vi etc yum.repos.d nginx.repo nginx name nginx repobaseurl http: ...
2021-03-08 16:50 1 279 推薦指數:
轉自 http://wlheihei.com/view/64 [root@51ou.com yum.repos.d]# yum install nginxLoaded plugins: fastestmirror, priorities, refresh-packagekit ...
這里以安裝阿里的yum源為例: 1.查看自己的centos版本 cat /etc/redhat-release 2.進入阿里雲源站地址:http://mirrors.aliyun.com/centos,找到自己虛擬機的版本 3.下載相應的yum包 ...
[root@xuegod60 ~]# yum clean all Loaded plugins: product-id, refresh-packagekit, security, subscription-managerThis system is not registered to Red ...
前幾天在公司centos6生產機器,准備yum 裝一個lsof插件給開發使用,發現提示報錯 查了下centos社區,發現是2020年11月30日開始 centos6各大開源鏡像站已經停止維護了 但是測試了一下發現阿里源鏡像repo還是可以用的 因為他的centos-vault倉庫里放了之前 ...
Loaded plugins: fastestmirror, refresh-packagekit, securityLoading mirror speeds from cached hostfil ...
2021年 centos官網和阿里雲之類的源把 centos 7之前的都給刪除了。以下方法解決 wget -O /etc/yum.repos.d/CentOS-Base.repo http://file.kangle.odata.cc/repo/Centos-6.repo wget -O ...
Nginx 出現 403 Forbidden 最終解決 步驟一: 檢查目錄權限。權限不足的就加個權限吧。 例子:chmod -R 755 / var/www 步驟二: 打開nginx.conf 例子:vim /etc/nginx/nginx.conf 把 user 用戶名 改為 ...
yum報錯如下 [root@java152 ~]# yum makecache已加載插件:fastestmirrorLoading mirror speeds from cached hostfile * base: mirrors.cloud.aliyuncs.com * extras ...