Introduction Some tasks seem so simple when you are performing them regularly. If however you stay for a period of time without performing these tasks, it takes a lot of effort trying to recall the commands and the flow of how you performed those tasks. Setting up websites is one of those tasks; set it up and maybe it will take a long time before you repeat the process; by that time you have already forgetten how you went about it.
Introduction In this post we look at the process of setting up a Git repository on a DigitalOcean droplet running UbuntuĀ 18.04. After setting up the repository, we create a server side hook to automatically deploy a successful git push to a web server. A non-root user with no sudo permissions will be used to create the Git repository. The Git user will also be granted read and write permissions on the website for a successful deployment.
In this article, we go through the process of deploying a Buffalo application to a DigitalOcean Droplet using Docker images. We will utilize the Docker Compose Tool to manage the containers and Systemd to restart our application in case of failure.
Prerequisites You have developed a Buffalo application. I will be using theToodo example application. You have an account with DigitalOcean, You have created a DigitalOcean Droplet based on CoreOs Container Linux You are able to SSH into your Droplet.
Introduction to DNS, IP and Domain Name Domain Name System (DNS) are the equivalent of a network’s phonebook. They maintain human-friendly domain names and resolve these human friendly names to IP addresses. While it is easy for people to remember domain names, computers use IP addresses to communicate.
Internet Protocol (IP) address is a unique identifier label assigned to each device that connects to a network whether local or external. IP addresses are four numeric numbers separated by dots (41.
CoreOs Container Linux is very light in comparison with other Linux distributions and requires applications to run inside their containers.
Create SSH Key Pair For Server Authentication
Login to the server (Droplet) will be via SSH keys and not passwords. SSH keys come in pairs, one private and the other public. The private key is known only to you while the public key can be shared with any SSH server to which you would like to connect.