Setting Up Your VPS from Scratch!

Published: 30 October 2024
on channel: WOCSOL
167
6

"Hey everyone! Welcome back to Wocsol. In today’s video, we’re setting up a VPS from scratch. I’ll guide you through each step, covering some essentials and practical tips to keep things smooth, even if you’ve used the VPS’s IP address before. We’ll look at selecting a plan, organizing your VPS with a structured directory setup, installing essential tools, and setting up security. I’ll also touch on a few advanced tips, like handling known hosts and securing your connection. Let’s get started!”


Join us as we cover essential VPS setup tips and tricks to get your server up and running smoothly!"



#vpsserver r
#ServerSetup
#VPSHosting
#WebHosting
#LinuxServer
#CloudHosting
#ServerManagement
#TechTutorial
#BeginnerGuide
#UbuntuServer
#CloudServer
#SSH
#WebDevelopment
#NetworkingBasics
#VirtualServer
#OnlineSecurity
#Cybersecurity
#RemoteAccess
#SystemAdmin
#ServerConfiguration
#TechTips
#VPSConfiguration
#SelfHosting
#DevOpsTutorial
#WebServer


Commands:

1. to connect with vps remotely /to start connection
ssh ubuntu@your_vps_ip
or ssh root@your_vps_ip

2. to remove conflicting known hosts
ssh-keygen -R

3. to update packages
sudo apt update && sudo apt upgrade -y

4. to create basic directories or you can choose your own directory names
mkdir -p ~/apps ~/databases ~/logs

5. to install basic essentials - curl, wget and git
sudo apt install -y build-essential curl wget git

6. for firewall settings
sudo ufw allow OpenSSH
sudo ufw allow http
sudo ufw allow https
sudo ufw enable

7. to install nodejs - downloading node url command
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -

8. installing nodejs
sudo apt install -y nodejs

9. installing pm2
sudo npm install -g pm2