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 […]
check_ftp_download script
This is a script that tests the FTP site by downloading a specific file and verifying how long it takes to do so. It also measures the bandwidth. It uses curl PHP library to do the FTP part. More of […]
Mount S3 on linux
Mount S3 on linux Amazon S3 Important considerations when using s3fs, namely related to the inherent limitations of S3: – no file can be over 5GB – you can’t partially update a file so changing a single byte will re-upload […]
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 […]
Linux Kernel Modules
> Manage/Query kernel and kernel modules at runtime Key files, terms and utilities include: /lib/modules/kernelversion/modules.dep – Kernel module interdependencies /etc/modules.conf & /etc/conf.modules – modprobe configuration file (new and old) Commands | Description depmod | Determine module dependencies insmod | Insert […]
TCP Send-Queue
Script to monitor the TCP Send-Queue. Send-Q is retrived from the netstat cmd. ex.: #netstat -anp |more Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name The script syntax example: #check_sendq -w 900 […]
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 […]
