2Smart Standalone installation script ubuntu

Operation system

  • Ubuntu 20,22.04 LTS (The best choice)

What you need to know before starting

The machine can be absolutely clean since the script installation includes the necessary components for the service to work. Still, to install the script, the machine must be installed CURL:

sudo apt-get update && sudo apt-get install curl

Installation

After that, you can install the application by running the following command in the terminal window:

curl -V > /dev/null && mkdir -p 2smart && cd 2smart && curl https://standalone.2smart.com/install_2smart.sh > install_2smart.sh && chmod +x install_2smart.sh && sudo ./install_2smart.sh

Copy installation script from our website

2Smart Standalone installation

After entering the command to install the application, you will be prompted to enter a Private token.

Your private token: glpat-SRkYHP4dXGKBS21zjZQS

2Smart Standalone installation

Since the application is deployed in Docker containers, you will be prompted to install Docker and Docker-compose if you do not have them installed.

If they are already installed, the script will not install or update them. ( But there may be some problems if you have an outdated version of docker installed).

2Smart Standalone installation

2Smart Standalone installation

After that, the docker images of our application automatically will start downloading.

2Smart Standalone installation

2Smart Standalone installation

After downloading all images, they will be started immediately. In the logs, you will see credentials to the admin panel and the local IP address on which the server was deployed.

2Smart Standalone installation

At this stage, the core services are already installed.

You will also be prompted to install additional services, which include Grafana (at this stage, this is an optional item since the application has already been downloaded and raised)

2Smart Standalone installation

For Grafana installation, press the spacebar to select (we will have more services in the future) and Enter.

After installation, you will see the corresponding text:

2Smart Standalone installation

For the last two lines, don't worry, as they give root rights to use docker commands without SUDO. You can customize it yourself.

The entire installation of the application is completed. Now you can make sure that the application works by going to the IP address that was displayed to you after the containers were launched.

2Smart Standalone installation

2Smart Standalone installation

You can also check the status of the application containers yourself. As you can see, all services are up and running.

2Smart Standalone installation

The application directory is also automatically created

2Smart Standalone installation

results matching ""

    No results matching ""