This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AuthName "Secure Area" | |
AuthType Basic | |
AuthUserFile /home/adidac/.htpasswd | |
require valid-user |