Archive for 'System Administration'

Installing a Xymon client

Installing a Xymon client

Posted on 27. Mar, 2010 by forouzani.

0

Installing a xymon client once you have the Xymon server setup is very simple. There are 2 main steps:

Installing the xymon client application
Adding details of it to your Xymon server

This is assuming you have already installed a xymon server – if not, you should first read the xymon server installation tutorial.
Installing the xymon client application
The [...]

Continue Reading

Tail Multiple Files (Linux)

Tail Multiple Files (Linux)

Posted on 16. Mar, 2010 by forouzani.

0

When doing system admin, or even development / deployment on load balanced servers, its always handy to be able to watch the error logs to keep an eye on things and make sure you pick up any issues as soon as possible. The tail command comes in handy, to keep a trailing out of the [...]

Continue Reading

Mount a Directory from one Server to Another Server

Posted on 05. Jan, 2010 by forouzani.

0

The easiest way to share files or directories between linux servers is to mount a directory from one server to another server using nfs. Assuming we had 2 servers, the easiest way mount a folder from one linux machine onto another would be to export the directory you wish to share on server1, and mount [...]

Continue Reading

Restricting DNS zone transfers

Posted on 27. Dec, 2009 by forouzani.

0

By default, a cpanel server with standard BIND installation will have a name server(s) which allows DNS zone transfers to be performed. This means that an attacker can simply request the whole master file for your domain, if they know which domain(s) the server is hosting. With Zone Transfers the attacker can re-create and map [...]

Continue Reading

Reload haproxy.cfg without restarting

Reload haproxy.cfg without restarting

Posted on 16. Nov, 2009 by forouzani.

0

When you make adjustments to the haproxy configuration file (haproxy.cfg), you need to restart the load balancer before the new configurations take effect. For a high traffic site, this is a painful process – any downtime is noticable by the users. There is a way to reload the config file gracefully, without causing interruption to [...]

Continue Reading