• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Installing Gitlab on Rackspace Cloud Server

By Abhishek Ghosh April 18, 2013 1:35 am Updated on April 18, 2013

Installing Gitlab on Rackspace Cloud Server

Advertisement

Installing Gitlab on Rackspace Cloud Server is the first text guide for our series on Gitlab originated from the article – Options of Installing Gitlab for Code Hosting. We provided the idea on how to calculate the cost of hosting on Cloud platform – its indispensable , specially if you are a new user. Installing Gitlab on Rackspace Cloud Server is a bit complex if you are habituated to install the CMS like Drupal, Joomla! or blogging softwares like WordPress – we basically configure them as LAMP Server.

 

Introduction for Installing Gitlab on Rackspace Cloud Server

 

If you are new to Rackspace Cloud Control Panel or this website, please visit my YouTube profile to check the list to find any guide video on Rackspace Cloud Server. The beginning, that means login; creating a server is better shown on a video than in text. Obviously, we will upload the video of Installing Gitlab on Rackspace Cloud Server too in future. Usually we write the text guide with all commands as the leading article and on the Video Guide, the explanations are written.

 

Installing Gitlab on Rackspace Cloud Server : Steps

 

We are using a Mac with iTerm2 for SSH tunneling. If you want to install some SSL certificate on your server, like for experimentation, you can follow our guide on Installing Free SSL Certificate for Rackspace Cloud Server. That part plus adding domain name on Rackspace Cloud Server. This is unmanaged server setup. Its unmanaged that is why the guide is. You will be billed around a dollar for running for few hours to test. To “Stop Billing”, you have to take the full server’s backup and delete the instance. There is no “pause billing” kind of button still date in server industry (I hope there was).

Advertisement

---

This guide does not include Redis server inclusion. It is purely simple setup.

 

First install sudo :

 

Vim
1
apt-get install sudo

 

Then install vim :

 

Vim
1
sudo apt-get install -y vim

 

Please see this previous guide. This is specially for Windows users and never used Linux users to get an idea what we are doing. We are using the latest Debian 6.0 version. We need to update and edit the sources.list file. Reference can be found in these places :

 

Vim
1
http://www.mayin.org/ajayshah/COMPUTING/debian-principles.html

Vim
1
http://www.debian.org/releases/stable/

 

Run this command :

 

Vim
1
sudo nano /etc/apt/sources.list

 

Uncomment the sources which are commented out. It is somewhat like that linked guide above.

Run update and upgrade :

 

Vim
1
apt-get update

Vim
1
apt-get upgrade

 

It is better to go to the control panel (of Rackspace) and restart the server. Now login through SSH again and install vim :

 

Vim
1
sudo apt-get install -y vim

Run the commands to install all the components :

 

Vim
1
sudo apt-get install -y build-essential zlib1g-dev

Vim
1
sudo apt-get install -y libyaml-dev libssl-dev libgdbm-dev libreadline-dev libncurses5-dev

Vim
1
sudo apt-get install -y libffi-dev curl git-core

Vim
1
sudo apt-get install -y  openssh-server redis-server postfix checkinstall

Vim
1
sudo apt-get install -y  libxml2-dev libxslt-dev libcurl4-openssl-dev libicu-dev

 

You can combine the commands. I have shown separately so that you can notice that this is a setup where open ssh ans Redis are getting installed. Python needs to be 2.7 :

 

Vim
1
sudo apt-get install python2.7

 

You can install latest Python too :

 

Vim
1
sudo apt-get install python

 

In official guide they have symlinked Python’s two versions :

 

Vim
1
sudo ln -s /usr/bin/python /usr/bin/python2

 

Depending on the build, you might get error; then you have to symlink.

 

You have to install Ruby. Reference can be found on official Debian’s Wiki :

 

Vim
1
http://wiki.debian.org/Ruby

 

First go to tmp folder :

 

Vim
1
cd /tmp

 

create a directory named ruby :

 

Vim
1
mkdir ruby

 

Either wget or curl from Ruby’s repo :

 

Vim
1
http://ftp.ruby-lang.org/pub/ruby/

 

For example this tar ball :

 

Vim
1
http://ftp.ruby-lang.org/pub/ruby/ruby-1.9.3-rc1.tar.gz

 

Uncompress it and cd to that named folder. Run these :

 

Vim
1
./configure

Vim
1
make sudo

Vim
1
make install

Vim
1
sudo gem install bundler

 

