Skip to content

Instantly share code, notes, and snippets.

View cybertuts's full-sized avatar

CyberTuts cybertuts

View GitHub Profile
@cybertuts
cybertuts / install-rust-ubuntu.txt
Last active February 10, 2023 10:58
Install Rust on Ubuntu
# 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
@cybertuts
cybertuts / install-go-ubuntu
Created February 10, 2023 06:41
Install Go on Ubuntu
# Install curl
sudo apt install curl
@cybertuts
cybertuts / install-nginx-ubuntu.txt
Created February 15, 2023 16:31
Install Nginx on Ubuntu
# 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
@cybertuts
cybertuts / install-netcore-ubuntu.txt
Created February 16, 2023 07:18
Install .NET Core SDK on Ubuntu
# 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
@cybertuts
cybertuts / install-nodejs-ubuntu.txt
Created February 16, 2023 07:26
Install Node.js on Ubuntu
# Install Node.js
sudo apt update
sudo apt install nodejs
# Verify
node -v
@cybertuts
cybertuts / install-ruby-ubuntu.txt
Created February 16, 2023 14:12
Install Ruby on Ubuntu
# Install Ruby
sudo apt update
sudo apt install ruby-full
# Verify
ruby --version
@cybertuts
cybertuts / install-jdk-ubuntu.txt
Created February 16, 2023 14:24
Install JDK on Ubuntu
# Install JDK
sudo apt update
sudo apt install default-jdk
# Verify
javac -version
@cybertuts
cybertuts / install-mongodb-ubuntu.txt
Created February 22, 2023 16:12
Install MongoDB on Ubuntu
# Install MongoDB
sudo apt update
sudo apt install mongodb-org
# Start
sudo systemctl start mongod.service
# Verify
sudo systemctl status mongod