标签:
jenkins环境准备:首先检查是否安装java环境:
[root@bogon nginx]# java -version java version "1.7.0_79" Java(TM) SE Runtime Environment (build 1.7.0_79-b15) Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)
java环境已经有了,下面安装jenkins
wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key yum -y install jenkins
启动jenkins
service jenkins start
gitlab的安装:
[root@bogon zhangzhanling]# ./bitnami-gitlab-7.8.1-0-linux-x64-installer.run ---------------------------------------------------------------------------- Welcome to the Bitnami Gitlab Stack Setup Wizard. ---------------------------------------------------------------------------- Select the components you want to install; clear the components you do not want to install. Click Next when you are ready to continue. GitLab : Y (Cannot be edited) GitLab CI [Y/n] :y Is the selection above correct? [Y/n]: y ---------------------------------------------------------------------------- Installation folder Please, choose a folder to install Bitnami Gitlab Stack Select a folder [/opt/gitlab-7.8.1-0]: ---------------------------------------------------------------------------- Create Admin account Bitnami Gitlab Stack admin user creation Email Address [user@example.com]: zhangzhanling@wsdashi.com Login [user]: sa Password : Please confirm your password : ---------------------------------------------------------------------------- Web Server Port Please enter the port that the bundled Apache Server will listen to by default. Apache Web Server Port [80]: Warning: Unable to bind to the given port number. Please select another Apache Server Port. Press [Enter] to continue:80 ---------------------------------------------------------------------------- Web Server Port Please enter the port that the bundled Apache Server will listen to by default. Apache Web Server Port [80]: 9- Warning: Please choose a correct value number for the ports (only digits are allowed) Press [Enter] to continue: ---------------------------------------------------------------------------- Web Server Port Please enter the port that the bundled Apache Server will listen to by default. Apache Web Server Port [9-]: Warning: Please choose a correct value number for the ports (only digits are allowed) Press [Enter] to continue: ---------------------------------------------------------------------------- Web Server Port Please enter the port that the bundled Apache Server will listen to by default. Apache Web Server Port [9-]: 80 Warning: Unable to bind to the given port number. Please select another Apache Server Port. Press [Enter] to continue:80 ---------------------------------------------------------------------------- Web Server Port Please enter the port that the bundled Apache Server will listen to by default. Apache Web Server Port [80]: 10000 ---------------------------------------------------------------------------- MySQL Information Please enter your MySQL database information: MySQL Server port [3306]: 3306 Warning: Unable to bind to the given port number. Please select another MySQL Server Port. Press [Enter] to continue:3306 ---------------------------------------------------------------------------- MySQL Information Please enter your MySQL database information: MySQL Server port [3306]: 3307 ---------------------------------------------------------------------------- Hostname that will be used to create internal URLs. If this value is incorrect, you may be unable to access your Gitlab installation from other computers. It is advisable to use a Domain instead of an IP address for compatibility with different browsers. Domain [192.168.1.158]: Do you want to configure mail support? [y/N]: y ---------------------------------------------------------------------------- Configure SMTP Settings This is required so your application can send notifications via email. Default email provider: [1] GMail [2] Custom Please choose an option [1] : 1 ---------------------------------------------------------------------------- Configure SMTP Settings This data is stored in the application configuration files and may be visible to others. For this reason, it is recommended that you do not use your personal account credentials. GMail address []: GMail password : Re-enter : ---------------------------------------------------------------------------- Setup is now ready to begin installing Bitnami Gitlab Stack on your computer. Do you want to continue? [Y/n]: y ---------------------------------------------------------------------------- Please wait while Setup installs Bitnami Gitlab Stack on your computer. Installing 0% ______________ 50% ______________ 100% ########################################- # ---------------------------------------------------------------------------- Setup has finished installing Bitnami Gitlab Stack on your computer. Info: To access the Bitnami Gitlab Stack, go to http://192.168.1.158:10000 from your browser. Press [Enter] to continue:
标签:
原文地址:http://www.cnblogs.com/ylqh/p/5908988.html