The operating system used is Ubuntu Server 14.04.3 lts version.
I. Gitlab installation and Configuration
1. Depending on the installation and configuration
sudo apt-get install curl openssh-server ca-certificates postfix
2. Download the installation package and installation
Curl-ss https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
sudo apt-get install Gitlab-ce
Description: The speed of the domestic network does not require a VPN to install successfully. Of course there is a way to replace the source of Tsinghua, the method is as follows: curl https://packages.gitlab.com/gpg.key 2> /dev/null | sudo apt-key add - &>/dev/null
. /etc/apt/sources.list.d/gitlab-ce.list
comment The content in, and then join deb https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/ubuntu trusty main
. For different operating systems, the corresponding settings need to be set, refer to [4].
3. Configuring and starting the Giblab program
sudo gitlab-ctl reconfigure
4. Login to the Web interface
The user name is root, and the password is set by itself.
Description: After the installation, the rest of the main things are configuration, management and operation.
Two. Bugzilla Installation and Configuration
1. Install perl,mysql,apache2,sendmail
Analytical:
sudo apt--get install perl
sudo apt--get install mysql-server
sudo apt--get install apache2
sudo apt--get install sendmail
2. Download the Bugzilla and install the Perl module
TAR-ZXVF bugzilla-xxx.tar.gz
mv bugzilla-xxx var/www/html
Go to directory/var/www/html/bugzilla, execute sudo perl checksetup.pl, and will tell you that the current bugzilla is still bad for those Perl modules that need to be installed and have prompt installation commands. Then execute the command Sudo/usr/bin/perl install-module.pl--all. Encountered error error:using install-module.pl requires that you install a compiler, such as GCC. We execute the command sudo apt-get gcc and then execute the command again. Yaml and DateTime are not installed successfully and are installed with the following command: Sudo/usr/bin/perl install-module.pl yaml and Sudo/usr/bin/perl install-module.pl Datetime.
Description
sudo apt-get-y install Libgd2-xpm-dev build-essential
3. Configuration
(1) MySQL configuration
(2)apache2 Configuration
(3)bugzilla Configuration
4. Start Bugzilla
Three. Wikimedia installation and configuration
1. Installing dependent software
sudo apt-get install apache2
sudo apt-get install mysql-server mysql-client
sudo apt-get install php5 php5-mysql
sudo apt-get install libgd2-xpm libgd2-xpm-dev PHP5-GD
2. download MediaWiki
Tar zxvf mediawiki-xxx.tar.gz
MV Mediawiki-xxx MediaWiki
MV mediawiki/var/www/html/
3. mysql Configuration
Mysql-u username root-p Password
CREATE DATABASE Mediawikidb;
CREATE USER [email protected] identified by ' Mediawikipassword ';
GRANT index, create, select, INSERT, UPDATE, DELETE, alter, lock tables on mediawikidb.* to [email protected];
Then restart the service, execute the command sudo service apache2 restart and sudo service MySQL restart.
4. Configure MediaWiki
Visit Ip/mediawiki, configure as needed, refer to [5].
Reference documents:
[1] GitLab Community edition:https://about.gitlab.com/downloads/#ubuntu1404
[2] Ubuntu 14.04 installation Gitlab guide: http://www.open-open.com/lib/view/open1433584757328.html
[3] Ubuntu under Bugzilla installation and configuration: http://blog.csdn.net/ocean181/article/details/7184961
[4] debian/ubuntu User: https://mirror.tuna.tsinghua.edu.cn/help/gitlab-ce/
[5] How to install MediaWiki on Ubuntu 14.04:HTTP://WWW.TUICOOL.COM/ARTICLES/QFINJN
[6] Ubuntu system built Bugzilla system: http://blog.csdn.net/liuhaomatou/article/details/38312297
Gitlab,bugzilla and Wikimedia installation and configuration