Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save UbuntuEvangelist/b312dcb5ecb15771340414721a3563e4 to your computer and use it in GitHub Desktop.
Save UbuntuEvangelist/b312dcb5ecb15771340414721a3563e4 to your computer and use it in GitHub Desktop.
Things To Do After Installing Ubuntu 24.04 LTS
apt update -y
apt upgrade -y
apt update -y
apt install build-essential checkinstall
apt install ubuntu-restricted-extras
apt install software-properties-common
apt install apt-show-versions
apt upgrade -o APT::Get::Show-Upgraded=true
apt-show-versions | grep upgradeable
apt install git
git config --global user.name "name"
git config --global user.email mail@domain.com
ssh-keygen -t rsa -b 4096 -C "email@gmail.com"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
# Add SSH Key the GitHub
cat /root/.ssh/id_rsa.pub
apt upgrade -y && apt update
apt-get install openssh-server
sed -i 's/^PermitRootLogin.*/PermitRootLogin yes/' /etc/ssh/sshd_config
sed -i 's/^PubkeyAuthentication.*/PubkeyAuthentication yes/' /etc/ssh/sshd_config
sed -i 's/^PasswordAuthentication.*/PasswordAuthentication yes/' /etc/ssh/sshd_config
service ssh restart
apt update -y
apt upgrade -y
apt -f install
apt autoremove
apt -y autoclean
apt -y clean
reboot
@UbuntuEvangelist
Copy link
Author

Screenshot from 2024-06-05 03-57-59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment