Install tacacsGUI

Install tacacsGUI

  • go to your home directory -> cd ~
  • download installation script -> wget https://tacacsgui.com/downloads/tacgui.tar.gz --no-check-certificate
  • extract -> tar -xvf tacgui.tar.gz -C ~; sudo chmod 755 ~/tacgui/tacacsgui.sh
  • move to directory -> cd ~/tacgui
  • run installation process -> sudo ./tacacsgui.sh. Be ready for questions like “What is the root password for MySQL?”.
    First Step of Installation is to configure interface correctly!
  • if you see “Done. Congratulations!” at the end it means you are ready to open GUI!

Successful Installation output

###############################################################
##############   TACACSGUI Installation    #########
###############################################################

ver. 1.0.0


Start Installation
Check database...
Try to get root password to MySQL...Not Found
Enter root password to mysql: 
Done. Correct password
Remember root password? (y/n): n
Test existence of tgui database...tgui database was created
Test existence of tgui_log database...tgui_log database was created

###############################################
  Caution! Attention!
  The passwords of DB Users
  will be stored in clear text inside
  /opt/tacacsgui/web/api/config.php
###############################################

Check existence of tgui_user. 
Enter password to tgui_user (if empty, root passwd will be used): 
Root password is used
MYSQL user tgui_user was created
Check User Grants...Done
Check main directory /opt/tacacsgui ... Creating directory
Download latest version...
Cloning into '/opt/tacacsgui'...
remote: Counting objects: 5859, done.
remote: Compressing objects: 100% (287/287), done.
remote: Total 5859 (delta 313), reused 385 (delta 197), pack-reused 5325
Receiving objects: 100% (5859/5859), 9.70 MiB | 585.00 KiB/s, done.
Resolving deltas: 100% (2154/2154), done.
Checking connectivity... done.
Cannot create cache directory /home/tacgui/.composer/cache/repo/https---packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /home/tacgui/.composer/cache/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Installing paragonie/constant_time_encoding (v2.2.2)
    Downloading: 100%         

  - Installing beberlei/assert (v2.9.6)
    Downloading: 100%         

  - Installing spomky-labs/otphp (v9.1.0)
    Downloading: 100%         

  - Installing php-smpp/php-smpp (1.2)
    Downloading: 100%         

  - Installing psr/container (1.0.0)
    Downloading: 100%         

  - Installing container-interop/container-interop (1.2.0)
    Downloading: 100%         

  - Installing nikic/fast-route (v1.3.0)
    Downloading: 100%         

  - Installing psr/http-message (1.0.1)
    Downloading: 100%         

  - Installing pimple/pimple (v3.2.3)
    Downloading: 100%         

  - Installing slim/slim (3.11.0)
    Downloading: 100%         

  - Installing symfony/polyfill-mbstring (v1.9.0)
    Downloading: 100%         

  - Installing symfony/translation (v4.1.4)
    Downloading: 100%         

  - Installing nesbot/carbon (1.34.0)
    Downloading: 100%         

  - Installing psr/simple-cache (1.0.1)
    Downloading: 100%         

  - Installing illuminate/contracts (v5.7.5)
    Downloading: 100%         

  - Installing doctrine/inflector (v1.3.0)
    Downloading: 100%         

  - Installing illuminate/support (v5.7.5)
    Downloading: 100%         

  - Installing illuminate/container (v5.7.5)
    Downloading: 100%         

  - Installing illuminate/database (v5.7.5)
    Downloading: 100%         

  - Installing respect/validation (1.1.25)
    Downloading: 100%         

  - Installing paragonie/random_compat (v9.99.99)
    Downloading: 100%         

  - Installing slim/csrf (0.8.3)
    Downloading: 100%         

  - Installing bacon/bacon-qr-code (1.0.3)
    Downloading: 100%         

  - Installing guzzlehttp/promises (v1.3.1)
    Downloading: 100%         

  - Installing guzzlehttp/psr7 (1.4.2)
    Downloading: 100%         

  - Installing guzzlehttp/guzzle (6.3.3)
    Downloading: 100%         

  - Installing irazasyed/telegram-bot-sdk (v2.2.0)
    Downloading: 100%         

  - Installing doctrine/event-manager (v1.0.0)
    Downloading: 100%         

  - Installing doctrine/cache (v1.8.0)
    Downloading: 100%         

  - Installing doctrine/dbal (v2.8.0)
    Downloading: 100%         

  - Installing phpmailer/phpmailer (v6.0.5)
    Downloading: 100%         

  - Installing webmozart/assert (1.3.0)
    Downloading: 100%         

  - Installing webmozart/path-util (2.3.0)
    Downloading: 100%         

  - Installing seld/jsonlint (1.7.1)
    Downloading: 100%         

  - Installing justinrainbow/json-schema (1.6.1)
    Downloading: 100%         

  - Installing webmozart/json (1.2.2)
    Downloading: 100%         

