Notes of gitlab

Dependent components: ruby 1.9.3+, MySQL, git, redis, Sidekiq
minimum configuration CPU 1G, RAM 1G + swap can support 100 users


connect SSH
determined and mounted on ubuntu ssh service start, turn off the firewall system to ensure linux
steps:
PS - e | grep ssh
If the result is only ssh-agent, it means ssh-server has not yet started, the general ubuntu is installed by default ssh, and if not installed, you can
install ssh service
sudo apt-get install openssh-server
to start ssh service
sudo /etc/init.d/ssh start
initialization root password
ubuntn just installed when the root has no password, set up a, use the command
sudo passwd
installation gitlib integrated package
recommended bitnami download package installed version https://bitnami.com/stack/gitlab/ Installer saves a lot of time. They also provide related WIKI
with ubuntu as the demo environment to install the package, switch to the root account, and run in the terminal:
if you don’t have permission, first authorize the account:
chmod 777 bitnami-gitlab-8.5.7-0-linux-x64installer.run
Then switch the root user to execute:
./bitnami-gitlab-8.5.7-0-linux-x64installer.run
will pop up a graphical interface after execution, just confirm step by step;
Setup-Bitnami Gitlag Stack->Select Components->Installation folder->Create Admin account-
There are two ways to start >Domain->Setup manually:
1. Find the installed path /opt/gitlab-8.5.7-0 and
execute the command with root privileges:
sudo ./stlscript.sh start
2. You can also check the GUI management console , select 'start All' in the Manage servers in
sudo ./manager-linux-64.run


after startup, you can access the system page: http: // xxx / users / sign_in
before the creation of the project settings
to configure the server, right
/ opt / BitNami / Apps / gitlab / htdocs / config / Environments / production.rb
address, Domin, user_name, password (these configured your mailbox, the mailbox must support smtp, port 587 by default) registered e-mail activation required to create a group, add group within the member so that the inner member of the group after their own registration account activation, to create a common project team directly when designated group members in the group can see this project



New item

Guess you like

Origin blog.csdn.net/u011445756/article/details/80104966