Add disk and expand in a Logical Volume no reboot, but not for /root /(boot). Tested in Linux CentOS/RedHat 5.7 /var First add a disk in (VMWare) Scan echo “- – -” > /sys/class/scsi_host/host0/scan fdisk -l fdisk /dev/sdb n,p,1,w Format […]
add new disk in linux
This is without using LVM. try fdisk -l to find the new disk path (as in /dev/sdxx) # fdisk -l use fdisk /dev/sdxx to create partition. # fdisk /dev/sdd1 n p 1 , t,83 w use mkfs to create a […]
Uninstall Gnome and Office
If you have a server there is no need of the GUI interface, is there? A good linux admin will never need it. So I am removing it, here are the commands: Remove GUI (Gnome) # apt-get remove gnome* # […]
check_by_ssh
. . check_by_ssh, Problem with Nagios check_by_ssh plugin is that it requires also the nagios-plugins to be installed on the client server. At least part of the nagios-plugins, because in the end all we need is to perform the local […]