TACACSGUI Installation Process

When Ubuntu Installation process is completed, you can run TACACSGUI Installation script. It is also very straight-forwards. All you need is to run next command:

sudo ./tgui_install/tacacsgui.sh silent

Default login and password to access Ubuntu terminal is tacgui/tacgui.

Installation script will make two main phases

  1. Checks all packages and libraries that required for Ubuntu, if something is missing it will install it.
  2. Downloads and installs TACACSGUI package.

First Installation Phase

More info about the first phase. Script will do next steps:

  1. Install MySQL (if missing). Script will generate random password for database user (tgui_user) and for root user. You can find all password in file /opt/tacacsgui/web/api/config.php.
  2. Check required for Ubuntu packages ( python3-mysqldb, ibmysqlclient-dev, python3-dev, make, gcc, openssl, apache2, lwresd, curl, zip, unzip, libnet-ldap-perl, ldap-utils, ntp, libapache2-mod-xsendfile, libpcre3-dev:amd64, libbind-dev ). Installs if missing.
  3. Checks access to github.com, packagist.org, tacacsgui.com.
  4. Checks installation of TACACS+ daemon (tac_plus). If daemon is missing, script will install fresh copy of  TACACS+ daemon (tac_plus).
  5. Checks PHP version. If server has old version than required version it will try to install new version of PHP.
  6. Checks installation of PIP (Python packet manager). Installs if missing.
  7. Checks installation of Composer (PHP packet manager). Installs if missing.
  8. Checks sudo permission for some files (to get more info use command sudo visudo). Sets if missing.
  9. Checks Ubuntu version.

If first phase finished successfully script will move to the next phase.

Second Installation Phase

The last phase of installation contains next steps:

  1. Check access to MySQL database. Script will get all credentials from first phase (fresh installation) or it is trying to find configuration file with passwords (in case of re-installation)
  2. Downloads repository from github.com.
  3. Installs/Upgrades all required PHP packages (via Composer)
  4. Installs/Upgrades all required Python packages (via PIP)
  5. Checks Installation is finished successfully.



previous arrow
next arrow

TACACSGUI Successful Installation

If you finally see the line:

Final check... Check main libraries... Done! Congratulation!

Installation finished successfully. Now you can move to the final step of installation – open web interface.