GitLab安装并设置为开机启动

来源:互联网 发布:mysql 5.7.17.msi下载 编辑:程序博客网 时间:2024/06/08 22:31



gitlab安装步骤

1.下载:
地址:https://bitnami.com/stack/gitlab/installer
下载的版本为:bitnami-gitlab-8.5.7-0-linux-x64-installer.run


2.安装:

sudo chmod 777 bitnami-gitlab-8.5.7-0-linux-x64-installer.run
sudo ./bitnami-gitlab-8.5.7-0-linux-x64-installer.run --apache_server_port 8888

安装过程中需要配置管理员用户邮箱、用户名、密码等


3.使用:

3.说明安装好了即可登陆:http://<strong>IP</strong>:8888右上角有配置链接。默认用户注册需要验证邮箱,简单的就可以管理员在用户管理界面的用户模块确认

4.设置开机启动:

将ctlscript.sh复制到/etc/init.d下

sudo cp ctlscript.sh /etc/init.d/ctlscript


ubuntu建议安装安装:

sudo apt-get install sysv-rc-conf
对于ubuntu ,chkconfig不好使


然后使用

sudo  sysv-rc-conf
进行开机启动:


按space键启动关闭




0 0
原创粉丝点击