|
Surroundings:
Server environment: Ali cloud system ECS Ubuntu14.04
Make sure your system and Gitlab same version.
Official Tutorial:
Gitlab official address: https: //about.gitlab.com/downloads/
wget https://downloads-packages.s3.amazonaws.com/ubuntu-14.04/gitlab_7.7.1-omnibus.5.4.1.ci-1_amd64.deb
sudo apt-get install openssh-server
sudo apt-get install postfix # Select 'Internet Site' (or use sendmail, but exim is problematic)
sudo dpkg -i gitlab_7.7.1-omnibus.5.4.1.ci-1_amd64.deb
note:
sudo apt-get install postfix # Select 'Internet Site' (or use sendmail, but exim is problematic)
#Select 'Internet Site' is a pop-up option during installation ... not part of the command inside the parentheses is not ...
This should be a few lines of code to paste into it.
My installation record:
But I bought ECS 1M bandwidth is ... simply hold off, so he himself downloaded .deb files
1. gitlab installation package
Download: https: //about.gitlab.com/downloads/archives/
2. Ubuntu Postfix installation tutorial
http://wiki.ubuntu.org.cn/Postfix
3. Download rely libsasl2-2_2.1.23.dfsg1-5ubuntu1_amd64.deb
http://packages.ubuntu.com/lucid/amd64/libsasl2-2/download
Explanation:
1. Because the package which will automatically install a Nginx, the default is 80 port, access the browser http: // ip: 80 can access the login screen gitlab
The default root account password 5iveL! Fe
2. Some installed or running problems can find solutions in the .md file
https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md
Problems encountered:
1. browser and enter http: // ip inaccessible gitlab
Workaround: Edit /etc/gitlab/gitlab.rb in external_url
2. Have access to gitlab, but found it impossible to modify the picture when you modify profile picture because the picture upload address is: http: // hostname / ...
And my hostname or ECS default that number, resulting in a picture can not be indexed
Solution: I changed the ECS hostname ip address
3.sign up and add user administor not receive confirmation e-mail when the mailbox
This should be the Postfix configuration problems, but Ubuntu's official website that Postfix tutorial speak so much and gitlab installation instructions inside said only select Internet Site
.md tells about a solution, modify the configuration file:
gitlab_rails [ 'gitlab_email_from'] = 'gitlab@example.com'
Then able to receive mail, the sender is gitlab@example.com, anyway, is the first in a normal landing, registered. |
|
|
|