Our step-by-step guide to prepare a laptop with the minimum prerequisites for our open source software.
Learn how we at reelyActive prepare a laptop, starting with a Xubuntu installation, to efficiently run our open source software.
Download Xubuntu 18.04 LTS and install it as the primary operating system of the laptop.
From any Internet-connected computer :
You should now have Xubuntu 18.04 LTS on a bootable media that the target laptop can accept. Let's install!
Boot the target laptop with the Xubuntu 18.04 LTS installation media and, when prompted, select the option to Install Xubuntu (rather than simply Try Xubuntu). Then,
Xubuntu will now be written to the hard disk. In parallel, there will be prompts to configure personalisation settings.
While Xubuntu is being written to the hard disk, complete the following when prompted:
Wait for the installation to complete, and when prompted, remove the installation media and restart. Xubuntu 18.04 LTS is now installed and configured!
Install Elasticsearch 7.x with Java as a prerequisite, and configure to run on boot.
Once the laptop has booted up, ensure it is connected to the Internet.
Open a terminal and then:
sudo apt update sudo apt install default-jdk Open a terminal and then:
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - sudo apt-get install apt-transport-https echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list Xubuntu now knows where to find and how to download the Elasticsearch and Kibana APT packages.
Open a terminal then install Elasticsearch 7.x with the command sudo apt-get update && sudo apt-get install elasticsearch
Elasticsearch is now installed.
Open a terminal and then:
sudo /bin/systemctl daemon-reload sudo /bin/systemctl enable elasticsearch.service Elasticsearch will automatically start the next time the laptop is restarted.
Open a terminal then open the elasticsearch.yml file for editing with the command sudo nano /etc/elasticsearch/elasticsearch.yml and paste in the following lines:
http.cors.enabled: true
http.cors.allow-origin: /https?:\/\/localhost(:[0-9]+)?/
http.cors.allow-methods: GET, POST
path.repo: ["/var/backups/elasticsearch"]
This will allow API access to Elasticsearch by software, such as the reelyActive open source software, running on the same machine (localhost). This will also specify the path for backups, a folder that must be created as follows:
cd /var/backups sudo mkdir elasticsearch sudo chown -R elasticsearch:elasticsearch elasticsearch Elasticsearch is now installed and configured.
Install Kibana 7.x, and configure to run on boot.
This step assumes that the previous step, Installing Elasticsearch 7.x, is already completed.
Open a terminal then install Kibana with the command sudo apt-get update && sudo apt-get install kibana.
Kibana is now installed.
Open a terminal and then:
sudo /bin/systemctl daemon-reload sudo /bin/systemctl enable kibana.service Kibana will automatically start the next time the laptop is restarted.
Procedure to come...
The laptop is prepared for installation of the reelyActive open source software suite, which is the subject of the next tutorial:
It's based on Bootstrap 4 MIT and Font Awesome 5 (Free) MIT. Our Web Style Guide MIT has all the details. Sharing and feedback are encouraged!
reelyActive's Web Style GuideContinue exploring our open architecture and all its applications.