How to set up logging in without a password between your Linux machines

How to set up logging in without a password between your Linux machines

It is very useful to set up passwordless logins between your Linux servers as it can be used for automated tasks, i.e. any cron jobs you may have that requires logging in on another host to run rsync without waiting…

How to extend a Linux LVM volume

How to extend a Linux LVM volume

So you have a system using LVM and you need to add some disk space to it. This can be done quite easily due to the greatness that is LVM. This example is a Debian-based virtual machine managed by ESXi…

Setting up an Amazon AWS elastic IP

Setting up an Amazon AWS elastic IP

An Elastic IP is a static public IP address that belongs to your Amazon EC2 account, as opposed to a specific virtual server. You can associate an IP address to a virtual server; if you need to take that server…

VMware tools installation on a Debian-based server

VMware tools installation on a Debian-based server

Select from Virtualcenter menu This makes the tools iso available to the virtual machine. On the client, mount the CDROM: Extract the tools to /tmp: Now you can unmount the CD: Run the installation and follow the prompts. You are…

Howto Symlinks

Howto Symlinks

Symbolic links, or symlinks, are quite useful. Symlinks can be use to point to files or directories. Any operation performed on a symlink is done on the destination that it points to, except removing the symlink. As an example of…

How to set up log rotation for Tomcat catalina.out log file

If catalina.out grows larger than 2GB it can cause Tomcat to crash, which is a bad thing. To avoid this you can set up log rotation. Create a new config file: Then specify the details of the rotation: What did…

Setting processor affinity using taskset

Setting processor affinity using taskset

Setting processor affinity can be very useful, for example where you have several processes running on a multi-processor server but you have one process that is important enough to warrant giving it an exclusive processor, while letting other less important…