VirtualBox安裝CentOS加強工具

在VirtualBox裏安裝CentOS系統,會遇到加強工具沒法正常安裝,[Building the main Guest Additions module]主要的緣由是出在Kernal 庫找不到。centos

安裝 gcc g++ 編譯器,安裝內核Kernal庫工具

  • yum install gcc-g++
  • yum install kernel

重啓,再安裝.還不行. 繼續執行ui

  • yum install kernel-devel

還不行centos7

  • yum update kernel

===================== vi /etc/sysconfig/networkorm

===================================== 若是是centos7沒這問題. 虛擬機裝了以後,第一次啓動 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」,按Enter鍵 輸入「2」,按Enter鍵 輸入「q",按Enter鍵 輸入「yes」,按Enter鍵
相關文章
相關標籤/搜索