Note: VisibleThread requires port 443 and port 22 open on the Amazon Linux Server
Download the VisibleThread rpm file to the AWS Instance (alternatively you can download the file at https://visiblethread.s3.us-east-1.amazonaws.com/public/download/visiblethread-docs-7.1.1-1.x86_64.rpm and then use an FTP/SCP client to transfer it to your instance):
curl -O https://visiblethread.s3.us-east-1.amazonaws.com/public/download/visiblethread-docs-7.1.1-1.x86_64.rpm MD5 Hash: 1bfff8f3440ee52534a76dddb7aed67e
Install PostgreSQL 16
VisibleThread .rpm does not have a dependency on PostgreSQL. However, VisibleThread 7+ does require PostgreSQL to function correctly. We support PostgreSQL version 16 or greater. The below instructions are how to install PostgreSQL 16 prior to the VisibleThread 7+ install.
Enable the Postgresql repository and install the Postgresql packages:
dnf install postgresql16 postgresql16-server
Enter Postgresql bash shell and initialize the DB: sudo su - postgres/usr/bin/postgresql-setup --initdb
Exit the Postgresql bash shell: exit
Enable and start Postgresl service: sudo systemctl enable --now postgresql
Verify service is active: systemctl status postgresql
Install Java 17
sudo yum install -y java-17-amazon-corretto
Install VisibleThread 7+ rpm:
sudo yum install -y visiblethread-docs-7.1.1-1.x86_64.rpm
Check if fapolicyd is installed
If fapolicy is installed it will block Apache Tomcat from being installed correctly, because of this you should whitelist the required directory in your fapolicy, see below.
-
Check if fapolicyd is installed
sudo systemctl status fapolicy -
If fapolicyd is NOT installed please ignore this section. If faploicy is installed please run the below command to whitelist the install directory for Apache Tomcat.
# as root user echo "allow perm=any uid=visiblethread : dir=/opt/visiblethread/tomcat/" >> /etc/fapolicyd/rules.d/01-visiblethread.rules fapolicyd-cli --update systemctl restart fapolicyd sudo systemctl restart visiblethread-docs.service