Sometime last year, we had our CTO install gitlab on our servers to better manage our development projects. He documented his processes. This article first appeared on the Chigisoft blog. GitLab , like GitHub is an online repository that allows developers to create, store and manage their projects with the ability to roll back to an earlier state if an error is encountered. To use the online repository, no setup is required, just register an account and start creating projects. My company decided to move our projects and repositories to an online VPS, we chose DigitalOcean Ubuntu Linux droplets which is easy to set up and also Gitlab offline server to store our project files. Digital Ocean has an already packaged droplet omnibus-gitlab-droplet that sets up the gitlab server for you without stress but we also want to use the same droplet to host some of our projects.
Choosing a control panel
This guide will use CentOS 7 as the Linux distribution. If you use any other distribution, you should adjust the command lines shown in this guide accordingly. If you plan on hosting an Apache web server and a mail server on your VPS, you may consider installing a control panel. A control panel is a web-based interface allowing you to manage your web domains, email addresses, backups, etc. Personally I tried two of them DirectAdmin and Virtualmin , before eventually deciding that I'm better off without a control panel. The main reasons I decided not to use any and ultimately turned to strongly dislike them:. The command below allows you to update the latest kernel patches and update installed applications. As these updates may come with security patches, this is the first command you should execute after first login. If you still decided to go for a control panel anyway and if it came already pre-installed by your VPS provider, update the control panel to its latest version by following the procedure in their documentation.
Affordable VPS performance without compromises
There are a variety of options you have to customize your Cloud VPS. Follow the steps in this section to perform an update prior to installing the additional software outlined in the following sections. Just wait for the command prompt to return, indicating that the updates were completed.
That is, it sends web pages — stored as HTML files — to people on the internet who request them. It is open-source software, which means it can be used and modified freely. This helps cut down on the time it takes to update after installation, and it also helps prevent zero-day exploits against outdated software. Note : Replace local.