This is a quick way to see all the cron jobs configured on your system:

for user in `cut -f1 -d: /etc/passwd`; do crontab -u $user -l; done

If you want to set email of the server administrator using .htaccess file use the following command.

Open your .htaccess with any text file editor and add :

SetEnv SERVER_ADMIN admin@your-domain.com

Now just save and reupload the file.

 

 

If you use eAccelerator and have updated your php5 version  you need to recompile the plugin.

First step is to go in to the source listing of your eAccelerator and follow the instructions:

In my case the source is located in /usr/src/.

cd /usr/src/eaccelerator/
make clean
phpize
make
make install

Don’t forget to restart your apache:

/etc/init.d/apache2 restart

How to put in it in the first place? See article Install and Integrate eAccelerator into PHP5 on Debian Squeeze

To delete the Postfix mail queue use the following command:

root@deb:~# postsuper -d ALL
postsuper: Deleted: 5 messages
root@deb:~#

You can also use man postsuper command for more options.

Use the following command:

apache2ctl -M

The output will look like this:

root@debian:~# apache2ctl -M
Loaded Modules:
core_module (static)
log_config_module (static)
logio_module (static)
mpm_worker_module (static)
http_module (static)
so_module (static)
actions_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_default_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
cgid_module (shared)
deflate_module (shared)
dir_module (shared)
env_module (shared)
mime_module (shared)
negotiation_module (shared)
reqtimeout_module (shared)
rewrite_module (shared)
rpaf_module (shared)
setenvif_module (shared)
status_module (shared)
Syntax OK
root@debian:~#

Page 2 of 41234