Digital Ocean, Welcome to the developer cloud. They make it simple to launch in the cloud and scale up as you grow—whether you’re running one virtual machine or ten thousand.
- Go to Digital Ocean with the previus link and create an account or Click this link for a $100 credit for 60 days (pretty much two months free)
- Create a $6 Droptlet with Ubuntu 22.04, selecting a temporary password option.
- Copy the IP Address when the server is created.
- Login to the server with Putty on Windows, or SSH with Powershell, or ssh command on mac
- ssh root@SERVER_IP_ADDRESS
- DO Console click on DNS
- Add Site and point @ to server, change TTL to 30 for quick propagation (Change that back later)
- On your domain registrar (Probably GoDaddy)
- Change Name Servers to the One that DO Have
- Point Domain to Server
- Update server components list with
apt update - Upgrade server components with
apt upgrade - Remove unused apps with
apt autoremove
adduser usernameWhere username is the name that you want to use 1.1 Type password and information neededusermod -aG sudo usernameWhere username is the user created in previous step- Test user conenction exits the server and acces now with
usernameinstead ofroot - Log back with root and execute
sudo nano /etc/ssh/sshd_config - Change
PermitRootLogin yestoPermitRootLogin noand#PermitEmptyPasswords notoPermitEmptyPasswords no - Exit and save with
Ctrl+xand thenYand finallyEnter - Restart ssh with
/etc/init.d/ssh restart - Exit the server
- Login with your username account (not root)
- Type
sudo ufw statusto view firewall status - Install Firewall if is needed with
sudo apt-get install ufw - Enable Ports on Firewall:
sudo ufw allow ssh
sudo ufw allow http
sudo ufw allow https
sudo ufw allow 3000- Enable Firewall
sudo ufw enable - Type
sudo ufw statusto view firewall status
sudo apt install docker.io docker-compose -ywget -q https://get.coollabs.io/coolify/install.sh -O install.sh; sudo bash ./install.shNavigate to http://SERVER_IP:3000
Follow Rest of Instructionf from https://youtu.be/CfdPyASUSkI