inside the mind of a linux admin

How to disable SSH host key checking

Remote login using the SSH protocol is a common activity in my line of work. With the SSH protocol, the responsibility is on the SSH client to verify the identity of the host to which it is connecting. The host identify is established by its SSH host key. Typically, the host key is auto-created during […]

Read More

Buy a Linux Laptop Computer (with a coupon code for 5% off)

Erik

Thursday, July 29, 2010

ubuntu linux

No Comment

The Linux Laptop Company sells professional grade Linux laptops with full hardware support under all flavors of Linux. Our clients range from worldwide corporations to everyday personal Linux desktop users. We are familiar with all of the latest technology and our engineers can customize every aspect of your system to meet all of your most […]

Read More

Change a processes’ priority with renice

You can change the default priority that an application runs with by starting it with the nice command, but if you want to change the priority of a process that is already running, the command to use is renice. Renice can be used to change the priority of a single process, or of all the […]

Read More

Out of memory error on horde

This one’s here because I spent the better half of an hour troubleshooting this for a customer. The error: Fatal error: Out of memory (allocated 47448064) (tried to allocate 13472326 bytes) in /usr/local/cpanel/3rdparty/lib/php/Net/SMTP.php on line 821 The cause: Sending messages through Webmail with attachments larger than 10MB. Incorrect diagnosis: If you’ve stumbled upon this post […]

Read More

Easily remove the last character of every line

So, often I’ll come across something that I need done, but don’t want to waste time manually doing it. This particular instance, I had a list of hostnames which I needed to remove the trailing “.” (dot) from the PTR. Normally, if these hostnames were all simple name.TLD domains this would easily be accomplished with […]

Read More