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 5 Next »

   

Required System:   Centos 7.0


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 accounts if not yet created, install Perl and yum packages
    > ./tusk_insta

./tusk_install_run


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



  • Create SSL  IF you need to generate SSL certificates
./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
> 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