Skip to main content

category: Linux

Code SamplesConfigurationsLinuxShellSystem Administration

Send your cell phone SMS system alert messages.

SMSSend is a program used to send SMS messages over the network via command line in linux. It is licensed unto the GNU General License. I recently aimed to integrate this into Zabbix remote monitoring software. I had a hell of a time finding the software because its original page, here, has some sort of […]

C++ Compiler

I you are trying to compile software on a new system, and you get this error: checking how to run the C++ preprocessor… /lib/cpp configure: error: C++ preprocessor “/lib/cpp” fails sanity check See `config.log’ for more details. Then you need to install the gcc-c++ compiler: # yum install gcc-c++ or # sudo apt-get install gcc-c++ […]

Apache’s mod_proxy module is simply one of the best Apache modules out there. With it, you can do all sorts of things that you usually would not be able to do if you are behind a firewall or other limited network situations. A problem that recently came up for me was how Microsoft Outlook Web […]

More and more people seem to be using an open source mail server on linux, such as Postfix, to proxy e-mails coming in from the net and relaying them to their exchange server. I know I’ve had this type of setup since January and it has been working really well for me. It gives you […]

Dead linux users?

Not dead as in dead, but dead as in the user has logged out of the system and for some reason their shell is still open. This might happen if your system crashes before you can log out, there are network problems and you are disconnected, or a number of other reasons. This article explains how to log these “dead” shell users out.

If you are a system administrator of a linux system, you may find the following log entries familiar: Sep 15 02:00:30 sol sshd[16364]: Failed password for invalid user test from ::ffff: 61.167.x.x port 53382 ssh2 Sep 15 02:00:30 sol sshd[16365]: Failed password for invalid user test from ::ffff: 61.167.x.x port 53394 ssh2 Sep 15 02:00:30 […]

Here is a handy little shortcut I recently figured out (it took me long enough, didn’t it!). You can mount an ISO image as a directory in linux. Very nice for when you are remote and want to have a CD on that system. mount -t iso9660 -o loop imagename.iso /mnt/isoimage

  • 1
  • ...
  • 5
  • 6