I had written a script similar to this one to handle my Virtual-box systems but they have it all put together nicely.
How to configure VirtualBox to Auto start and stop Guest VM | CentOS | Linux Tutorial.
I had written a script similar to this one to handle my Virtual-box systems but they have it all put together nicely.
How to configure VirtualBox to Auto start and stop Guest VM | CentOS | Linux Tutorial.
I didn’t know that this was allocating ram like this…
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.
I thought that this was a great write up of how to use logrotate
HowTo: The Ultimate Logrotate Command Tutorial with 10 Examples.
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.