Simple few steps configuration Gitlab

Source: Internet
Author: User

Simple few steps configuration Gitlab

It takes a lot of steps to configure Gitlab before you install Apache2, Ruby, Tomcat, MySQL, and much more. Is there a simpler way? Now you can use Bitnami to simplify a lot.

can refer to the article written by Vpsee: http://www.vpsee.com/2012/11/install-gitlab-on-ubuntu-12-04/

Cd/opt

wget Https://bitnami.com/redirect/to/48156/bitnami-gitlab-7.6.2-0-linux-installer.run

./bitnami-gitlab-7.6.2-0-linux-x64-installer.run--apache_server_port 9000

Steps can also be consulted: Https://bitnami.com/stack/gitlab/README.txt

[[email protected] opt]#./bitnami-gitlab-7.6.2-0-linux-x64-installer.run--apache_server_port 9000The Installer detects that exists a ' git ' user in the system. This installer would change the configuration for this user. Want to continue the installation? [y/n]: Ythe installer detects that exists a ' gitlab_ci ' user in the system. This installer would change the configuration for this user. Want to continue the installation? [y/n]: y----------------------------------------------------------------------------Welcome to the Bitnami Gitlab Stack Setup Wizard.----------------------------------------------------------------------------Select The want to install; Clear the want to install. Click Next When your is ready to continue. Gitlab:y (cannot be edited) GitLab CI [y/n]: YIs The selection above correct? [y/n]: Y----------------------------------------------------------------------------installation Folderplease, Choose a folder to InStall Bitnami Gitlab stackselect a folder [/opt/gitlab-7.6.2-0]:---------------------------------------------------- ------------------------Create admin Accountbitnami Gitlab Stack Admin user Creationemail Address [[email  Protected]: [Email protected]login [user]: Haochuangpassword:P Lease Confirm your password:Warning:Please use ALP Hanumeric characters onlypress [Enter] to continue:---------------------------------------------------------------  -------------Create admin Accountbitnami Gitlab Stack Admin user Creationemail Address [[email protected]]:${useremail}Login [Haochuang]:${useraccount}Password:${USERPASSWD}Please confirm your password:----------------------------------------------------------------------------Hostname That'll be used to create internal URLs. If This value is incorrect, the unable to access your Gitlab installation from the other computers. It is advisable to use a Domain instead of an IP address for compatibility with different browsers. Domain [127.0.1.1]:${serverip}Do you want to configure mail support? [y/n]: y----------------------------------------------------------------------------Configure SMTP settingsthis is Required so your application can send notifications via email. Default email provider:[1] gmail[2] customplease Choose an option [1]: 2----------------------------------------------- -----------------------------Configure SMTP settingsthis data is stored in the application configuration files and could be Visible to others. For the-this reason, it's recommended, so you don't use the your personal account credentials. Username []: Haochuangpassword:re-enter:smtp Host []: Smtp.exmail.qq.comSMTP Port []: 25Secure connection[1] none[2] SSL [3] tlsplease Choose an option [3]: 2---------------------------------------------------------------------------- Setup is now the ready to begin installing Bitnami Gitlab Stack on your computer. Want to continue? [y/n]: Y----------------------------------------------------------------------------Please waitWhile the Setup installs Bitnami Gitlab Stack on your computer. Installing 0% ______________ 50% ______________ 100% #########################################---------------------- ------------------------------------------------------Setup have finished installing Bitnami Gitlab Stack on your Computer. Info:to access the Bitnami Gitlab Stack, go tohttp://127.0.1.1:9000 from your browser. Press [Enter] to continue:

After the wait is complete, the http://127.0.1.1:9000/is turned on for normal access.

Before I took a detour, referring to the problem here solution: https://community.bitnami.com/t/gitlab-http-port/20767

In addition, when you start to install, you can see a lot of help information:./bitnami-gitlab-7.6.2-0-linux-x64-installer.run--help

If you have already installed the installation, just because of port conflict, ready to modify the port, you can also do this:

1. To stop the service, modify the following configuration file:

/opt/gitlab-7.6.2-0/properties.ini:apache_server_port=9000/opt/gitlab-7.6.2-0/apps/gitlab/conf/ Httpd-app.confpassengerprestart http://127.0.0.1:900012/opt/gitlab-7.6.2-0/apps/gitlab/htdocs/config/ gitlab.ymlport:9000/opt/gitlab-7.6.2-0/apps/gitlab/gitlab-shell/config.ymlhttp://yourip:90006/opt/ gitlab-7.6.2-0/apps/gitlabci/gitlabci-runner/config.ymlurl:http://yourip:90006/opt/gitlab-7.6.2-0/apps/ Gitlabci/htdocs/config/application.yml ' Http://yourIP:9000/'/opt/gitlab-7.6.2-0/apache2/conf/httpd.conflisten 9000

2. Restart the service:

/opt/gitlab-7.6.2-0/ctlscript.sh restart

3.tingzhi Stop Service:

/opt/gitlab-7.6.2-0/ctlscript.sh stop

4. Uninstall Gitlab:

./opt/gitlab-7.6.2-0/uninstall

5. Review the process:

Ps-ef |grep httpd

If you have additional questions, please check here for a log:

/opt/gitlab-7.6.2-0/apache2/logs, mainly view the Error_log log, analyze the problem based on the error message, and resolve it one by one.

Simple few steps configuration Gitlab

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.