meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
groups:mg:private:resonatoren:mg:magnesium-server:start [2021/03/01 08:41] – kretz | groups: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:// | ||
+ | Because you are most probably a windows user, download [[https:// | ||
+ | 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. | ||
+ | At some point you will be asked to choose login data etc., choose the following: | ||
+ | * login: magnesium | ||
+ | * password: **standard magnesium password** | ||
+ | * root-login: root | ||
+ | * password: | ||
+ | < | ||
+ | * name of the computer: thingol | ||
+ | |||
===Preparing our Drives=== | ===Preparing our Drives=== | ||
- | Go through the installer with your desired configuration until you get choose the installation disk. Choose to manually partition the disk. | + | Choose to manually partition the disk. |
{{ : | {{ : | ||
Next choose the first of your future RAID Drives in the installer to create an empty partition. Repeat the process for the second drive. | Next choose the first of your future RAID Drives in the installer to create an empty partition. Repeat the process for the second drive. | ||
Line 30: | Line 47: | ||
Choose a name for the volume group afterwards and continue. On the next screen you will select the previously created MD device. | Choose a name for the volume group afterwards and continue. On the next screen you will select the previously created MD device. | ||
{{ : | {{ : | ||
+ | Confirm to keep the partition layout afterwards. | ||
+ | Next create the first logical volume and name it root. | ||
+ | {{ : | ||
+ | {{ : | ||
+ | Choose about 900G as the Volume Size. It might vary depending on your choosen hdd. Calcute your need beforehand. | ||
+ | {{ : | ||
+ | Repeat the steps for the second LV and name it **swap** with 4G as the volume size. | ||
+ | Confirm and finish afterwards. | ||
+ | {{ : | ||
+ | Next up, format root volume. Select the root volume that was created previously. Pay attention to the name next to the LV. During this installation it should be "LV root". Click continue. | ||
+ | {{ : | ||
+ | Select "Do not use" for the "Use as" setting for the partition. Continue with **Ext4 journaling file system**. | ||
+ | {{ : | ||
+ | Next set the **Mount point** to **"/ - root file system" | ||
+ | {{ : | ||
+ | Now we will do the same for swap. Choose it from the shown list: | ||
+ | {{ : | ||
+ | Choose to use it as **swap area**. It should look like this in the end: | ||
+ | {{ : | ||
+ | Finish and confirm your setup: | ||
+ | {{ : | ||
+ | {{ : | ||
+ | In the end choose to install Debian on the root partition. | ||
+ | ===Installing Software=== | ||
+ | After you are greeted with the desktop of our debian installation, | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | 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:// | ||
+ | |||
+ | Afterwards we create the direction ''/ | ||
+ | * '' | ||
+ | * '' | ||
+ | Navigate to the location with '' | ||
+ | ===Config Files=== | ||
+ | Before starting our grafana instance for the first time, we have to copy the other two folders '' | ||
+ | |||
+ | ===Starting Grafana=== | ||
+ | To start grafana and all the other services, navigate from the terminal to ''/ | ||
+ | With that, you should be able to open '' | ||
+ | |||
+ | |||
+ | |||
+ | < | ||
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 |
- get the configuration and all the connections running | - get the configuration and all the connections running | ||
+ | </ |