My latest post was about Apricity OS. This OS continue to surprise me with its ‘archlinux’ blood 🙂 . Getting new update every day is good for my general requirement but not suitable for my job in programming. I need php environment that stable and also support all old php version that our team ever made (I can share it to my team easily).
In short I need mutiple php support with these requirements :
- Minimum dependency
- Using Ubuntu or CentOS
- I can code in Apricity OS and see the result in other machine (point 2).
All those factors fit with Virtualbox. I just need to install Virtualbox (I use version 5.0.16) in Apricity (host) and install Ubuntu LTS (14.04 or 16.04) as guest.
Setting VirtualBox Guest in Apricity OS
VirtualBox already installed in last post. The plan for VirtualBox new guest :
- Set 2 card for NAT and Host Only
- Create fix hard disk with VDI type (50GB)
- Use Ubuntu server 14.04 LTS (32 bit for lower resource).
- 1 GB memory assignment
Picture of 2 card on VirtualBox
Adapter 1 -> NAT
Adapter 2 -> Host Only
Screenshot of Fixed HD that much faster that dynamic one.
How to add Host-Only Networks
My VirtualBox don’t have host only network by default. I have to add it manually.
Open VirtualBox then Click
File -> Preferences -> Network
Choose Host-Only Networks.
Click + to add new one.
How to remote Ubuntu guest from Apricity OS
Copy and paste method preferred 🙂 . I use port forward port facility that exist on VirtualBox.
Click on Adapter 1
Add port 2222 as source and port 22 as target. This setting will be useful for access Ubuntu server remotely.
Port 8080 for mapping request to port 80 (web server).
Mounting Ubuntu Server 14.04 iso as seen on the image.
At this stage Ubuntu server guest ready to install. Next post is about instalation process.