symfony/translation suggests installing symfony/config ()
symfony/translation suggests installing symfony/yaml ()
symfony/translation suggests installing psr/log-implementation (To use logging capability in translator)
illuminate/support suggests installing illuminate/filesystem (Required to use the composer class (5.7.*).)
illuminate/support suggests installing moontoast/math (Required to use ordered UUIDs (^1.1).)
illuminate/support suggests installing ramsey/uuid (Required to use Str::uuid() (^3.7).)
illuminate/support suggests installing symfony/process (Required to use the composer class (^4.1).)
illuminate/support suggests installing symfony/var-dumper (Required to use the dd function (^4.1).)
illuminate/database suggests installing fzaninotto/faker (Required to use the eloquent factory builder (^1.4).)
illuminate/database suggests installing illuminate/console (Required to use the database commands (5.7.*).)
illuminate/database suggests installing illuminate/events (Required to use the observers with Eloquent (5.7.*).)
illuminate/database suggests installing illuminate/filesystem (Required to use the migrations (5.7.*).)
illuminate/database suggests installing illuminate/pagination (Required to paginate the result set (5.7.*).)
respect/validation suggests installing ext-bcmath (Arbitrary Precision Mathematics)
respect/validation suggests installing egulias/email-validator (Strict (RFC compliant) email validation)
respect/validation suggests installing symfony/validator (Use Symfony validator through Respect\Validation)
respect/validation suggests installing zendframework/zend-validator (Use Zend Framework validator through Respect\Validation)
respect/validation suggests installing friendsofphp/php-cs-fixer (Fix PSR2 and other coding style issues)
paragonie/random_compat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.)
guzzlehttp/guzzle suggests installing psr/log (Required for using the Log middleware)
irazasyed/telegram-bot-sdk suggests installing irazasyed/larasupport (Allows you to use any Laravel Package in Lumen by adding support!)
doctrine/cache suggests installing alcaeus/mongo-php-adapter (Required to use legacy MongoDB driver)
doctrine/dbal suggests installing symfony/console (For helpful console commands such as SQL execution and import of files.)
phpmailer/phpmailer suggests installing psr/log (For optional PSR-3 debug logging)
phpmailer/phpmailer suggests installing league/oauth2-google (Needed for Google XOAUTH2 authentication)
phpmailer/phpmailer suggests installing hayageek/oauth2-yahoo (Needed for Yahoo XOAUTH2 authentication)
phpmailer/phpmailer suggests installing stevenmaguire/oauth2-microsoft (Needed for Microsoft XOAUTH2 authentication)
Writing lock file
Generating autoload files
Cannot create cache directory /home/tacgui/.composer/cache/repo/https---packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /home/tacgui/.composer/cache/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload files
Time to create certificate for https support...
Generating a 2048 bit RSA private key
.....................................................................................................+++
.+++
writing new private key to '/opt/tgui_data/ssl/tacacsgui.local.key'
-----
Done.Generate config.php
Preparing apache configuration
Enabling module rewrite.
To activate the new configuration, you need to run:
  service apache2 restart
Considering dependency setenvif for ssl:
Module setenvif already enabled
Considering dependency mime for ssl:
Module mime already enabled
Considering dependency socache_shmcb for ssl:
Enabling module socache_shmcb.
Enabling module ssl.
See /usr/share/doc/apache2/README.Debian.gz on how to configure SSL and create self-signed certificates.
To activate the new configuration, you need to run:
  service apache2 restart
Module xsendfile already enabled
Enabling site tacacsgui.local.
To activate the new configuration, you need to run:
  service apache2 reload
Enabling site tacacsgui.local-ssl.
To activate the new configuration, you need to run:
  service apache2 reload
Tacacs Daemon setup...
tac_plus.service is not a native service, redirecting to systemd-sysv-install
Executing /lib/systemd/systemd-sysv-install enable tac_plus
Daemon apploaded
Test Daemon work...Done
Final Check...Check main libraries...Done. Congratulation!
Press any key to exit...

Created at: 2018-04-25 12:35:05
Updated at: 2018-09-24 12:23:35
Author: Aleksey Mochalin