Installing Onepoint through Installation Script
You can also install Onepoint through its installation script. The video and detailed steps below shows the process.
Contents
Preparing the machine
- CentOS 7
- MariaDB 10 or later, or MySQL 7 or later
- EPEL Repository (epel-release-7)
- Python 2.7 + pip (up2date, it depends on) + paramiko (Python Module)
- Git Client
- psmisc package
Create app folder
Create folder /home/_onepoint_root
Create onepoint user
You need to create a onepoint user, give the ownership of /home/_onepoint_root to it, and login with this user to continue.
Clone the repository
Clone the repository in /home/_onepoint_root/update
]$ cd /home/_onepoint_root ]$ git clone git@bitbucket.org:netbr-onepoint-installer.git update
Execute the installation script
]$ /home/_onepoint_root/update/managed-installer
Installer will check the pre-reqs, and if anyone is missing, it will install the necessary packages. In this case, after the pre-reqs installation, you will need to run the installer again.
Parameter configuration
Need to configure parameters on /home/_onepoint_root/config/web
Run the update script
Run the update script (To run this script, you already need to have the license installed - after our team instructions on licensing)
]$ /home/_onepoint_root/update/managed-update
After updating, this script will return a error message for the connection on the executor app, and this error can be ignored. It occurrs because there are still pending configurations to perform.
Configure the web server
Create a symbolic link or alias named /onepoint such that the path points to /home/_onepoint_root/web and make sure it's accessible.
Initizalize the database
Open a web browser and run http://[SERVER]/onepoint/initialize/zero
Test the web endpoint
Open http://<SERVER>/onepoint Login screen must appear
Start task executor
Start executor through script /home/_onepoint_root/update/managed-start-worker