Changing the Owner of Your Docroot (LAMP)

In a LAMP server when you upload files in your htdocs folder using the root account the owner of the files is root and all other account wont be able to execute commands.  This is what I have encountered when I uploaded web application I just finished developing.  I have commands such as chmod in [...]

MySQL Reset Root Password

My friend forgot his mysql password and the database needs to be accessed by the root user.  My friend is running MySQL 5.1 and as I browsed the MySQL manual the solution provided is not working though a slight change was made.  Just like the provided step in the manual: Log on to your system [...]