About WordPress WordPress is a free and open source website and blogging tool that uses php and MySQL. It was created in 2003 and has since then expanded to manage 22% of all the new websites created and has over 20,000 plugins to customize its functionality.
Category: Howtos
Installing couchbase
Tested in AWS and CENTOS6 sudo yum install wget -y mkdir binaries cd binaries http://packages.couchbase.com/releases/2.2.0/couchbase-server-community_2.2.0_x86_64_openssl098.rpm sudo yum install -y pkgconfig -y sudo yum install openssl098e -y sudo yum install couchbase-server*.rpm -y nJoy š
Auto-blacklist iptables
Gather a list of ips which fail logins and drop from firewall for the future lastb | awk '{ FS == "[ \t]+" ; print $3; }' | egrep -o '([[:digit:]]{1,3}\.){3}[[:digit:]]{1,3}'| grep -v "192.168." | sort | uniq | xargs -n 1 -I {} iptables -A INPUT -s {} -j DROP if you want to…
Fix node Geoip update fails
After a routine update of a customer’s application resulted in a broken package npm update gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/nod gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789: gyp ERR! System Linux 2.6.32-431.1.2.0.1.el6.i686 gyp ERR! command…
VBS script to gather all IIS 6 Sites , state and folders for storage
This is a script from this site which I found particularly handy. OPTION EXPLICIT DIM CRLF, TAB DIM strServer DIM objWebService TAB = CHR( 9 ) CRLF = CHR( 13 ) & CHR( 10 ) IF WScript.Arguments.Length = 1 THEN strServer = WScript.Arguments( 0 ) ELSE strServer = "localhost" END IF WScript.Echo "Enumerating websites on…
Setting the JAVA_HOME automatically.
JAVA_HOME=$(readlink -f /usr/bin/javac | sed “s:bin/javac::”)
Change Keyboard Map on the fly Linux Centos
So you logged in a box and your keys are messed up ? loadkeys ukĀ or loadkeys us Other maps also there .. nJoy š
Bacula firewall settings
Console -> DIR:9101 DIR -> SD:9103 DIR -> FD:9102 FD -> SD:9103 nJoy š
Configuring Hadoop for Failover
Introduction As of 0.20, Hadoop does not support automatic recovery in the case of aĀ NameNodeĀ failure. This is a well known and recognized single point of failure in Hadoop. Experience at Yahoo! shows thatĀ NameNodesĀ are more likely to fail due to misconfiguration, network issues, and bad behavior amongst clients than actual hardware problems. Out of fifteen grids…
Windows way to create large file for testing
Very easy and cool tool very unused .. fsutil file createnew <filename> <length> nJoy š