Setting up my second virtual web server on my laptop.
I wanted to check if my programs run on PHP 5.x and 7.x, and I didn't want to change the configuration of my laptop. This is the reason I decided to install XAMPP on a Linux (CentOS6.9) virtual machine.
In order to enable IP connection between my laptop and the virtual machine, I prepared an additional virtual network card with host only adapter. With this interface it connect to VirtualBox Host-Only Ethernet Adapter I had set up when setting up my first virtual web server on my laptop.
The first network interface was left "NAT" to connect to the Internet in order to download the XAMPP installer.
As for installing XAMPP on a Linux machine, I have hard time with find the download path of the installer suitable to 32bit version.
In order to enable the access to the virtual server from a web browser, I have to set up SELinux and iptables. Iptables setup I had done in my first server setup, but didn't very well remember. I used -A (--append) instead of -I (--insert) with line number.
I wanted to check if my programs run on PHP 5.x and 7.x, and I didn't want to change the configuration of my laptop. This is the reason I decided to install XAMPP on a Linux (CentOS6.9) virtual machine.
In order to enable IP connection between my laptop and the virtual machine, I prepared an additional virtual network card with host only adapter. With this interface it connect to VirtualBox Host-Only Ethernet Adapter I had set up when setting up my first virtual web server on my laptop.
The first network interface was left "NAT" to connect to the Internet in order to download the XAMPP installer.
As for installing XAMPP on a Linux machine, I have hard time with find the download path of the installer suitable to 32bit version.
In order to enable the access to the virtual server from a web browser, I have to set up SELinux and iptables. Iptables setup I had done in my first server setup, but didn't very well remember. I used -A (--append) instead of -I (--insert) with line number.
Comments
Post a Comment