Last active
March 24, 2025 19:13
-
-
Save noahjames404/2500930cc1e54f558a7eab7dc2bdc0b1 to your computer and use it in GitHub Desktop.
vps linux quick setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #amazon-linux reference - https://docs.aws.amazon.com/linux/al2023/release-notes/all-packages-AL2023.6.html | |
| sudo dnf update | |
| #installation | |
| sudo dnf install -y vim curl unzip nginx certbot python3-certbot-nginx postgresql16.x86_64 postgresql16-server nodejs git --skip-broken | |
| #nginx | |
| sudo systemctl enable nginx && sudo systemctl start nginx && systemctl status nginx | |
| ln -s /etc/nginx nginx | |
| #postgres | |
| sudo postgresql-setup --initdb && systemctl start postgresql && systemctl enable postgresql && passwd postgres | |
| #nodejs | |
| node -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment