Tuning tmpfs filesystem /dev/shm for CentOS — centoshacker
avatar

I didn’t know that this was allocating ram like this…

Tuning tmpfs filesystem /dev/shm for CentOS — centoshacker.

Posted in CentOS, News | Leave a comment

blog.reddit — what’s new on reddit: Stopped they must be; on this all depends.
avatar

I strongly oppose SOPA and think this is a great idea.  It would be wonderful if one of the internet giants did this as well.

blog.reddit — what’s new on reddit: Stopped they must be; on this all depends..

Posted in News | Leave a comment

Break out of an SSH Session which has hung
avatar

Sometimes when a ssh session crashes you are stuck waiting for a long time-out to take place.  Instead of waiting you may be temped to just close the window, but instead you should enter in the following key sequence:

ESC ~.

That will get you back to the prompt before you signed into the ssh session.

Posted in Linux | Tagged | Leave a comment

HowTo: The Ultimate Logrotate Command Tutorial with 10 Examples
avatar

I thought that this was a great write up of how to use logrotate

HowTo: The Ultimate Logrotate Command Tutorial with 10 Examples.

Posted in Apache, Linux, News | Leave a comment

Setup Sendmail to Forward Email to your ISP’s SMTP Server
avatar

It is very easy to setup sendmail so that it will pass your email off another smtp server instead of just sending it directly.  This would be required when your ISP doesn’t allow you to sendmail without passing it through their servers.  You would need to edit /etc/mail/sendmail.mc and then just does a restart of sendmail:

define(`SMART_HOST’,`smtp.myisp.net’)
MASQUERADE_AS(`dbaron.org’)
FEATURE(masquerade_envelope)

Make sure you remove the “dnl” from the beginning of the line as that is the way sendmail comments out the lines.

Posted in Guides, Linux, News | Tagged , | Leave a comment