How to auto mount your VirtualBox shared folder to /var/www/

You need to have the Guest Additions installed first, then you can setup a shared folder in the settings, let’s say Websites and mount it to /var/www/html/. Then, inside the virtual machine, add that shared folder Websites to the fstab by adding the line Websites /var/www/html vboxsf rw,uid=33,gid=33 0 0 and giving the right permissions. …

Linux Mint 17: Install php_oci

Quick cooking recipe to install PHP oci8 on Linux Mint 17 / 18. Download the Instant Client from the Oracle Website and follow the instructions at the bottom of the download page. Download the Instant Client SDK from the same location, unpack it and move the SDK folder to the same folder where the Instant …

Linux beginners trick: mount root shell to read-write

If your Linux (Mint) fails to boot because you broke the /etc/fstab, for example, you’ll end up with a ready only root shell. The trick is to mount the root partition to as read-write without actually unmounting it: # mount -o remount,rw / After doing that, you wil be able to edit /etc/fstab, correct the …