基于centos7.4+virtualbox
2021-01-23 本文已影响0人
果果小姚
尝试安装vnc失败
yum install tigervnc-server -y
cp vncserver@.service vncserver@1.service
image.png
image.png
安装可视化桌面
yum groupinstall -y "GNOME Desktop"
1.下载virtualbox
wget https://download.virtualbox.org/virtualbox/6.1.16/VirtualBox-6.1-6.1.16_140961_el7-1.x86_64.rpm
2.进行安装
yum install VirtualBox-6.1-6.1.16_140961_el7-1.x86_64.rpm
image.png
image.png
3.yum -y install gcc make glibc kernel-headers kernel-devel dkms
image.png
yum -y update kernel
- yum install kernel-devel-3.10.0-693.el7.x86_64
image.png
5.wget ftp://ftp.pbone.net/mirror/ftp.scientificlinux.org/linux/scientific/7.0/x86_64/updates/security/kernel-devel-3.10.0-693.el7.x86_64.rpm
6.yum install kernel-devel-(uname -r);
image.png
7.wget http://rpm.pbone.net/resultsb_dist_94_size_6247648_name_kernel-headers-3.10.0-693.el7.x86_64.rpm
image.png -
rpm -ivh kernel-headers-3.10.0-693.el7.x86_64.rpm
image.png