How to install & configure GITLAB CI/CD on your own Server — Ubuntu 16.04

GitLab is an online Git repository manager with a wiki, issue tracking, CI and CD. It is a great way to manage git repositories on a centralized server. GitLab gives you complete control over your repositories or projects and allows you to decide whether they are public or private for free.

Before going to start we need to ensure that;

  • We have configured IP as static IP Address
  • We have configured DNS to resolve GITLab IP as required name on network

i.e.   192.168.10.254       gitlab.OpenSourceEducation.net

Here we are going to setup GITLAB Server on our own server based on Ubuntu Machine.

Install and configure the necessary dependencies

sudo apt-get install curl openssh-server ca-certificates postfix

Please select InternetSite during setup of Postfix mail server.

Add the GitLab package server and install the package

curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash

sudo apt-get install gitlab-ce

Configure and start GitLab

sudo gitlab-ctl reconfigure

It will take few minutes to configure required packages, after finishing this process now you need to open your web browser and add your machine ip or domain name

http://192.168.10.254       or http://gitlab.OpenSourceEducation.net

Please use root user and add your new Password in this screen and enjoy your own GITLAB environment.

 

 

What is GRSecurity

Grsecurity® is an extensive security enhancement to the Linux kernel that defends against a wide range of security threats through intelligent access control, memory corruption-based exploit prevention, and a host of other system hardening that generally require no configuration. It has been actively developed and maintained for the past 15 years. Commercial support for grsecurity is available through Open Source Security, Inc.

Continue reading “What is GRSecurity”

Clip Bucket 2.8 on Ubuntu 14.04 with NGINX & PHP5-FPM on DigitalOcean VPS

Setup your own Video sharing website like, Youtube.com , Vimeo.com or dailymotion.com using Clip Bucket video hosting / sharing code in 30 minutes.

First of all we need to update our Ubuntu 14.04 with latest updates

apt-get update
apt-get upgrade

Continue reading “Clip Bucket 2.8 on Ubuntu 14.04 with NGINX & PHP5-FPM on DigitalOcean VPS”