Child pages
  • OpenTUSK Install Instructions for RHEL-CentOS-5.8

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

2.1  Install App::cpanminus
Code Block
sudo curl -o /usr/bin/cpanm 'https://metacpan.org/raw/MIYAGAWA/App-cpanminus-1.7004/bin/cpanm?download=1'

...


sudo sed -i 's@#!perl@#!/usr/bin/perl@' /usr/bin/cpanm

...


sudo chmod 755 /usr/bin/cpanm
2.2  Upgrade XML::Writer to 0.604
Code Block
sudo yum install -q -y 'perl(XML::Writer)'

If the command above fails with 'Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again'

Code Block
sudo sed -i "s/mirrorlist=https/mirrorlist=http/" /etc/yum.repos.d/epel.repo

...


sudo yum install -q -y 'perl(XML::Writer)'
2.3  Re-install Moose with cpanm for a newer version

This will take a while as there are so many dependencies to be installed. Altogether 58 modules.

Code Block
sudo yum remove 'perl(Moose)'

...


sudo cpanm http://cpan.metacpan.org/authors/id/E/ET/ETHER/Moose-2.1205.tar.gz
2.4  Install modules used by CI report tool
Code Block
sudo cpanm Types::XSD@0.005

...


sudo cpanm Data::UUID@1.219

...


sudo cpanm URI::Encode@0.09
2.5  Install Apache::Session::MySQL::NoLock
Code Block
sudo cpanm http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/Apache-Session-1.93.tar.gz

3.0  Install Tusk Software

...

Code Block
cd  /usr/local/tusk
sudo git clone git://github.com/opentusk/opentusk.git
sudo ln -s opentusk current

Note: git uses port 9418 by default. If you can't connect to this port through your gateway use HTTP instead. You can check if you can connect to port 9418 using the following command:

Code Block
nc -v github.com 9418

ExampleIf you can't connect to this port use HTTP instead:

Code Block
sudo git clone http://github.com/opentusk/opentusk.git
3.3  Create TUSK Directory & Data Tree
 
Code Block
sudo bash /usr/local/tusk/current/install/scripts/create_directories.sh

...