Install VirtualBox on Centos 6 / 7 Rumi, September 6, 2019 Step 1 – Add Required Yum Repositories Firstly you are required to add VirtualBox yum repository in your system. Download repository file from its official site and place it under at /etc/yum.repos.d/virtualbox.repo .First navigate to /etc/yum.repos.d/ directory and use one of below commands as per your operating system. cd /etc/yum.repos.d/ wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo The CentOS and RedHat users also required to add EPEL yum repository using one of the following commands. ### On CentOS/RHEL 7 ### rpm -Uvh http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm ### On CentOS/RHEL 6 ### rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm Step 2 – Install Required Packages Before installing VirtualBox make sure to install all required packages to run VirtualBox like kernel-headers, kernel-devels etc. Use the following command to install the required packages. yum install gcc make patch dkms qt libgomp yum install kernel-headers kernel-devel fontforge binutils glibc-headers glibc-devel After installing latest kernel and kernel headers, let’s reboot your system and start with Latest kernel. reboot Step 3 – Setup Environment Variable VirtualBox installation required kernel source code to install required modules, So we need to configure environment variable KERN_DIR to which VirtualBox get kernel source code. In my case latest kernel source is available in 2.6.32-504.3.3.el6.x86_64 directory under /usr/src/kernels/ . Make sure you are using correct source path. export KERN_DIR=/usr/src/kernels/`uname -r` Step 4 – Install Oracle VirtualBox and Setup Use the following command to install VirtualBox using the yum command line tool. It will install the latest version of VirtualBox 5.2 on your system. yum install VirtualBox-6.0 After installation, we need to rebuild kernel modules using the following command. service vboxdrv setup Step 5 – Launch VirtualBox Use following command to start VirtualBox from X windows. You can switch to GUI mode using init 5 or startx commands from terminal. virtualbox Related Administrations Configurations (Windows) Virtualbox Virtualization CentOSCentOS 6CentOS 7virtualbox
Reboot Windows 10 using RDP March 26, 2022 This article is for sysadmins who know better, wanting to Shut down or Restart (or even enter Sleep) over RDP anyway. Using Command Prompt Open a Command Prompt a. To initiate a Shut down, type: shutdown /s /t 0 then press Enter Related Read More
How to upgrade PHP 5.2 Centos April 27, 2011September 5, 2017 Method-1 This guide describes how to upgrade the standard PHP 5.1.x packages in CentOS 5.x 32-bit to the current development versions 5.2.x. These instructions were created using CentOS 5.3 32-bit and with the following PHP packages installed: # rpm -qa |grep php php-common-5.1.6-15.el5.i386 php-cli-5.1.6-15.el5.i386 php-5.1.6-15.el5.i386 php-pdo-5.1.6-15.el5.i386 php-bcmath-5.1.6-15.el5.i386 php-ldap-5.1.6-15.el5.i386 php-devel-5.1.6-15.el5.i386 php-gd-5.1.6-15.el5.i386… Read More
MySQL Master-Master Replication October 26, 2014October 26, 2014 This article is about setting up MySQL Master-Master database replication between two Cloud Servers. Master-Master data replication allows for replicated data, stored on multiple computers, to be updated by any authorized contributing member of the group. This allows for more open collaboration than Master-Slave replication where any needed changes identified… Read More