Linux常見問題解決

2021-09-07 02:14:57 字數 581 閱讀 3324

1 this system is not registered with rhn

紅帽中出現this system is not registered with rhn這個的原因是因為紅帽中沒有註冊rhn。解決辦法:(假定你已安裝yum,且網路暢通)更改yum的源,即更換/etc/yum.repos.d /rhel-debuginfo.repo 這個檔案。進入/etc/yum.repos.d/目錄,終端中輸入wget 即可在此目錄下得到centos- base.repo檔案,這是centos的原始檔,只需將其重新命名為rhel-debuginfo.repo即可,以前的檔案做個備份。

2 無法上網問題

3 wget: unable to resolve host address的解決方法

解決辦法:

登入root(vps)。

進入/etc/resolv.conf。

修改內容為下

nameserver 8.8.8.8 #google網域名稱伺服器

nameserver 8.8.4.4 #google網域名稱伺服器

vi /etc/resolv.conf

cat /etc/resolv.conf

Linux 常見問題解決

人在逆境時,韜光養晦。走出困境時,便能光芒萬丈。sudo apt get y auto remove purge unity unity 2d sudo apt get y purge empathy sudo apt get y purge nautilus sendto empathy sudo...

ubuntu常見問題解決

1.錯誤現象 e 無法獲得鎖 var lib dpkg lock open 11 資源臨時不可用 e 無法對管理目錄 var lib dpkg 加鎖,是不是另乙個包管理程式在使用它?無法執行其他apt get命令 解決辦法 第一種 比較暴力 把lock的檔案強行刪掉,解決問題 sudo rm var...

centos常見問題解決

1.執行yum命令時,能連線到網路,但報錯try again 有http 404,這個可能是你的centos版本過低,已經停更 2.連線不到網路 1 先cd etc sysconfig network scripts 再ls一下找到 ifcfg e 數字 有的版本e後邊的字母不一樣數字是不一樣的 這...