Checking Disk Space

Use either command:

DNS

Check Log Messages on the Mail Server

Show Deleted Files

Checking Memory

Use either command:

Checking Directory Size

Tip:   check /var/lib/psa/dumps directory if you are using Plesk. That Plesk dumps aren’t filling up the drive

Checking Processes

Use either command:

Restart Apache / MySql

Tip: If you have change the Apache configuration it’s always best to use the command
/etc/init.d/apache2 configtest to check before restart for any mistakes or typos.

Finding Files

Restarting Plesk

Renaming a batch of Files to another file extension

Shutdown and Scan disk

List User / Groups

Add User to Group

Delete User

Turning On and Off Safe Mode in PHP

Installing Pear so you can send mail via GMAIL

-wget http://pear.php.net/go-pear.phar
php go-pear.phar
pear install Mail

Check if PHP is using Pear
php -c /path/to/php.ini -r ‘echo get_include_path().”\n”;’

Checking PHP
php –ini

Editing the PHP.INI
vi /etc/php5/cli/php.ini
vi /etc/php5/apache2/php.ini

Make sure the variable is set…
include_path = “.:/usr/share/pear”

Installing a Perl Module

March 18, 2013

Leave a Reply