运维工具
系统备份和恢复
Clonezilla
install clonezilla network boot system
clonezilla push setting
clonezilla pxelinux.cfg default config
clonezilla pxe boot password
kickstart
kickstart centos5.6-i386 config
kickstart auto install
kickstart example
Cobbler
cobbler backups-restore
aomei 傲梅
傲梅集中备份
傲梅备份 分类
系统监控工具
collectd
collectd 收集系统性能
NMON monitor
Nmon monitor system
njmon script initd code
nmon 2 data to influx db
Zabbix
zabbix 3.2 install on centos 6
zabbix firewall
zabbix support windows
Supervisor
supervisor shell script
supervisor config example
boot supervisrd with systemd on centos7
webhook and github to do file sync with supervisor
日志管理系统
Grafana
grafana install on centos 6
grafana install plugin
grafana influx version
Filebeat
filebeat yum install
Kibana
kibana yum install
Logstash
logstash install on centos
Elasticsearch
yum install elasticsearch 6.8
elasticsearch install on Centos 6.7
ELK init env config
Elasticsearch 错误集锦
Rsyslog
centos 6 rsyslog 日志实时同步
Rsyslog mysql log to master analyzer
Deploy
Jumpserver
jumpserver 0.3.2 install on centos 6
jumpserver 0.3.2 docker install on centos 7
jumpserver 0.5 install on centos 7
Opsmanage
opsmanage install centos7
Jenkins
jenkins install on centos 6
install plugin in jenkins…
jenkins set time execution
tomcat jenkins ansible
jenkins ansible ad-hoc command
jenkins ansible playbook project
jenkins publish over_ssh
Paramike
PSSH
Centos7部署工具pssh
Ansible
how to install ansible with yum
bit rpm install ansible
source to install ansible
ansible init system centos 6
ansible using method
ansible install httpd servers
copy code with ansible-playbook
ansible ping host actived
ansible add username
ansible config parameter
ansible config write format
ansible api study
ansible hosts config ssh
ansible get nmon data
ansible setup filter information
yum repo with ansible-playbook
ansible gitlab ci runner
ansible get data list
ansible get text content
ansible get linux release debug infor
ansible support windows pywinrm
Saltshaker
saltshaker use docker
how to install saltstack
saltshaker manual install
salt install and config
salt init system
deploy saltshaker on centos7
salt file config desc
salt cmdb
saltshaker dj mq mysql build
salt data to mysql
Rsync
rsync + inotify 数据实时同步
代码仓库
Gitlab
yum install gitlab
gitlab-ce and runner
gitlib api example
gitlab config
gitlab ce and ee
Gogs
Gitea
虚拟化系统
Vmware
centos 6 install vmware 14
Vagrant
从零开始创建基础 Box
打包我的 BOX
Vagrantfile Config
Vagrant简易教程
给 Vagrant 从 VirtualBox换用 VMware 或 虚拟机
优化 vagrantFile config
Vagrant 主机定义
vagrant SSH
Vagrant 搭建 说明
WSL
pycharm 安装支持 WSL
windows-WSL 安装
Docker
how to install docker on centos 6
docker config source daoclound
how to use docker by step
how to creat docker subnet
gogs deploy on docker
jenkins use docker to deploy
mysql use docker to deploy
docker-example-1
docker-example-2
mac-osx-toolbox-install-docker
Data DB
Influx DB
InfluxDB install on centos
Mysql DB
centos 6 install mysql 5.5
mysql 5.7 install centos 6
install percona mysql 5.6 with yum
centos 7 install mysql config
mysql data rsync from master/slave
About me
本文档使用 MrDoc 发布
-
+
首页
gitlab ce and ee
# gitlab ce and ee --- ## gitlab-ee #### 1. Install and configure the necessary dependencies On CentOS 7 \(and RedHat/Oracle/Scientific Linux 7\), the commands below will also open HTTP and SSH access in the system firewall. sudo yum install -y curl policycoreutils-python openssh-server ```text sudo systemctl enable sshd sudo systemctl start sshd sudo firewall-cmd --permanent --add-service=http sudo systemctl reload firewalld ``` Next, install Postfix to send notification emails. If you want to use another solution to send emails please skip this step and configure an external SMTP server after GitLab has been installed. ```text sudo yum install postfix sudo systemctl enable postfix sudo systemctl start postfix ``` During Postfix installation a configuration screen may appear. Select 'Internet Site' and press enter. Use your server's external DNS for 'mail name' and press enter. If additional screens appear, continue to press enter to accept the defaults. #### 2. Add the GitLab package repository and install the package Add the GitLab package repository. ```text curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | sudo bash ``` Next, install the GitLab package. Change `http://gitlab.example.com` to the URL at which you want to access your GitLab instance. Installation will automatically configure and start GitLab at that URL. HTTPS requires additional configuration after installation. ```text sudo EXTERNAL_URL="http://gitlab.example.com" yum install -y gitlab-ee ``` #### 3. Browse to the hostname and login On your first visit, you'll be redirected to a password reset screen. Provide the password for the initial administrator account and you will be redirected back to the login screen. Use the default account's username root to login. See our documentation for detailed instructions on installing and configuration. #### 4. Set up your communication preferences Visit our email subscription preference center to let us know when to communicate with you. We have an explicit email opt-in policy so you have complete control over what and how often we send you emails. Twice a month, we send out the GitLab news you need to know, including new features, integrations, docs, and behind the scenes stories from our dev teams. For critical security updates related to bugs and system performance, sign up for our dedicated security newsletter. IMPORTANT NOTE: If you do not opt-in to the security newsletter, you will not receive security alerts. ## gitlab-ce #### 1. Install and configure the necessary dependencies On CentOS 7, the commands below will also open HTTP and SSH access in the system firewall. ```text sudo yum install -y curl policycoreutils-python openssh-server openssh-clients sudo systemctl enable sshd sudo systemctl start sshd sudo firewall-cmd --permanent --add-service=http sudo systemctl reload firewalld ``` Next, install Postfix to send notification emails. If you want to use another solution to send emails please skip this step and configure an external SMTP server after GitLab has been installed. ```text sudo yum install postfix sudo systemctl enable postfix sudo systemctl start postfix ``` During Postfix installation a configuration screen may appear. Select 'Internet Site' and press enter. Use your server's external DNS for 'mail name' and press enter. If additional screens appear, continue to press enter to accept the defaults. #### 2. Add the GitLab package repository and install the package Add the GitLab package repository. ```text curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash ``` Next, install the GitLab package. Change `http://gitlab.example.com` to the URL at which you want to access your GitLab instance. Installation will automatically configure and start GitLab at that URL. HTTPS requires additional configuration after installation. ```text sudo EXTERNAL_URL="http://gitlab.example.com" yum install -y gitlab-ce ``` #### 3. Browse to the hostname and login On your first visit, you'll be redirected to a password reset screen. Provide the password for the initial administrator account and you will be redirected back to the login screen. Use the default account's username root to login. See our documentation for detailed instructions on installing and configuration. #### 4. Set up your communication preferences Visit our email subscription preference center to let us know when to communicate with you. We have an explicit email opt-in policy so you have complete control over what and how often we send you emails. Twice a month, we send out the GitLab news you need to know, including new features, integrations, docs, and behind the scenes stories from our dev teams. For critical security updates related to bugs and system performance, sign up for our dedicated security newsletter. IMPORTANT NOTE: If you do not opt-in to the security newsletter, you will not receive security alerts. ## docker example: ```text [root@gitcode gitlab]# pwgen -Bsv1 64 fM55BtK2fCzHSlpgSBwZvfZGZbPLf3wk5KCB5Lm5GtgW6fqTGtKzT6LfJnjt2zH3 [root@gitcode gitlab]# pwgen -Bsv1 64 4chs86gmxWW4vzttDSbdFNZKX5RLJD7S7KgKlQQLXk7jKRdfxL558Ss47PSp9CWV [root@gitcode gitlab]# pwgen -Bsv1 64 HhxHMpQMQct8D2rTnrLWMDqPXgm5kGznTvg6XtNk36NN7THSl3fp8bSZN56SzXjq ``` ```text docker run --name gitlab-postgresql -d \ --env 'DB_NAME=gitlabhq_production' \ --env 'DB_USER=gitlab' --env 'DB_PASS=password' \ --env 'DB_EXTENSION=pg_trgm' \ --volume /data/workdata/gitlab/postgresql:/var/lib/postgresql \ --restart=always \ sameersbn/postgresql:9.6-2 ``` ```text docker run --name gitlab-redis -d \ --volume /data/workdata/gitlab/redis:/var/lib/redis \ --restart=always \ sameersbn/redis:latest ``` ```text docker run --name gitlab -it \ --link gitlab-postgresql:postgresql --link gitlab-redis:redisio \ --publish 10022:22 --publish 10080:80 \ --env 'GITLAB_PORT=10080' --env 'GITLAB_SSH_PORT=10022' \ --env 'GITLAB_SECRETS_DB_KEY_BASE=fM55BtK2fCzHSlpgSBwZvfZGZbPLf3wk5KCB5Lm5GtgW6fqTGtKzT6LfJnjt2zH3' \ --env 'GITLAB_SECRETS_SECRET_KEY_BASE=4chs86gmxWW4vzttDSbdFNZKX5RLJD7S7KgKlQQLXk7jKRdfxL558Ss47PSp9CWV' \ --env 'GITLAB_SECRETS_OTP_KEY_BASE=HhxHMpQMQct8D2rTnrLWMDqPXgm5kGznTvg6XtNk36NN7THSl3fp8bSZN56SzXjq' \ --volume /data/workdata/gitlab:/home/git/data \ sameersbn/gitlab ``` ```text docker run --name gitlab -itd \ --link gitlab-postgresql:postgresql --link gitlab-redis:redisio \ --publish 22:22 \ --publish 80:80 \ --restart=always \ --env 'GITLAB_SECRETS_DB_KEY_BASE=fM55BtK2fCzHSlpgSBwZvfZGZbPLf3wk5KCB5Lm5GtgW6fqTGtKzT6LfJnjt2zH3' \ --env 'GITLAB_SECRETS_SECRET_KEY_BASE=4chs86gmxWW4vzttDSbdFNZKX5RLJD7S7KgKlQQLXk7jKRdfxL558Ss47PSp9CWV' \ --env 'GITLAB_SECRETS_OTP_KEY_BASE=HhxHMpQMQct8D2rTnrLWMDqPXgm5kGznTvg6XtNk36NN7THSl3fp8bSZN56SzXjq' \ --volume /data/workdata/gitlab/gitlab:/home/git/data \ sameersbn/gitlab ```
Bobby
2021年12月20日 06:54
分享文档
收藏文档
阅读
77
上一篇
下一篇
微信扫一扫
复制链接
手机扫一扫进行分享
复制链接
关于 MrDoc
觅思文档MrDoc
是
州的先生
开发并开源的在线文档系统,其适合作为个人和小型团队的云笔记、文档和知识库管理工具。
如果觅思文档给你或你的团队带来了帮助,欢迎对作者进行一些打赏捐助,这将有力支持作者持续投入精力更新和维护觅思文档,感谢你的捐助!
>>>捐助鸣谢列表
微信
支付宝
QQ
PayPal
Markdown文件
分享
链接
类型
密码
更新密码