Archives for General - Page 30
Can’t Use apt i.e. /boot is 100% full
NOTE: this is only if you can’t use apt to clean up due to a 100% full /boot 1. Get the list of kernel images Get the list of...
Dovecot – Iredmail SSL installation
First of all, we need to order a certificate , this certificate is the same with normal web server certificate. The certificate will have 3 files: cert, key, cabundle....
Kill all close wait process
We have seen many cases where the client didn’t close the connection correctly, the process is stuck at CLOSE_WAIT status, i never clear the database connection. We have this...
Auto Restart apache when connection is high
In some situations, our web server receive too many connections. The number is much higher than normal, that could be an issue with our code, or we are being...
Nagios: Add new plugin
Nagios config file is in /etc/nagios-plugins/config Nagios plugin script is in /usr/lib/nagios/plugins
Relocation subversion
Command: svn sw --relocate oldpath newpath
Sendmail – control who can send relay
Sendmail use “access” database to control who can use this email server to send email out. It’s easy, just edit this file /etc/mail/access , but access is a...
Clear DNS cache in Google Chrome
The following url will open the DNS info in Chrome, you can clear dns cache as well. chrome://net-internals/#dns
good links
### Good Links: Unlocking the Power of Reliable Online Resources In the vast expanse of the internet, we are constantly bombarded with a never-ending flow of information. The challenge,...
Godaddy: treat html file as php
I used to put this content in my .htaccess to treat .html as php file, but some how it’s no longer working in godaddy. AddType application/x-httpd-php .htm .html AddHandler...