Amazon WordPress / Lighttpd / Varnish for free #1. Create an AWS Account You can sign up here. You’ll have to provide a credit card and a phone number where you will be called as part of the online registration […]
LPI 102
I passed my Exam today, 650/800 My Notes: xwininfo – shows X11 color depth GPG send a encrypt file – use the user publick key to encrypt locale – Get locale-specific information, dont display Timezone gok – on-screen keyboard echo […]
How to connect to a NFS server share
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 […]
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 & […]
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 […]
Nagios plugin to check folder
This plugin object is to check if a file has been inside certain folder for a period of time and alert if so. It’s still not fully developed so the variables are not passed as arguments but are inside the […]
How to install snort on centos 5.5
How to install snort on centos 5.5 This guide is a step by step on how to install from source snort-2.9.0.5 on CentOS 5.5 64bits it should work the same way for RedHat. Also with the mysql option enabled. The […]