If you followed the VirtualBox VM creation guide, your next step is to start the VM and get CentOS installed.
The first step here is to select your vm and click start. When the machine starts, it should bring up a startup disk screen that looks like this:
Click the folder button with the green icon and navigate to your CentOS image.
With your new CentOS image selected, click Start
Once the machine comes up, you should see 3 options, move the selection up to Install CentOS 7 and press enter
Choose your language and click Continue
On the main menu, click Installation Destination:
Click "I will configure partitioning".
Then click Done
Click “Create here to create them automatically”
Resive the home partition to about 20GB
and then resize the / partition to take the rest of the space
Click done and then confirm the changes by clicking “Accept changes” in the dialog
Back at the main menu, click “Network & Host Name”
In the Network menu, click the first adapter (enp0s3) and ensure it’s turned on. You should see an IP address similar to what is shown below:
Next, click the second adapter(enp0s8) and turn this one on. You will see it has an IP address, but that may not be consistent, so we’re going to configure this to a static address.
Click configure and then click IPv4 Settings and ensure they match the screenshot below:
Click save, and then click done.
Click begin installation.
Click root password and ensure you set a root password you will remember as this is what you will use to manage your machine
DO NOT CREATE A LOCAL USER
Once your machine finishes installation and reboots, verify you can connect to it by running:
ping 192.168.56.101
If you get a response, your network is working as intended and you should be all set.
The final thing you will need to do is add a few firewall rules
firewall-cmd --zone=public --permanent --add-service=http firewall-cmd --zone=public --permanent --add-service=https firewall-cmd --zone=public --permanent --add-service=samba service firewalld restart |
With that complete, your CentOS box is ready and you can continue with the rest of the project setup Magento Development Environment Setup
Enjoy your new base CentOS box