Now, the work begins for Gitlab :

 

Vim
1
sudo adduser --disabled-login --gecos 'GitLab' git

 

The next commands are for setup of the Gitlab Shell, I have followed the official guide :

 

Vim
1
sudo su git

Vim
1
cd /home/git

Vim
1
git clone https://github.com/gitlabhq/gitlab-shell.git cd gitlab-shell

Vim
1
git checkout v1.1.0 git checkout -b v1.1.0

Vim
1
cp config.yml.example config.yml

 

You need a domain name. Else you will face terrific issues to configure :

 

Vim
1
vim config.yml

Vim
1
./bin/install

 

This is why I pointed you before towards that old domain adding guide.

 

We can use Rackspace Cloud’s Database as a Service (MySQL) and login there as root from command line :

 

Vim
1
mysql -u root -p

 

Vim
1
mysql&gt; CREATE USER '<span style="color: #ff0000;">gitlab</span>'@'<span style="color: #ff0000;">ipaddress</span>' IDENTIFIED BY '$<span style="color: #ff0000;">password</span>';

 

Red fonts are with variable values.

 

Vim
1
mysql&gt; CREATE DATABASE IF NOT EXISTS `<span style="color: #ff0000;">gitlabhq_production</span>`

Vim
1
DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`;

 

The above and below two commands are of one line each. I broken it for WordPress’s issue.

 

Vim
1
mysql&gt; GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX,

Vim
1
ALTER ON `<span style="color: #ff0000;">gitlabhq_production</span>`.* TO '<span style="color: #ff0000;">gitlab</span>'@'ipaddress';

 

Now go to git’s home :

 

Vim
1
cd /home/git

 

Installing Gitlab on Rackspace Cloud Server

 
Now you can follow their official guide from here :

 

Vim
1
https://github.com/gitlabhq/gitlabhq/blob/5-0-stable/doc/install/installation.md#clone-the-source

 

Do not read the SSH guide first. In our case, depending on the cert, the changes will be a bit different. Change according to the changes. Actually changing the IP works.

This is Installing Gitlab on Rackspace Cloud Server guide. There are few differences with the default official one. Gitlab installation part is same. I said at the beginning – its not WordPress! It will take time. But, obviously its less costly way :
 

Vim
1
http://www.gitlab.com/cloud/

 

Clone one copy of all softwares related to Gitlab and create a optical disk. We have seen many open source projects to go free to full paid only options. They simply deletes all the repo from everywhere, the .org point towards the .com. This is a new model, I call it “Open Source as a Service” – when free contributions are not needed, close it. Debian, CentOS, WordPress – these are kind of grand fathers and has no such parallel models.

 
Abhishek-Ghosh

This Article Has Been Shared 645 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Installing Gitlab on Rackspace Cloud Server

  • Installing WordPress on Free Cloud VPS from Host1Free

    Installing WordPress on Free Cloud VPS from Host1Free will follow the same principle as installing on any server with root access from Command Line Interface.

  • Installing WordPress on Rackspace Cloud Server with Cloud Database

    Installing WordPress on Rackspace Cloud Server with Cloud Database can give you a good performance with scalable and economically best solution. Simple Guide.

  • Self Hosted WordPress on Cloud Server for Dummies

    Self Hosted WordPress is itself a scary phrase to a non-tech person and add Cloud Server on it. Here is Very Easy Guide to under Self Hosted WordPress.

  • Downloading or Cloning a Full Website in OS X and Linux with wget

    Downloading or Cloning a Full Website in OS X and Linux with wget can make it fully static and you can deliver it from any CDN like Rackspace Cloud Files.

  • Rackspace Cloud FTP Guide

    Rackspace Cloud FTP Guide covers both the FTP / SFTP for Rackspace Cloud Sites and Rackspace Cloud Server.Here are also tips and tricks for Rackspace Cloud FTP.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Projector Screen Basics February 6, 2023
  • What is Configuration Management February 5, 2023
  • What is ChatGPT? February 3, 2023
  • Zebronics Pixaplay 16 : Entry Level Movie Projector Review February 2, 2023
  • What is Voice User Interface (VUI) January 31, 2023

About This Article

Cite this article as: Abhishek Ghosh, "Installing Gitlab on Rackspace Cloud Server," in The Customize Windows, April 18, 2013, February 6, 2023, https://thecustomizewindows.com/2013/04/installing-gitlab-on-rackspace-cloud-server/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT