Login to your server via ssh $ ssh root@server-ip-address Initial Server Setup: Create a new user and set the password: $ adduser ubuntu
Django Dockerfile Sure, here's an example Dockerfile for building a Django project: # Use an official Python runtime as a parent image FROM python:3.8-slim-buster # Set the working directory to /app WORKDIR /app
Create Space in DigitalOcean and setup necessary keys and access point. Use the following link to create space: https://cloud.digitalocean.com/spaces/new Choose nearest region in the Region section. Check "Enable CDN" option to get fastest delivery of web assests. Now input a unique name relavent to your project in the "Bucket Name" section. Now create the space. This will take a couple of seconds to get the space created. Copy the Origin endpoint (in top right corner of the Space details page) and note it down somewhere else. Create Access keys for DigitalOcean Space
Change from current user to root user $ sudo -s Now change to postgres user $ su - postgres Create a simple backup. (Optional, just for test)
SoftEther VPN Server Setup Follow the instructions below to setup OpenVPN and SoftEther Server Manager. Make sure you have a Linux server, which will be used as a VPN server. ssh into the server by the following command: $ ssh root@your_server_ip_address