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

rvm install ruby-1.9.3
rvm use 1.9.3
wget https://raw.github.com/prove/tarantula/master/vendor/installer/install.sh
bash install.sh
cd /opt/tarantula/rails
RAILS_ENV=production rake tarantula:install
system-config-firewall-tui
chkconfig httpd --add
chkconfig --level 35 httpd on
chkconfig mysqld --add
chkconfig --level 35 mysqld on
chkconfig memcached --add
chkconfig --level 35 memcached on
chkconfig delayed_job --add
chkconfig --level 35 delayed_job on
passenger-install-apache2-module
cp /opt/tarantula/rails/config/crontab /etc/cron.d/tarantula
chown root:root /etc/cron.d/tarantula
chmod 0644 /etc/cron.d/tarantula
reboot

2 則留言:

  1. I would to like ask if i will install this inside of ubuntu. Is it going to work

    回覆刪除
    回覆
    1. I'm not sure about it and Tarantula support has been terminated.
      Please refer it from URL as below:
      http://www.testiatarantula.com/

      刪除