How to Install Gitlab on VPS for less than $20 budget under 5 minutes

Yes. The title is taken from email subject icon smile How to Install Gitlab on VPS for less than $20 budget under 5 minutes

After I help my friend set spf record for his gitlab I got email from a friend who has a computer course. His student around 400 and he want to give ‘collaboration’ feel to their programming curriculum. He ask me to help him install gitlab with $20 budget.

I told him to use free github.com account or free gitlab.com account but he refuse. He also want his staff has control for their server. I give him a few reference from internet but he got confuse and already dizzy at the first time he saw console icon smile How to Install Gitlab on VPS for less than $20 budget under 5 minutes

Due to distance problem I decide to use vps from vultr than using his server. (Actuallly the server is connected to internet using adsl and only fast access via lan connnection that make me worry about the performance.).

Choose provider

Based on gitlab ce (community edition) requirement I need vps that match :

CPU : 2 cores

Memory : 2GB ( for up to 500 user)

Storage : > 20 GB and SSD preferred.

Latency : closest one to my country (check via ping, the lower respond than the connectivity is great).

Based on that requirement I choose $15 package from vultr.

More

How to add spf record for subdomain on cpanel (gitlab case)

This is a long time draft that I thought already publish till I update some wordpress plugin. My friend who open software house came send me private message. He ask me if I have an idea why his email not delivered. He install a software called gitlab. This software basically manage operation of git from web based application.

After login to his server I realize that his vps provider blocked port 25. This port is designed for send email. To overcome this issue just open a ticket and told them about the problem. Attach the output of this command :

mailq

After few minutes (almost one hour) ticket responded and port unblocked. Now I see email arrive to mailbox.

More