meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
groups:mg:private:resonatoren:mg:magnesium-server:start [2021/03/01 10:30] – login data kretzgroups:mg:private:resonatoren:mg:magnesium-server:start [2021/03/03 11:08] (current) kretz
Line 8: Line 8:
  
 ---- ----
 +====Prerequsities====
 +  * a working computer
 +  * USB thumb drive with at least 4GB of space (it will be formatted in the process)
 +====Install Media Creation====
 +If you don’t already have a boot drive ready, go to their [[https://www.debian.org/distrib/|website]] and download their latest stable .iso from there. From that you have to create a boot drive.
 +Because you are most probably a windows user, download [[https://www.balena.io/etcher/|Etcher]] (also latest) and install it. It doesn’t matter whether you use the portable or the installer version. The pros of the portable version are, that you can use the program shortly after you’ve downloaded it.
 +Run the program, choose your prefered drive to install the boot-media onto and choose the Debian .iso you‘ve downloaded earlier. Click „write“ when everything is selected correctly. This process might take a while.
 +Insert the USB-Drive with the installation-media into the future server, after the flashing process finished. While starting the Server, make sure to repeatedly hit „F12“ or „entf“ to get into the boot menu.
 ====Installation of Debian (RAID1)==== ====Installation of Debian (RAID1)====
 Go through the installer with your desired configuration until you get choose the installation disk. Go through the installer with your desired configuration until you get choose the installation disk.
 At some point you will be asked to choose login data etc., choose the following: At some point you will be asked to choose login data etc., choose the following:
   * login: magnesium   * login: magnesium
-  * password: ramsey+  * password: **standard magnesium password** 
 +  * root-login: root 
 +  * password:  
 +<hidden>HMaser</hidden>
   * name of the computer: thingol   * name of the computer: thingol
  
Line 62: Line 73:
  
 ===Installing Software=== ===Installing Software===
 +After you are greeted with the desktop of our debian installation, start the terminal and update the system:
 +  * ''sudo apt update''
 +  * ''sudo apt upgrade''
  
 +Our most important software is **Docker**. With it you will just have to copy a few files from the wiki here and it will be up and running.
 +We will need **docker-compose** for that. To install it, follow the instructions [[https://docs.docker.com/compose/install/|here]].
 +
 +Afterwards we create the direction ''/home/magnesium/Docker/log'' with
 +  * ''mkdir /home/magnesium/Docker''
 +  * ''mkdir /home/magnesium/Docker/log''
 +Navigate to the location with ''cd Docker/log'' and create a new file with ''nano docker-compose.yml'' or copy the ''docker-compose.yml'' file from [[https://git.iqo.uni-hannover.de/mg/mg-server/src/branch/master/Docker/log|here]]. Do the same with ''grafana.ini'' located at the mentioned location.
 +===Config Files===
 +Before starting our grafana instance for the first time, we have to copy the other two folders ''collectd'' and ''inlfuxdb'' with their content from [[https://git.iqo.uni-hannover.de/mg/mg-server|gitea]] into our home directory ''/home/magnesium/''.
 +
 +===Starting Grafana===
 +To start grafana and all the other services, navigate from the terminal to ''/home/magnesium/Docker/log'' and type in the command ''docker-compose up -d''.
 +With that, you should be able to open ''localhost:3000'' in a web-browser and start configuring grafana for your needs.
 +
 +
 +
 +<hidden>
 There are three basic steps to follow: There are three basic steps to follow:
   - install Debian in RAID   - install Debian in RAID
-  - install all the programs+  - install all the programs (Docker, Grafana, influxdb, collectd)
   - get the configuration and all the connections running   - get the configuration and all the connections running
 +</hidden>