2016/05/30

How to install Docker on Ubuntu 14.04

-------Install Docker-------
curl -sSL https://get.docker.com/ | sudo sh

-------Install Docker-Compose-------
curl -L https://github.com/docker/compose/releases/download/1.7.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

2016/05/26

How to Install Bugzilla 5.0 on Ubuntu Server 14.04

-------Install Prerequisites-------
apt-get update
apt-get install -y git nano
apt-get install -y apache2 mysql-server libappconfig-perl libdate-calc-perl libtemplate-perl libmime-perl build-essential libdatetime-timezone-perl libdatetime-perl libemail-sender-perl libemail-mime-perl libemail-mime-modifier-perl libdbi-perl libdbd-mysql-perl libcgi-pm-perl libmath-random-isaac-perl libmath-random-isaac-xs-perl apache2-mpm-prefork libapache2-mod-perl2 libapache2-mod-perl2-dev libchart-perl libxml-perl libxml-twig-perl perlmagick libgd-graph-perl libtemplate-plugin-gd-perl libsoap-lite-perl libhtml-scrubber-perl libjson-rpc-perl libdaemon-generic-perl libtheschwartz-perl libtest-taint-perl libauthen-radius-perl libfile-slurp-perl libencode-detect-perl libmodule-build-perl libnet-ldap-perl libauthen-sasl-perl libtemplate-perl-doc libfile-mimeinfo-perl libhtml-formattext-withlinks-perl libfile-which-perl libgd-dev libmysqlclient-dev lynx-cur graphviz python-sphinx rst2pdf

2016/05/18

How To Install the Munin Monitoring Tool on Ubuntu 14.04

Munin Monitoring Server 1

1.sudo su
2.apt-get update
3.apt-get install -y apache2 apache2-utils
4.apt-get install -y libcgi-fast-perl libapache2-mod-fcgid
5./usr/sbin/apachectl -M | grep -i cgi < Check output display should be "fcgid_module (shared)" >

optional command: a2enmod fcgid < If step 5 is fail >

6.apt-get install -y munin
7.gedit /etc/munin/munin.conf
8.Find these lines to remove # and modify to "htmldir   /var/www/munin"

dbdir     /var/lib/munin
htmldir   /var/www/munin
logdir    /var/log/munin
rundir    /var/run/munin

tmpldir /etc/munin/templates

2016/05/16

How to display hidden folder and files on MAC OS X

Open Terminal, type the command as below.

Enable
defaults write com.apple.finder AppleShowAllFiles YES
killall Finder

Disable
defaults write com.apple.finder AppleShowAllFiles NO
killall Finder

2016/05/09

How to install Tarantula on CentOS

yum -y install make gcc readline-devel zlib-devel openssl-devel libyaml redhat-lsb
curl -L https://get.rvm.io | sudo bash -s stable --rails
cd /usr/local/rvm/archives/
tar -zxvf rvm-1.27.0.tgz
cd rvm-1.27.0
./install
source /etc/profile.d/rvm.sh
cd /etc/profile.d/
yum -y install http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
yum -y install nano
nano /etc/selinux/config
SELINUX=permissive

2016/05/01

How to install and run Tsung 1.6 on Ubuntu 14.04

Update system
1.[user@localhost ~]$ sudo apt-get update

Install Tsung report generator tool
2.[user@localhost ~]$ sudo apt-get install -y gnuplot-nox libtemplate-perl libhtml-template-perl libhtml-template-expr-perl

Install Erlang
3.[user@localhost ~]$ sudo apt-get install -y erlang

Download and install Tsung
4.[user@localhost ~]$ tar -zxvf tsung-1.6.0.tar.gz -C /home/tsung
5.[user@localhost ~]$ cd /home/tsung/tsung-1.6.0/
6.[user@localhost ~]$ ./configure && make && sudo make install
7.[user@localhost ~]$ tsung -v