Skip to content

Instantly share code, notes, and snippets.

View biswarupadhikari's full-sized avatar

Biswarup Adhikari biswarupadhikari

View GitHub Profile
biswarupadhikari /
Created January 30, 2013 03:30
Kernel driver not installed (rc=-1908).The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing
#sudo apt-get install linux-headers-3.5.0-21-generic
sudo apt-get install linux-headers-$(uname -r)
sudo apt-get remove virtualbox-dkms
sudo apt-get install virtualbox-dkms
biswarupadhikari / gist:4213130
Created December 5, 2012 06:47
LAMP /var/www/ Permission Setup Ubuntu Localhost
let say your username is adidac
$ sudo add user adidac www-data
$ sudo chown -R www-data:www-data /var/www/
$ sudo chmod -R g+rw /var/www/
biswarupadhikari / .htaccess
Created November 1, 2012 12:48
How to Password Protect Directory Usiing .htaccess file
AuthName "Secure Area"
AuthType Basic
AuthUserFile /home/adidac/.htpasswd
require valid-user