This file contains hidden or 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
| -Navigate to /etc/apache2/sites-enabled | |
| -sudo vim into the default file (000-default) | |
| -Change DocumentRoot and second <Directory> path to the path where you want localhost to point to | |
| -sudo service apache2 restart | |
| -DONE! |
This file contains hidden or 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
| Fix 1 | |
| --------------------------------------------------- | |
| From time to time I'll get a clicking sound from my hard drive, I have identified it to be HDD head parking problem. The fix that has worked for me was the following: | |
| Temporary solution: sudo hdparm -B 255 /dev/sda | |
| sudo vim /etc/hdparm.conf | |
| Unfortunately after sleep or reboot the heads parking property resets back to default. I don't want to run this command every time so I came upon a fix in ArchLinux which put a bash script in a folder that executes everything in it on awake/power on. | |
| In Ubuntu 12.10 I placed my script in /etc/pm/power.d and /etc/pm/sleep.d |
NewerOlder