03 – Nagios monitoring http, mysql, load average and disk space

Third part, about Nagios monitoring, how to check http, mysql, load average and disk space. . . . → Read More: 03 – Nagios monitoring http, mysql, load average and disk space

02 – Alive monitoring with Nagios

Second part, after the basic installation, now I implement an alive check. . . . → Read More: 02 – Alive monitoring with Nagios

01 – Installing Nagios on Ubuntu Linux

In the video I go through a Nagios server installation starting from scratch. . . . → Read More: 01 – Installing Nagios on Ubuntu Linux

Resizing the boot disk in Amazon EC2 with Windows 2008

On Amazon EC2, the boot disk of Windows 2008 R2 has a size of 30Gb. To extend it to 70Gb, I’ve used the following procedure: . . . → Read More: Resizing the boot disk in Amazon EC2 with Windows 2008

How to reset MySQL root password

Once in a while it happens that I forget the root password of a MySQL server. Several methods are explained in details on the MySQL website.

Until now I’ve always used the –skip-grant-tables method, and I was surprised to see a new method using the –init-file option. I tried it, but it didn’t work for . . . → Read More: How to reset MySQL root password

Using a file to add additional swap space

If you need to add an additional swap space, but you don’t have an available partition for it, or you want the flexibility of changing the size later, you can use a file for your swap. Here is how to do it.

The first step, is to create the files to be of the size . . . → Read More: Using a file to add additional swap space

Setting the hostname in Ubuntu Linux

The command called hostname, allows to show and set the host name. The thing is, that setting the host name in this way is not persistent, and a reboot will revert to the original host name. . . . → Read More: Setting the hostname in Ubuntu Linux

Mounting disks by label and fstab format

Mounting disks by label instead of by device, can be a good idea, because it helps to decouple from the device where your disk get attached. This is especially important for USB drives, that could get attached to different locations, or in virtual environments.

Labels are given to partitions, not to disks, but In my . . . → Read More: Mounting disks by label and fstab format

Mounting a remote filesystem with sshfs

sshfs allows to mount a remote filesystem over the internet easily, provided that you’ve ssh access to it. Here I will go through all the steps necessary to mount a remote filesystem with Ubuntu Linux.

1. installing the software

To check whether sshfs is already installed, just type sshfs on the command line, if you . . . → Read More: Mounting a remote filesystem with sshfs

Ubuntu: adduser or useradd?

Every other month or so, I’ve to add an user to one of my servers. In Ubuntu Linux adduser and useradd are two actual commands to add an user, and they do it a little differently. . . . → Read More: Ubuntu: adduser or useradd?