Server monitoring - remote monitor a server with GKrellM via ssh tunnel 1

Server monitoring – remote monitor a server with GKrellM via ssh tunnel

Hostname/systemname display. Clock/calendar. SMP CPU monitor that can chart individual CPUs and/or a composite CPU. Temperature, fan, and voltage sensor monitors if supported by the kernel and the mainboard hardware. Linux requires lm_sensors modules, sysfs sensors for kernels >= 2.6.0 or a running mbmon daemon. Sensors can also be read from mbmon on […]

Linux Server Monitoring - Schedule a Command Output to be Sent via Email on Boot 2

Linux Server Monitoring – Schedule a Command Output to be Sent via Email on Boot

Scheduling a command on boot it’s easy and it can be done with different ways. One, with cronjobs and second, with the rc.local file (/etc/rc.local). Third, by putting your own script in /etc/init.d/. Fow now I’ll take the easy way to do it, the one with the rc.local. Requirements: sSMTP Mutt email client Implementation Open […]

Send email from Linux Terminal - How to install and use mutt terminal email client 3

Send email from Linux Terminal – How to install and use mutt terminal email client

Mutt is a sophisticated email client for linux terminal. It supports MIME, GPG, PGP and threading. In this tutorial I wont expand to report full use of the software because the whole point is to show you how to setup a basic but promising email notification system for your servers, so you can customize it […]

How to install PDO sqlite3 on Ubuntu 4

How to install PDO sqlite3 on Ubuntu

SQlite is a serverless Relational Database Management System. In plain words, it’s an SQL database without the need of running an SQL server. From my experience it’s not included in LAMP stack, so you have to install it by yourself. 1. Install php5-sqlite via apt …

If SQLite is installed but the PHP driver is […]

How to Configure Ip Settings on a linux OS

To configure IP Address on the eth0 interface do the following. Open a terminal. (Ctrl+T)

To manually configure default gateway:

To Configure DNS servers IP Address:

Note: 8.8.4.4,8.8.8.8 are google public DNS servers. If you don’t want to use them write your ISP’s DNS servers. Turn on the LAN Card

To […]

Disable Direct Root Logins 5

Disable Direct Root Logins

3. In nano type Ctrl+w to search for “protocol 2” and hit Enter 4. Uncomment and change it to look like Protocol 2 5.find the line PermitRootLogin yes 6. Uncomment it (if it’s commented) and make it look like PermitRootLogin no 7. Save the file and quit ( Ctrl+x -> y -> Enter) 8. […]