Setting New PHP Development with Apricity OS & VirtualBox : Part 1 – Setting VirtualBox

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 :

  1. Minimum dependency
  2. Using Ubuntu or CentOS
  3. 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 :

  1. Set 2 card for NAT and Host Only
  2. Create fix hard disk with VDI type (50GB)
  3. Use Ubuntu server 14.04 LTS (32 bit for lower resource).
  4. 1 GB memory assignment

Picture of 2 card on VirtualBox


Adapter 1 -> NAT Continue reading

Apricity OS : Disappointing Me

My Peppermint OS 5 seem to let me behind with latest trend. Even I can install Sigil but it’s not latest one because of LTS stuff (yes, Sigil requires Qt >= 5.4 available in Ubuntu 15.10). I also can not introduce Krita for my daughter (its installed but crash). Obviously a lot of fun things I got with Peppermint OS 5 like setting brightness, set Team viewer 10 for remote my wife laptop. Use Xampp for Phalcon PHP backup. Learn Corona SDK a bit before switch to Ionic.

While latest Ubuntu will be out this April I actually will ignore it till 2019  but I can’t 🙂 . This LTS (Xenial  Xerus) hard to refuse but I need it to follow latest trend). During waiting period I think I’ll use Elementary OS. I download and play with it  and I love it until my friend came and told me about his arch linux box. I already knew that name from long time ago while I still working with FreeBSD server but I have no idea until I see it myself.

Apricity OS

Being afraid of new challenge that I might see with arch linux I decide to look for beginner friendly distro that use arch linux as basis. Manjaro, Antergos are nice but I see other one called Apricity OS. Its GUI approach is really good and force me to end my waiting period for Ubuntu LTS after test it 2 days with virtualbox. Continue reading

Quick update youtube-dl through pip

I use youtube-dl for download video from youtube. This program is very straightforward and came with plenty of options. One day I got error message that start with ‘encrypted signature’ . After look around I was told to upgrade my youtube-dl into latest version.

$ sudo dpkg –get-selections | grep youtube
youtube-dl                    install


Since I use pip for install this software then pip install –upgrade is come to rescue.

$ sudo pip install –upgrade youtube_dl
Downloading/unpacking youtube-dl from
  Downloading youtube_dl-2015.09.22-py2.py3-none-any.whl (1.0MB): 1.0MB downloaded
Installing collected packages: youtube-dl
  Found existing installation: youtube-dl 2014.02.17
    Not uninstalling youtube-dl at /usr/lib/python2.7/dist-packages, owned by OS
Successfully installed youtube-dl
Cleaning up…

$ youtube-dl –version

Don’t update my resolv.conf

Yesterday my cousin borrow my laptop. Using guess account on my peppermint OS 5 He surf many site without hassle. This morning I got problem with dns. I see many messages around ‘dns probe no internet’ . I guess my cousin doing something with laptop but when I see my dig result i got nothing.

Try cat /etc/resolv.conf I see no nameserver beside which is common . I decide to add more entry :

# cat /etc/resolv.conf

# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)

save the file.

# resolvconf -d IFACE wlan0 --disable-updates


How to Permanently adjust screen brightness in Peppermint OS 5

My Dell laptop that running Peppermint OS 5 getting better each day. It can detect my wifi card and purge old one and that feature brought my brother in after frustrated for days with his Windows.

Another thing that I realize still need some work is brightness level. I must adjust brightness every time I restart my computer.

My current setting

$ cat /sys/class/backlight/acpi_video0/max_brightness
$ cat /sys/class/backlight/acpi_video0/actual_brightness

Yes, 6 is my preference level.

After look around I got the solution :

sudo add-apt-repository ppa:nrbrtx/sysvinit-backlight
sudo apt-get update
sudo apt-get install sysvinit-backlight

To check current brightness level using this script :

$ sudo service sysvinit-backlight status
Current brightness level for acpi_video0 = 6
Current brightness level for intel_backlight = 55

Well, good guess 🙂

Permanently save setting :

$ sudo service sysvinit-backlight stop
Saving acpi_video0 = 6
Saving intel_backlight = 55


Try restart my computer and it work perfectly 🙂