Commit 3ae82100 authored by George L'Heureux's avatar George L'Heureux

Changign install instructions

parent 3db93b58
......@@ -52,31 +52,28 @@ The following steps should be executed in order
.. code-block:: bash
sudo adduser team_svc_admin
sudo useradd -r aginity-team
# make directory in /opt to hold the software
sudo mkdir /opt/aginityteam
sudo mkdir /opt/aginity/
# change ownership to the team_svc_admin to administer the software directory
sudo chown team_svc_admin aginityteam
sudo chown aginity-team:aginity-team /opt/aginity/
.. note::
You can use any account or name you wish but from instead of team_svc_admin replace that with the name you chose.
**Step 3:** Let's SFTP as that new user and copy the tar file to the user directory using this set of commands
**Step 3:** Let's get the tar file from Amazon S3 to the user directory using this set of commands
.. code-block:: bash
sftp team_svc_admin@<ip_address>
sudo su aginity-team
cd /opt/aginityteam
put aginity-team-linux-<version#>-x64.tgz
quit
wget --no-check-certificate https://repository.aginity.com.s3.amazonaws.com/AginityTeam/aginity-team-linux-<version#>-x64.tgz
**Step 4:** Now ssh as that user so we can install the software
**Step 4:** Now uncompress and install the software
.. code-block:: bash
ssh team_svc_admin@<ip_address>
cd /opt/aginityteam
# uncompress the file
tar -xvzf aginity-team-linux-<version#>-x64.tgz
......@@ -89,7 +86,7 @@ The following steps should be executed in order
.. code-block:: bash
cd /opt/aginityteam/bin
cd bin
# this creates the key
bash key-gen.sh
# this registers the key with the software
......@@ -101,9 +98,8 @@ The following steps should be executed in order
.. code-block:: bash
cd /opt/aginityteam/bin
# this will generate certificate
bash ssl_certificate_gen.sh
bash ssl-certificate-gen.sh
You will be asked for the following information
......@@ -113,7 +109,34 @@ You will be asked for the following information
#. Name of City or Locality
#. Name of State or Province
#. Name of Country code
#. Finally when asked to "Enter key password for <aginity_cert> (RETURN if same as keystore password): " use the default password **changeit**
#. Finally when asked to "Enter key password for <aginity_cert> (RETURN if same as keystore password): " press RETURN
To set up the systemctl files:
.. code-block:: bash
vi aginity_team.service
Insert the following in the unit file
.. code-block:: bash
[Unit]
Description=Aginity Team
[Service]
Type=simple
Environment=“AGINITY_ENCRYPTION_KEY=YOUR_KEY_HERE”
ExecStart=/bin/bash /opt/aginity/bin/team-server-start.sh
[Install]
WantedBy=multi-user.target
Then perform the following:
.. code-block:: bash
sudo cp aginity_team.service /etc/systemd/system/aginity_team.service
sudo chmod 644 /etc/systemd/system/aginity_team.service
sudo systemctl daemon-reload
Starting Aginity Team Server
================================
......@@ -124,22 +147,13 @@ Starting Aginity Team Server
.. code-block:: bash
# invoke the startup command with logging
cd /opt/aginityteam/bin
nohup bash team-server-start.sh > team-logs.out 2>&1 &
If you do not want logging turned on use the following commands
.. code-block:: bash
# invoke the startup command without logging
nohup bash team-server-start.sh >/dev/null 2>&1 &
sudo systemctl start aginity_team
You can check if |var_product_name| is running by issuing this command
.. code-block:: bash
ps aux | grep aginityteam
sudo systemctl status aginity_team
Accessing |var_product_name| for the First Time
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment