Skip to main content

Posts

2007


Moving mail between some Plesk servers

··115 words·1 min
If you’re migrating a domain, sometimes their mail will go to the old server for a while after you’ve changed the DNS.

Increase MySQL connection limit

··112 words·1 min
MySQL’s default configuration sets the maximum simultaneous connections to 100.

Verify that SSLv2 is disabled

··74 words·1 min
If you’re looking to get PCI/CISP compliance, or you just like better security, disable SSL version 2.

Plesk admin user can’t login

··47 words·1 min
Okay, so you’ve verified that the correct admin password is being used, but you still can’t login?

Argument list too long

··39 words·1 min
If you have a ton of files in a directory and you need to remove them, but rm says that the “argument list [is] too long”, just use find and xargs:

Strip off www from URLs with mod_rewrite

··56 words·1 min
If you need to remove subdomains from the URL that users enter to visit your website, toss this into your VirtualHost directive:

Sum Apache Bandwidth From Logs

··34 words·1 min
If you’re not a fan of scientific notation, use this to calculate the apache bandwidth used from log files in MB:

Repairing the qmail queue

··278 words·2 mins
There are three main things to remember when it comes to the qmail queue:

Securing MySQL

··419 words·2 mins
If you work on enough servers, you discover that a lot of people put the security of their MySQL server on the back burner.

MySQL Row & Data Limits

··197 words·1 min
As most folks know, by default, MySQL limits the size of a MyISAM table at 4GB.

2006


About Sticky Bits

··333 words·2 mins
Sticky bits help you take file permissions to the next level.

Can’t Kill Sendmail Processes

··98 words·1 min
If you find yourself in the sticky situation where kill -9 still won’t kill a sendmail process, check the process list.

PHPLive Has No session.save_path

··26 words·1 min
Add this to the virtual host configuration if PHPLive says it has no session.

Raising MaxClients? Change ServerLimit.

··114 words·1 min
Remember, if you raise MaxClients for an MPM in Apache, you must raise the ServerLimit directive, which is normally set to 256 on most servers.

Rootkit Checks on RHEL

··206 words·1 min
If you think you have a rooted RHEL box, you’ll want to run the usual rkhunter, chkrootkit, and you will want to inspect for rogue processes.

Group Editing With FTP

··223 words·2 mins
So you have multiple users that need to read and write to certain files on the filesystem?

Fixing Invalid HELO’s

··329 words·2 mins
If your server is spewing an invalid HELO, you could be blacklisted pretty quickly.