Resources Blog DevOps Stack: core

DevOps Stack: core

This Project is a single click solution to create a Live DevOps Platform!!

This application enables you to create a DevOps Platform quickly for your organisation/learning without all the hassles of installation and configuration of different core DevOps tools.

The application can be downloaded from here.

The application consists of four core basic DevOps tools required for any deployment work:

1. Jenkins (Continuous Integration & Deployment)
2. GitLab (Git Server for Source code repository)
3. Nexus (Software Repository Manager)
4. Sonarqube (Static Code Analysis)

Each services in the application is designed to run on docker containers.

Note: The current version of the application is designed to run on Ubuntu 16.04 if you are using a Linux Server.

devops-dashboard.jpg

Running the Application

This application is designed to give you the fexibility to run it in different ways as per your requirement.

Windows:

1. Please ensure your system have latest version of vagrant installed and vagrant installation path is set in PATH variable.
2. Download the latest version of the project from the Releases section and unzip it.
3. Open a command prompt and switch to the project directory.
4. Run the command "vagrant up"
5. Wait for the command to complete. It might take sometime depending on the internet speed.
6. After a while, you should get a nice dashboard if you access http://192.168.21.11

Note: You can have a quick look at the vagrantfile and change the server ip if you would like to.

Ubuntu Server

Setup with Docker

1. Login to the server.
2. Download the latest version of the project from the Releases section and un-archieve it.
3. Run the setup script setup-with-docker.sh (./setup-with-docker.sh)
4. Wait for the command to complete. It might take sometime depending on the internet speed.
5. After a while, you should get a nice dashboard if you access http://192.168.21.11

Setup with Ansible

CONFIGURE LOCALLY
 1. Login to the server.
 2. Download the latest version of the project from the Releases section and un-archieve it.
 3. If ansible is not installed in your system, run the installation script install_ansible.sh (./install_ansible.sh)
 4. Verify if ansible is properly installed with the command " ansible --version ". You should get the version and path information. if ansible is properly installed.
 5. Modify the "hosts" file under the directory "inventory". Delete the IP and enter "localhost" under [Server]  
 6. Run the setup script setup-with-ansible.sh (./setup-with-ansible.sh). Enter "1" to setup locally.
 7. Wait for the command to complete. It might take sometime depending on the internet speed.
 8. After a while, you should get a nice dashboard if you access http://192.168.21.11
CONFIGURE ON A REMOTE VM
   1. Login to the Server.
   2. Download the latest version of the project from the Releases section and un-archieve it.
   3. If ansible is not installed in your system, run the installation script install_ansible.sh (./install_ansible.sh)
   4. Verify if ansible is properly installed with the command " ansible --version ". You should get the version and path information. if ansible is properly installed.
   5. Modify the "hosts" file under the directory "inventory". Delete the IP and enter the IP of your remote server under [Server] where you want to configure DevOps-Stack.
   6. Setup password less ssh connectivity with the remote server.
   7. Run the setup script setup-with-ansible.sh (./setup-with-ansible.sh). Enter "2" to setup on a remote server.
   8. Enter the user you want to connect the remote server as.
   9. Wait for the command to complete. It might take sometime depending on the internet speed.
   10. After a while, you should get a nice dashboard if you access http://<remote server ip>

 

Written by Rakesh Dey