erste Einheit - Vorbereitung Lab

This commit is contained in:
bpetschowitsch
2026-03-05 13:27:02 +01:00
parent 8ff6f9e9aa
commit f08dd80fea
2 changed files with 58 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
# Make User a sudoer
Instructions to add user to sudoers
## login as root
```bash
su root
```
provide roots password
## edit /etc/sudoers
```bash
vim /etc/sudoers
```
add following line:
```text
youruser ALL=(ALL:ALL) ALL
```
ensure following line is given (otherwise add it):
```text
%sudo ALL=(ALL:ALL) ALL
```
+33
View File
@@ -0,0 +1,33 @@
# Nginx Installation on Debian
Installation of Nginx on a **Debian-System**.
## System update
System and package update:
```bash
sudo apt update
sudo apt upgrade -y
```
### Install Nginx
```bash
sudo apt install nginx -y
```
### Verify Nginx status
```bash
sudo systemctl status nginx
```
### Test Nginx
Testing Nginx via browser: replace *server_ip_address* with your servers IP-Address.
You have to see **"Welcome to nginx!"**.
```
http://server_ip_address
```