This commit is contained in:
DoTheEvo 2023-10-24 22:33:17 +02:00
parent 767038867f
commit 6e6f9c704e
1 changed files with 8 additions and 5 deletions

View File

@ -7,8 +7,7 @@ You know little and want to start somewhere, FAST!
# Requirements # Requirements
* A **spare PC** that will be the server.<br> * A **spare PC** that will be the server. Can be a **virtualmachine**.
Can be **virtualmachine**.. virtualbox, hyperv.
* **Google**.<br> * **Google**.<br>
If the guide says do X, and steps seem insuficient, If the guide says do X, and steps seem insuficient,
you google that shit and add the word **youtube**. you google that shit and add the word **youtube**.
@ -68,7 +67,7 @@ You know little and want to start somewhere, FAST!
**Docker** - a thing that makes hosting super easy, people prepared *recipies*, **Docker** - a thing that makes hosting super easy, people prepared *recipies*,
you copy paste them, maybe edit a bit, run them you copy paste them, maybe edit a bit, run them
* **install docker-compose** - `sudo pacman -S docker-compose` * **install docker-compose and ctop** - `sudo pacman -S docker-compose ctop`
* **enable docker service** - `sudo systemctl enable --now docker` * **enable docker service** - `sudo systemctl enable --now docker`
* add your user to docker group so you dont need to sudo all the time<br> * add your user to docker group so you dont need to sudo all the time<br>
`sudo gpasswd -a noob docker` `sudo gpasswd -a noob docker`
@ -80,8 +79,8 @@ You know little and want to start somewhere, FAST!
Well, its time to learn how to create and edit files and copy paste shit Well, its time to learn how to create and edit files and copy paste shit
in to them, IN LINUX!<br> in to them, IN LINUX!<br>
Honestly could be annoying as fuck at first, but mobaXterm should make it easier Honestly could be annoying as fuck at first, but mobaXterm should make it easier
with the right mouse click paste.<br> with that left directory pane and right mouse click.<br>
Nano editor is relatively simple and everywhere so that will be used. Nano text editor is relatively simple and everywhere so that will be used.
* be in your home directory, the command `cd` will always get you there * be in your home directory, the command `cd` will always get you there
* create directory `mkdir docker` * create directory `mkdir docker`
@ -104,6 +103,10 @@ Nano editor is relatively simple and everywhere so that will be used.
* save using `ctrl+s`; exit `ctrl+x` * save using `ctrl+s`; exit `ctrl+x`
* run command `sudo docker compose up -d`<br> * run command `sudo docker compose up -d`<br>
will say the container started will say the container started
* you can now run command `ctop`<br> a small [utility](https://github.com/bcicen/ctop)
for managing containers<br>
see their status, see their resource use, see their logs (arrow left),
see detailed info(arrow right)
* on your windows machine go to your browser<br> * on your windows machine go to your browser<br>
in address bar put the ip of your server `192.168.1.8` bam<br> in address bar put the ip of your server `192.168.1.8` bam<br>