wiki:ServerAdministrationNBX

Version 2 (modified by business@…, 8 years ago) (diff)

--

Set up dbNP instance on an NBX

Set up tomcat user

  • Login as manager
  • Create user tomcat:
    sudo adduser tomcat
    
  • Switch to user tomcat and its home directory
    sudo su - tomcat
    
  • Change default shell to bash:
    chsh -s /bin/bash
    
  • Check out deploy scripts
    svn checkout --username=anonymous https://svn.osx.eu/gscf-misc/scripts
    
  • Download Tomcat (to find the newest version, go to http://tomcat.apache.org/, find it, click Download and look up the Core .tar.gz file)
    wget http://apache.mirrors.webazilla.nl/tomcat/tomcat-7/v7.0.16/bin/apache-tomcat-7.0.16.tar.gz
    tar -zxvf apache-tomcat-7.0.16.tar.gz