Erstellen Sie Virtual Box & Vagrant & Centos7 & GitLab

** So etwas wie Hallo GitLab **

** 0. Voraussetzungen **

- Windows 10 Home
- Oracle VM Virtualbox 6.0.22
- vagrant 2.2.6
- Centos 7.8
- Box centos/7
- GitLab CE 10.2.5

** 1. Installation von abhängigen Paketen usw. **

sudo yum install -y curl policycoreutils-python openssh-server
sudo systemctl enable sshd
sudo systemctl start sshd
sudo firewall-cmd --permanent --add-service=http
sudo firewall-cmd --permanent --add-service=https
sudo systemctl reload firewalld
sudo yum install postfix
sudo systemctl enable postfix
sudo systemctl start postfix

** 2. Installieren Sie GitLab unter Angabe der Version (diesmal 10.2.5 angeben) **

curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
sudo yum install gitlab-ce-10.2.5-ce.0.el7.x86_64

** 3. Erste Bauarbeiten vor dem Start **

#Bearbeiten Sie die Gitlab-Konfigurationsdatei(Geänderte DB-Informationen usw. nach Bedarf)
sudo vi /etc/gitlab/gitlab.rb

#Wiederaufbau(Erstbau)
sudo gitlab-ctl reconfigure

** 4. So starten Sie GitLab **

sudo systemctl start gitlab-runsvdir
#Aktivieren Sie den Autostart
sudo systemctl enable gitlab-runsvdir.service
#Deaktivieren Sie den Autostart
sudo systemctl disable gitlab-runsvdir.service

Recommended Posts

Erstellen Sie Virtual Box & Vagrant & Centos7 & GitLab
Virtual Box & Vagrant & Centos7 & Artifactory Konstruktion
Vagabund Java bauen
Richten Sie mit Vagrant einen virtuellen Cent OS-Server ein
Phalcon + Vagrant + centos + xdebug + phpstorm Debug-Umgebungskonstruktion
Baue Growai mit Centos7
Erstellen Sie mit VirtualBox eine virtuelle CentOS 8-Umgebung auf Ihrem Mac
Erstellen Sie GitLab / Mattermost mit DockerForWindows
Erstellen Sie mit Centos7 ein Softether-VPN.
[Einführung] Erstellen Sie eine virtuelle Umgebung von Vagrant + VirtualBox unter Windows 10 [Umgebungskonstruktion]