medal-data:system-setup
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
medal-data:system-setup [2022/01/17 14:57] – arnaudpoletto | medal-data:system-setup [2022/01/19 09:39] (current) – removed arnaudpoletto | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Setup of medAL-data System ====== | ||
- | |||
- | ===== Purpose and scope ===== | ||
- | |||
- | In this document, you will learn how to perform the basic setup of the MainData System. | ||
- | |||
- | |||
- | |||
- | |||
- | ===== Requirements ===== | ||
- | |||
- | * Server Linux =8gb ram | ||
- | * Storage= 300 gb | ||
- | * Operating System = ubuntu 18.04 | ||
- | |||
- | |||
- | |||
- | |||
- | ===== Install Docker ===== | ||
- | |||
- | - To update ubuntu server, type: < | ||
- | - Install a few prerequisite packages which let apt use packages over HTTPS by typing: < | ||
- | - Add the GPG key for the official Docker repository to your system by typing: < | ||
- | - Add the Docker repository to APT sources: < | ||
- | - Update the package database with the Docker packages from the newly added repository: < | ||
- | - Make sure you are about to install from the Docker repository instead of the default Ubuntu repository: < | ||
- | docker-ce: | ||
- | Installed: (none) | ||
- | Candidate: < | ||
- | Version table: | ||
- | < | ||
- | 500 https:// | ||
- | </ | ||
- | - Finally, install Docker: < | ||
- | - Docker should now be installed, the daemon started, and the process enabled to start on boot. Check that it’s running: < | ||
- | For more information, | ||
- | |||
- | |||
- | |||
- | |||
- | ===== Install Nginx ===== | ||
- | |||
- | - Install nginx: < | ||
- | - Enable nginx in the firewall by typing: < | ||
- | |||
- | |||
- | |||
- | |||
- | ===== Install Dokku ===== | ||
- | |||
- | - Install dokku < | ||
- | sudo DOKKU_TAG=v0.21.4 bash bootstrap.sh</ | ||
- | - Once the installation is complete, you can open a browser to setup your SSH key and virtualhost settings. | ||
- | - Open your browser of choice and navigate to the host's IP address - or the domain you assigned to that IP previously - and configure Dokku via the web admin. | ||
- | |||
- | |||
- | |||
- | |||
- | ===== Domain Setup ===== | ||
- | |||
- | - On Your Server Terminal, set domain: < | ||
- | |||
- | |||
- | |||
- | |||
- | ===== Setting up letsencrypt with Dokku ===== | ||
- | - On your Server Terminal, install letsencrypt plugin with: < | ||
- | - Install certificate with < | ||
- | - Open your browser and test the system. | ||
- | |||
- | |||
- | |||
- | |||
- | ===== Creating an Admin ===== | ||
- | |||
- | - On your server terminal, run: < | ||
- | - Type < | ||
- | - Type < | ||
- | - Type < | ||
- | - Type < | ||
- | - Type < | ||
- | - Try to access the web and log in with this user in the system. | ||
medal-data/system-setup.1642427867.txt.gz · Last modified: 2022/01/17 14:57 by arnaudpoletto