mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-09 03:31:33 -05:00
apt update and autoremove
This commit is contained in:
parent
80c2957f6c
commit
ebf0284c32
@ -21,8 +21,11 @@ sudo sed -ie '/^UMASK\s\+/ s/022/077/' /etc/login.defs
|
|||||||
sudo sed -i 's/USERGROUPS_ENAB yes/USERGROUPS_ENAB no/g' /etc/login.defs
|
sudo sed -i 's/USERGROUPS_ENAB yes/USERGROUPS_ENAB no/g' /etc/login.defs
|
||||||
echo "umask 077" | sudo tee --append /etc/profile
|
echo "umask 077" | sudo tee --append /etc/profile
|
||||||
|
|
||||||
# Make sure the system has curl (minimal installs do not include it)
|
# Update and install packages
|
||||||
|
sudo apt update -y
|
||||||
|
sudo apt full-upgrade -y
|
||||||
sudo apt install -y curl
|
sudo apt install -y curl
|
||||||
|
sudo apt autoremove -y
|
||||||
|
|
||||||
# Setup NTS
|
# Setup NTS
|
||||||
sudo systemctl disable systemd-timesyncd
|
sudo systemctl disable systemd-timesyncd
|
||||||
|
@ -15,6 +15,7 @@ sudo apt purge -y aide*
|
|||||||
sudo apt update -y
|
sudo apt update -y
|
||||||
sudo apt full-upgrade -y
|
sudo apt full-upgrade -y
|
||||||
sudo apt install -y curl fwupd libpam-pwquality tuned unbound
|
sudo apt install -y curl fwupd libpam-pwquality tuned unbound
|
||||||
|
sudo apt autoremove -y
|
||||||
|
|
||||||
# Setup NTS
|
# Setup NTS
|
||||||
sudo systemctl disable systemd-timesyncd
|
sudo systemctl disable systemd-timesyncd
|
||||||
|
Loading…
Reference in New Issue
Block a user