Archive for June, 2011

Changing the default output IP

by: WanderingTechy June 10, 2011

If you want to change the outgoing IP address of your server use the following command. Execute this command The output should look something like this. If no ‘src’ listed in ‘ip’ output for default route, then main IP on the interface is used for an outgoing connections. You can change it using: Now when [...]

switch off open_basedir across all domains in a plesk server

by: WanderingTechy June 10, 2011

I have a client who wants to turn off open_basedir as he using cross domain includes.  I have recommend against doing this for security reason but he has insisted. I was initially looking at modifying the ./conf/vhost.conf file for each domain and adding the open_basedir config but found a quicker way. add a file called. [...]

Cleaning SpamDyke Log Table in plesk

by: WanderingTechy June 9, 2011

The spamdyke_log_table gets very large very quickly.  This slows down viewing from within the plesk panel.  To clean up records older than 7 days use the following command delete from spamdyke_log_table where `time` < DATE_ADD(CURDATE(),interval  -7 day);