Child pages
  • Upgrade to OpenTUSK 5.0
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »


You current version is tusk-4.x.x which is based on Centos 5.     The following guideilnes will help you install opentusk on Centos 7

Required System:   Centos 7


Upgrade Guidelines

  • If you database is setup as localhost, please move your database to this new server.    


  • Git clone  OpenTUSK 5.0 from github into /usr/local/tusk as either root user or a user with sudo privilege
> sudo mkdir -p /usr/local/tusk/conf    ### We create both tusk and tusk/conf directories
> cd /usr/local/tusk
> sudo git clone git://github.com/opentusk/opentusk.git opentusk


  • Git clone  tusk, apache, shibboleth configurations into "/usr/local/tusk/conf" directory  if you have "conf" repository.   Otherwise, copy them from the old server.


  • Symbolic link the cloned directory to current  and setup install setttings in a YML file

> ln -s onentusk current
> cd current/install
> cp templates/conf/tusk/tusk_install.yml  /usr/local/tusk/conf/tusk_install.yml
> Modify conf/tusk_install.yml  appropriately.  This will be used for installation setup
> cd centos
> ln -s /usr/local/tusk/conf/tusk_install.yml .


  • Run install script.  This will create tusk/apache users if not yet created, install required yum packages and install Perl/CPAN modules.  The Perl/CPAN installation takes some time but be careful to enter your passwords a few times correctly.

./tusk_install_run


  • Create data directories IF you need data/content directories  
../scripts/create_directories



  • Create SSL certificates  IF you need to generate ones.  Be sure to put some info including domain, country, state, etc in install_tusk.yml
./create_ssl_cert


  • Install shib IF you use Shibboleth authentication
> ./install_shib

## if your shib settings are in /usr/local/tusk/conf/etc/shibboleth
>  cd /etc/shibboleth

##  Remove or rename these files before soft linking them to /etc/shibboleth directory.
> sudo ln -s /usr/local/tusk/conf/etc/shibboleth/attribute-map.xml .
> sudo ln -s /usr/local/tusk/conf/etc/shibboleth/shibboleth2.xml .
> sudo ln -s /usr/local/tusk/conf/etc/shibboleth/tusk-idp.xml .
> sudo ln -s /usr/local/tusk/conf/etc/shibboleth/tuskLogout.html .





  • No labels