This will include some notes on Debian server admin and maintenance.
I’ve not filled this area in yet, but this system monitor application and script dropped into my inbox:
Just the little things that I keep forgetting:
Use mod deflate to reduce the bandwidth used, check the Apache docs, but this site on web performance is easier to understand.
From this thread, the steps are:
- apt-get install mrtg
- take this guys mrtg.cfg
- then all you do is add a cron job to run (/usr/bin/mrtg /etc/mrtg.cfg) every 5 mins
mrtg.cfg and the system script, generates what is needed
Setting up modern LAMP on Debian
Setting up a LAMP server on Debian Sarge, with Apache2, PHP5, MySQL5, phpMyAdmin, Smarty, and ADODB. It covers installation and just enough sample code to test everything. Not strictly the ‘Debian way’, but close.
MySQL Presentations: Optimizing MySQL.
Useful tip from a friend, set the permissions to yourself as owner, and www-data as the group:
/home/username/public_html/# chown -R username:www-data ./
Then set the permissions to 2750, which allows you full access, the server read access, and uploading to the directory will set the group as www-data:
/home/username/public_html/# chmod -R 2750 *
You may then have to give www-data write access to folders like wp-content for the caching and file uploads.