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
| # Install MongoDB | |
| sudo apt update | |
| sudo apt install mongodb-org | |
| # Start | |
| sudo systemctl start mongod.service | |
| # Verify | |
| sudo systemctl status mongod |
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
| # Install JDK | |
| sudo apt update | |
| sudo apt install default-jdk | |
| # Verify | |
| javac -version |
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
| # Install Ruby | |
| sudo apt update | |
| sudo apt install ruby-full | |
| # Verify | |
| ruby --version |
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
| # Install Node.js | |
| sudo apt update | |
| sudo apt install nodejs | |
| # Verify | |
| node -v |
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
| # Check Ubuntu's version | |
| lsb_release -a | |
| # Enable Microsoft PPA | |
| # Replace the version with the one from the Release field | |
| wget https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb | |
| sudo dpkg -i packages-microsoft-prod.deb | |
| # Installing .NET Core SDK | |
| sudo apt install apt-transport-https |
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
| # Install nginx | |
| sudo apt-get update | |
| sudo apt install nginx | |
| # Configure the firewall | |
| sudo ufw enable | |
| sudo ufw app list | |
| sudo ufw allow 'Nginx HTTP' | |
| sudo ufw status |
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
| # Install curl | |
| sudo apt install curl | |
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
| # Install curl and build-essentials | |
| sudo apt-get update | |
| sudo apt install curl build-essential | |
| # Install rust | |
| curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | sh -s | |
| source $HOME/.cargo/env | |
| # Verify |