by Anjani Phuyal | May 26, 2014 | Nagios
Prerequisite: Git installation on Ubuntu remote server. $which git $sudo apt-get install git-core $which git /usr/bin/git $git –version git version 1.7.0.4 git clone git://github.com/mzupan/nagios-plugin-mongodb.git Python dependencies installation on remote...
by Anjani Phuyal | May 26, 2014 | Uncategorized
sudo apt-get install openjdk-6-jdk sudo apt-get install solr-tomcat sudo service tomcat6 start http://localhost:8080/solr the config & index will be stored at : /usr/share/solr/...
by Anjani Phuyal | May 26, 2014 | Linux
Disable user login shell usermod -s /bin/false username Enable User login shell usermod -s /bin/bash username Edit home directory vi /etc/passwd Check the status more /etc/passwd
by Anjani Phuyal | May 26, 2014 | Linux, ubuntu
knife ec2 server create -G default -f t1.micro -S nagios-quick-start -x ubuntu –region eu-west-1 -I ami-ce7b6fba
by Anjani Phuyal | May 26, 2014 | Linux, ubuntu
sudo ufw allow proto tcp from 192.168.0.2 to any port 22 sudo ufw delete deny 22 sudo ufw allow 22 sudo ufw enable Ref: https://help.ubuntu.com/lts/serverguide/firewall.html