The RedHat linux client that will connect to a NFS server. Needs to have portmap and if you dont want dynamic ports, enter static ports into /etc/sysconfig/nfs, for example: RQUOTAD_PORT=875 LOCKD_TCPPORT=32803 LOCKD_UDPPORT=32769 MOUNTD_PORT=892 STATD_PORT=662 STATD_OUTGOING_PORT=2020 1. Start portmap service portmap […]
Warriors of the Net
This is the coolest ever made video about, how the internet works! About the IP,Router,Switches,Packets,Proxy,Browsers,Pings etc… It explains pretty much all 7 layers of OSI model. Also known of the “Dawn of the Net”:
LPI 101 tips
I just passed the LPI-101 exam and scored 700 of 800. MY EXAM LPI-102 TIPS Here are some study tips: vi ? searches in reverse order GRUB_TIMEOUT paramete The value of this parameter is in sec unset is used to […]
Warn when password is about to expire
This script can be used to check if a user’s password is about to expire and throws a popup windows alerting the user, and explaining to change the password. By default it will start the popup when its 7 days […]
How to use selenium with nagios
How to use selenium with nagios_server 1. Install mozilla firefox headless(no GUI) yum install xorg-x11-server-Xvfb.x86_64 xfonts-base xfonts-75dpi xfonts-100dpi firefox ImageMagick.x86_64 — Starts firefox on virtual gui DISPLAY=:1 firefox http://google.com & — test and check Xvfb :1 -screen 1 1024x768x24 & […]
memcached 1.4.13 rpm
I have compiled the rpm for CentOS/RedHat 5.x 32bits and 64bits The steps are to create a rpm package from source. If you need to just install, download it x64bits x32bits Requires # yum install libevent livevent-devel (make sure its […]
Linux network tools
This is a small list of some really nice linux tools I recommend every sysadmin to have somewhere. dstat Combines vmstat, iostat, ifstat, netstat information and more http://dag.wieers.com/home-made/dstat/#documentation vnstat The best to monitor how much data was transfered tx/rxhttp://humdi.net/vnstat/ iftop […]
