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 username
Where username is the name that you want to use 1.1 Type password and information neededusermod -aG sudo username
Where username is the user created in previous step- Test user conenction exits the server and acces now with
username
instead ofroot
- Log back with root and execute
sudo nano /etc/ssh/sshd_config
- Change
PermitRootLogin yes
toPermitRootLogin no
and#PermitEmptyPasswords no
toPermitEmptyPasswords no
- Exit and save with
Ctrl+x
and thenY
and finallyEnter
- Restart ssh with
/etc/init.d/ssh restart
- Exit the server
- Login with your username account (not root)
- Type
sudo ufw status
to 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 status
to view firewall status
sudo apt install docker.io docker-compose -y
wget -q https://get.coollabs.io/coolify/install.sh -O install.sh; sudo bash ./install.sh
Navigate to http://SERVER_IP:3000
Follow Rest of Instructionf from https://youtu.be/CfdPyASUSkI