Legacy command line tools

From TempusServa wiki
Revision as of 19:27, 12 February 2013 by old>Admin (→‎Installing the tools)
Jump to navigation Jump to search

Compability

The shell tools are compatible with the following distributions

  • Amazon linux
  • RedHat linux
  • CentOS linux

Other versions are likely compatible if they support yum installer.

Installing the tools

Execute the following commands from youre UNIX command line

  1. cd /usr/bin
  2. sudo wget -N http://www.tempusserva.dk/deploy/amazon-tomcat6/tsrefreshscripts.sh
  3. sudo chmod 777 tsrefreshscripts.sh
  4. tsrefreshscripts.sh

The tools are installed into /usr/bin, and made available for all users.

Tool reference

Installation

  • tsinstall.sh
  • tsinstallinstance.sh [application]
  • tsquickinstall.sh

Update with newer version

  • tsupgrade.sh
  • tsupgradeinstance.sh [application]

System information

  • tsstatus.sh
  • tslogsgrep.sh [search]
  • tslogstail.sh

Server maintanence

  • tsboot.sh
  • tsstop.sh
  • tsstart.sh
  • tsrestart.sh
  • tstomcatstop.sh
  • tstomcatstart.sh

Database access

  • tsmysqlremotestart.sh
  • tsmysqlremotestop.sh

Other usefull scripts

  • tsbackupfull.sh
  • tsbackupinstance.sh [application]
  • tsrefreshscripts.sh