วิธีการติดตั้ง VirtualBox บุคคลทั่วไปเพิ่มขึ้นใน Fedora 26
การติดตั้ง Virtualbox Guest Additions ช่วยให้สามารถรวมเมาส์ได้อย่างราบรื่นและอนุญาตให้ตั้งค่าความละเอียดเดสก์ท็อปที่สูงขึ้น. คุณสมบัติอื่น ๆ ได้แก่ โฟลเดอร์ที่ใช้ร่วมกัน, accelerated 3D graphics and 2D video, seamless windows, exchange data bit between guest and host, time sync., shared clipboards and automated logins.
Follow the steps to install VirtualBox Guest Additions on Fedora 26:
- Activate the root user
ของเขา
- Update to the latest kernel then restart
dnf update kernel* reboot - Select Install Guest Additions CD image… from the device drop down menu

Install VirtualBox Guest Additions CD image… เมนู - Mount the Guest Additions CD image
mkdir /media/vbga mount -r /dev/cdrom /media/vbga - Install the required dependencies
dnf install gcc kernel-devel kernel-headers dkms make bzip2 perl - Add the KERN_DIR environment variable
- Navigate to the kernels directory
cd /usr/src/kernels - List the contents of the kernels directory
LS
- Navigate to the directory with the latest version of the kernel
cd 4.12.13-300.fc26.x86_64 - Get the current working directory
pwd
- Create the environment variable path using the path from step 6D
export KERN_DIR={pwd path goes here}
ตัวอย่าง
export KERN_DIR=/usr/src/kernels/4.12.13-300.fc26.x86_64
- Navigate to the kernels directory
- Run the VirtualBox Guest Additions installation
/media/vbga/VBoxLinuxAdditions.run - Once the installation is complete reboot the system
reboot
VirtualBox Guest Additions should now be installed and working.
