Welcome to a series of blogposts about how to set up a little server in a Linux Virtual Machine, if you are not familiar to the topic you can a little more about in here (which is the first part of the series)
Install a Linux distribution
For this task, I chose the Ubuntu 18.04.1 LTS which runs in Virtual Box. This is the same I use for other courses
(maybe this is not a good idea). If you would like to download the same Linux distribution, you can install this “old” mini iso from ubuntu.
Other Linux distributions (thanks to @ken_bauer for the links) :
- Ubuntu Desktop (Links to an external site.)Links to an external site. recommended 18.04 (Bionic Beaver) (Links to an external site.)Links to an external site.
- Interim release 18.10 (Cosmic Cuttlefish) (Links to an external site.)Links to an external site.
- See more info about Ubuntu release cycles (Links to an external site.)Links to an external site..
Install support for your development environment.
The next step you can choose the language you like the most, but for this project I will use Java. Here is a very well explained tutorial in case you want to install Java in your Linux system
Next step will be to set up the Github for pushing into a git repository
Setup web deployment.
I decided to use Node.js as my option for the web development. Be careful because for the Linux 18.04.1 LTS the typical node command has to be instead nodejs as seen in the next example
This is the trickiest part, I’d recommend to first read the first test use of Cron in case you have never used it before, in other case, then just set it up for your desired functionalities