Skip to content

Commit

Permalink
Added instructions to Ubuntu Server VM
Browse files Browse the repository at this point in the history
  • Loading branch information
syselement committed Mar 20, 2024
1 parent 684aed9 commit ca4d9d0
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 3 deletions.
2 changes: 1 addition & 1 deletion operating-systems/linux/distros/kali-vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ sudo sh -c '
sudo sh -c '
apt install -y curl &&
curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg &&
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main" | tee /etc/apt/sources.list.d/brave-browser-release.list &&
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main" | tee /etc/apt/sources.list.d/brave-browser-release.list &&
apt update &&
apt install -y brave-browser
'
Expand Down
2 changes: 1 addition & 1 deletion operating-systems/linux/distros/parrot-vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ sudo sh -c '
sudo sh -c '
apt install -y curl &&
curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg &&
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main" | tee /etc/apt/sources.list.d/brave-browser-release.list &&
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main" | tee /etc/apt/sources.list.d/brave-browser-release.list &&
apt update &&
apt install -y brave-browser
'
Expand Down
43 changes: 43 additions & 0 deletions operating-systems/linux/distros/ubuntu-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,49 @@ sudo passwd root
> - Follow the guide here to setup `ZSH` with `Oh-My-Zsh` - [Zsh & Oh-My-Zsh - syselement](https://blog.syselement.com/home/operating-systems/linux/tools/zsh)
> - Remove unwanted spam with [UnspamifyUbuntu - Github Skyedra](https://github.com/Skyedra/UnspamifyUbuntu)
---

## Network

### Static IP

- Set a static IP in the **netplan** `.yaml` if not configured during OS installation.

```bash
# Show listening sockets and running services
sudo ss -atpu

# List available network interfaces and use the interface ens32
ip -br -c a

# Disable cloud-init networking configuration - if necessary
sudo nano /etc/cloud/cloud.cfg.d/subiquity-disable-cloudinit-networking.cfg
# Make sure it is "disabled"
# network: {config: disabled}

# Open the netplan configuration file for editing
sudo nano /etc/netplan/00-installer-config.yaml

# This is the network config written by 'subiquity'
network:
version: 2
ethernets:
ens32:
addresses: [<IP>/24]
gateway4: <GATEWAY_IP>
nameservers:
addresses: [1.1.1.1, 9.9.9.9]

# Exit and save

# Apply the netplan configuration changes
sudo netplan apply

# Reboot the system
```



---

## Tuning
Expand Down
2 changes: 1 addition & 1 deletion operating-systems/linux/linuxstuff.md
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ chmod +x usr/local/bin/obsidian
sudo sh -c '
apt install -y curl &&
curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg &&
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main" | tee /etc/apt/sources.list.d/brave-browser-release.list &&
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main" | tee /etc/apt/sources.list.d/brave-browser-release.list &&
apt update &&
apt install -y brave-browser
'
Expand Down

0 comments on commit ca4d9d0

Please sign in to comment.