Difference between revisions of "Installing the Qredit core on Ubuntu18.04"

From rdkwiki
Jump to: navigation, search
Line 13: Line 13:
 
* '''sudo usermod -aG sudo qredit'' --> add the user qredit to the sudo users
 
* '''sudo usermod -aG sudo qredit'' --> add the user qredit to the sudo users
  
== Disable root access completely ==
+
== Completely disabled root access and switch to the new account ==
* '''sudo passwd -l root''' --> check the hostname configuration
+
* '''sudo passwd -l root''' --> root can't login anymore
 +
* '''su - qredit''' --> login as the new qredit user
  
== Update the system with latest security and software patches ==
+
== download core-control and start the installation ==
* '''yum update''' --> check for new version and updates the system when you accept the installation
+
* '''git clone https://github.com/qredit/core-control''' --> clone the GitHub repository
* '''reboot''' --> restart the system after installation
+
* '''cd core-control''' --> move into the directory
 +
* '''./ccontrol.sh install core''' --> start the installation
 +
* '''sudo reboot''' --> restart the system after installation
  
 
== Securing SSH access ==
 
== Securing SSH access ==
 
You can find this here: [[SSH key-based authentication]]
 
You can find this here: [[SSH key-based authentication]]

Revision as of 13:14, 4 May 2019

Intro

These step by step instructions successfully install the Qredit Core successfully on Ubuntu 18.04:

Installing the Ubuntu 18.04 server

  • Do a clean install of Ubuntu 18.04 on a VM
  • make the installation as clean as possible, don't install any options unless you need them.
  • sudo apt-get update -y && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y --> Make sure everything is up-to-date

Not going to explain the installation of Ubuntu 18.04 here step by step.

Adding a user for the Qredit Core

  • sudo adduser qredit --> create the user
  • 'sudo usermod -aG sudo qredit --> add the user qredit to the sudo users

Completely disabled root access and switch to the new account

  • sudo passwd -l root --> root can't login anymore
  • su - qredit --> login as the new qredit user

download core-control and start the installation

  • git clone https://github.com/qredit/core-control --> clone the GitHub repository
  • cd core-control --> move into the directory
  • ./ccontrol.sh install core --> start the installation
  • sudo reboot --> restart the system after installation

Securing SSH access

You can find this here: SSH key-based authentication