mirror of
https://github.com/guilhermewerner/dotfiles
synced 2025-06-14 18:34:19 +00:00
Create Ubuntu.sh
This commit is contained in:
34
Scripts/Ubuntu.sh
Normal file
34
Scripts/Ubuntu.sh
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
# Update
|
||||||
|
|
||||||
|
sudo DEBIAN_FRONTEND=noninteractive apt update && sudo DEBIAN_FRONTEND=noninteractive apt upgrade -y
|
||||||
|
|
||||||
|
# Dependencies
|
||||||
|
|
||||||
|
sudo DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends \
|
||||||
|
bash \
|
||||||
|
ca-certificates \
|
||||||
|
curl \
|
||||||
|
git \
|
||||||
|
gnupg \
|
||||||
|
gzip \
|
||||||
|
htop \
|
||||||
|
iputils-ping \
|
||||||
|
lsb-release \
|
||||||
|
nano \
|
||||||
|
neofetch \
|
||||||
|
net-tools \
|
||||||
|
python3 \
|
||||||
|
qemu-guest-agent \
|
||||||
|
tar \
|
||||||
|
ufw \
|
||||||
|
unzip \
|
||||||
|
wget
|
||||||
|
|
||||||
|
# Firewall
|
||||||
|
|
||||||
|
sudo ufw allow "OpenSSH"
|
||||||
|
sudo ufw enable
|
Reference in New Issue
Block a user