The SNAPT Server mediates between the Research Web UI and the Tablets deployed in the field. It runs on a securely provisioned machine in Amazon’s EC2 cloud.
- Install emacs: sudo apt-get install emacs
- Install tomcat
- https://www.digitalocean.com/community/tutorials/how-to-install-apache-tomcat-8-on-ubuntu-16-04
- Step 3: Make sure to copy the link from the website. It does not work if we use link given in the instructions.
- Step 7: username = grouptheory, password = Gr0upth30ry!!tomcat
- https://www.digitalocean.com/community/tutorials/how-to-install-apache-tomcat-8-on-ubuntu-16-04
- Initial server setup
- https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-16-04
- Step 2: adduser = grouptheory, password = t1nstas,t100,
- Step 4: passphrase = Gr0upth30ry!!passphrase (last step)
- https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-16-04
- Install LAMP
- https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04
- Step 2: MySQL root, password = Gr0upth30ry!!mysql$%&
- Password strength = 0 (LOW)
- Change password? No
- Remove anonymous users? Yes
- Disallow login remotely? No
- Remove test database and access to it? Yes
- Step 3: Install PHP did not install any extra packages
- Step 2: MySQL root, password = Gr0upth30ry!!mysql$%&
- https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04
- Install PHPMyAdmin
- https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-16-04
- Phpmyadmin password = Gr0upth30ry!!phpmy@dmin$%&
- Create .htpasswd for authentication username = codebot, password = v3r1ta5!
- https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-16-04
- Install Dotnet Core Runtime
- https://dotnet.microsoft.com/download/linux-package-manager/ubuntu16-04/runtime-current
- This one does not work when trying to execute dotnet because it is 2.2.0 and my project is dotnet 1.1.2.
- https://github.com/dotnet/core/blob/master/release-notes/download-archives/1.1.2-download.md
- Used the above link to install 1.1.2 following the instructions from Ubuntu 16.04. After installing this version, dotnet executed successfully.
- https://dotnet.microsoft.com/download/linux-package-manager/ubuntu16-04/runtime-current
- Mkdir /log/snapt
- Chown -R root:tomcat /log/snapt
- Chmod -R 771 /log/tomcat
- Sudo adduser frontend: password = fr0nt3nd!!$$
- Sudo adduser tomcat sudo
- Sudo groupadd snapt
- Sudo adduser frontend snapt
- Sudo adduser tomcat snapt
- Mkdir /home/grouptheory/ResearcherUI
- Chown root:snapt -R ResearcherUI
- Chmod 714 ResearcherUI
- Chmod 774 nohup.out
- Chown tomcat:snapt -R /var/data
- Chmod 770 /var/data
- Run dotnet as tomcat -> nohup dotnet SNAPT.dll