Archive

Posts Tagged ‘disk’

How to add a disk to lvm

November 11th, 2013 1 comment
Add disk and expand in a Logical Volume no reboot, but not for /root /(boot).

Tested in Linux CentOS/RedHat 5.7  /var

 Read more...
Categories: HowTo, Linux Tags: , ,

add new disk in linux

January 3rd, 2012 No comments

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

Read more…

Categories: HowTo, Linux Tags: , , ,

Uninstall Gnome and Office

December 10th, 2008 1 comment

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*
# apt-get remove *xorg*
# apt-get remove mplayer*

Read more…

check_by_ssh

November 14th, 2008 5 comments

.

.

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 checks using ssh remote cmds.
So I put in a file nagiosclient.tar with the check scripts including some perl.The focus hereis to check Disk,Memory,Cpu of Linux remote servers. Without using SNMP, NRPE just plain SSH. I think its a great solution mainly because NRPE is a pain to install in Linux, in Windows its quite easy and I always try to use it combined with SNMP. SNMP is nice but its limited in what it can monitor, and sometimes it can get really messy. So lets start configuring SSH.

Read more…