Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CentOS 7 - Working Install Notes #2046

Open
mfscripts opened this issue May 4, 2021 · 0 comments
Open

CentOS 7 - Working Install Notes #2046

mfscripts opened this issue May 4, 2021 · 0 comments
Labels

Comments

@mfscripts
Copy link

mfscripts commented May 4, 2021

I had lots of issues getting this working using the various install guides supplied with the code. In the end the guidance below worked. Figured I'd post it to save someone else going through the same issues.

Install Docker

$ sudo yum install -y yum-utils
$ sudo yum-config-manager
--add-repo
https://download.docker.com/linux/centos/docker-ce.repo
$ sudo yum install docker-ce docker-ce-cli containerd.io
$ sudo systemctl start docker
$ sudo docker run hello-world

Source: https://docs.docker.com/compose/install/

Install docker-compose

$ sudo curl -L "https://github.com/docker/compose/releases/download/1.29.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
$ sudo chmod +x /usr/local/bin/docker-compose

Source: https://docs.docker.com/compose/install/

Fix issue with elasticsearch not starting on docker process

$ sudo sysctl -w vm.max_map_count=262144

Set the above permanently by editing /etc/sysctl.conf

$ nano /etc/sysctl.conf
vm.max_map_count=262144
$ sudo sysctl -p

Download the latest code as a zip file.

Upload the release zip to your server into /root

Via your server:
$ cd /root
$ unzip GTAS-1.11.1.zip
$ cd GTAS-1.11.1

If you're using GTAS on a public IP, edit local-deployment.yml to replace any instances of "localhost" with your public IP.

$ docker-compose -f elk-docker-compose.yml -f neo4j-etl-docker-compose.yml -f docker-compose.yml -f local-deployment.yml pull
$ docker-compose -f elk-docker-compose.yml -f neo4j-etl-docker-compose.yml -f docker-compose.yml -f local-deployment.yml up

The last command will take a long time to run. Once finished you should be able to access GTAS in the browser:

http://[your_ip]:8080/gtas/login.html
User: admin
Pass: password

@mfscripts mfscripts added the bug label May 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant