Setup Workspace On Mac OS X Lion
Setup Workspace On Mac OS X Lion Software Update Click Apple () menu, choose Software Update Change System Preferences Click Apple () menu, choose System Preferences Trackpad Tap to click Scroll direction: natural Mouse Adjust Tracking Speed to max Keyboard Keyboard Shortcuts Full Keyboard Access: In windows and dialogs, press Tab to move keybiard focus […]
Binding Multiple IP Addresses on the Same Network Interface
Binding Multiple IP Addresses on the Same Network Interface Add new address sudo ifconfig en1 alias 192.168.2.2 netmask 255.255.255.0 sudo ifconfig en1 alias 192.168.3.3 netmask 255.255.255.0 sudo ifconfig en1 alias 192.168.4.4 netmask 255.255.255.0 sudo ifconfig lo0 alias 127.0.0.2 Remove alias address sudo ifconfig en1 remove 192.168.2.2 netmask 255.255.255.0 sudo ifconfig en1 192.168.3.3 netmask 255.255.255.0 delete […]
Installing Logster on CentOS
Installing Logster on CentOS Install EPEL repository sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-6.noarch.rpm yum update # This takes quite a while for a fresh install Setting locale cat >> ~/.bash_profile Install Dependence yum -y install logcheck logcheck dependencies: liblockfile lockfile-progs perl-IPC-Signal perl-Proc-WaitStat perl-mime-construct Install logster git clone git://github.com/etsy/logster.git cd logster make install dry run /usr/sbin/logster –output=stdout SampleLogster […]
Installing and Configuring Graphite on CentOS
Installing and Configuring Graphite on CentOS Install EPEL repository sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm sudo yum -y update # This takes quite a while for a fresh install Alternatively: wget -r -l1 –no-parent -A “epel*.rpm” http://dl.fedoraproject.org/pub/epel/6/x86_64/ sudo yum -y –nogpgcheck localinstall */pub/epel/6/x86_64/epel-*.rpm Install Dependences sudo yum -y install gcc.x86_64 git.x86_64 python-devel pyOpenSSL \ python-memcached bitmap bitmap-fonts […]
JMX monitoring
JMX monitoring dataflow java app -> jmxagent -> jmxtrans -> jmx_output.log -> alert.sh -> send mail java app -> jmxagent -> Configuration jmx agent with authentication JMX dynamically allocated random port, and it will bind the port at internal address. If you connecting jmx through firewall or your servers on Amazon EC2, maybe can’t connect […]