問題1:安裝完沒有桌面系統(Gnome或KDE)
解答:安裝的時候,軟件選擇為最小安裝",更改該選擇
問題2:開機提示Initial setup of CentOS Linux 7 (core)
解答:
Initial setup of CentOS Linux 7 (core)
1) [x] Creat user 2) [!] License information
(no user will be created) (license not accepted)
Please make your choice from above ['q' to quit | 'c' to continue | 'r' to refresh]:
解決步驟如下:
1,輸入【1】,按Enter鍵閱讀許可協議,
2,輸入【2】,按Enter鍵接受許可協議,
3,輸入【q】,按Enter鍵退出,
4,輸入【yes】,按Enter鍵確定,
5,重啟之后即可進入圖形登錄界面
問題3:更改CentOS源
解答:
網易(163)yum源是國內最好的yum源之一 ,無論是速度還是軟件版本,都非常的不錯,將yum源設置為163yum,可以提升軟件包安裝和更新的速度,同時避免一些常見軟件版本無法找到。具體設置方法如下:
1,進入yum源配置目錄
cd /etc/yum.repos.d
2,備份系統自帶的yum源
mv CentOS-Base.repo CentOS-Base.repo.bk
下載163網易的yum源:
wget http://mirrors.163.com/.help/CentOS6-Base-163.repo
3,更新玩yum源后,執行下邊命令更新yum配置,使操作立即生效
yum makecache
4,除了網易之外,國內還有其他不錯的yum源,比如中科大和搜狐的,大家可以根據自己需求下載
中科大的yum源:
wget http://centos.ustc.edu.cn/CentOS-Base.repo
sohu的yum源
wget http://mirrors.sohu.com/help/CentOS-Base-sohu.repo
問題4:yum提示another app is currently holding the yum lock;waiting for it to exit
可能是系統自動升級正在運行,yum在鎖定狀態中。
可以通過強制關掉yum進程:
#rm -f /var/run/yum.pid
然后就可以使用yum了。
問題5:安裝VirtualBox增強功能失敗
需要根據提示的錯誤,安裝yum install kernel-devel gcc
然后運行./VBoxLinuxAdditions.run
最后reboot
問題6:修改默認Shell為Tcsh
使用chsh命令