bitnami VM
https://bitnami.com/stack/gitlab/virtual-machine
bitnami-gitlab-8.1.4-1-ubuntu-14.04.zip
Version | Size | Checksum | ||
---|---|---|---|---|
GitLab 8.1.4-1 (64-bit) | 673 MB | show |
GitLab8.1.4
GitLab Shell2.6.6
GitLab APIv3
Ruby2.1.7p400
Rails4.1.12
登录Gitlab服务器
在浏览器中输入虚拟机的IP地址 后弹出登录界面,
登录名为: user@example.com
密码:bitnami1
问题
不能启动SSH
用 /etc/init.d/ssh start命令不能启动SSH,
这会导致GIT客户端不能连接, PuTTY也不能远程登录。
D:\backup>git clone git@172.16.99.99:user/hello-world.git
Cloning into 'hello-world'...
ssh: connect to host 172.16.99.99 port 22: Connection refused
fatal: Could not read from remote repository.
用以下方法解决:
https://wiki.bitnami.com/Virtual_Appliances_Quick_Start_Guide#How_to_enable_sshd.3f
$ sudo mv /etc/init/ssh.conf.back /etc/init/ssh.conf
$ sudo start ssh
参考文章
来源:oschina
链接:https://my.oschina.net/u/1402175/blog/548061