This repository has been archived by the owner on Oct 22, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
User Guide
sawanoboly edited this page Feb 21, 2016
·
11 revisions
Official User Guide is here https://github.com/takezoe/gitbucket/wiki.
First, visit by browser.
- https://${public_hostname}
Please fill box with your instnace_id and push Next Step
to unlock.
After unlock, you can continue setup with wizard.
https://${public_hostname}
- Default Login: root / root (version 3.11 or later)
- Default Login: root / ${YOUR_INSTANCE_ID} (before version 3.11)
The gitbucket process under init.d.
service gitbucket {start|stop|restart}
- stop service
service gitbucket stop
. - Overwrite /opt/gitbucket/jetty/webapps/root.war
- start service
service gitbucket start
.
- stop service
service gitbucket stop
. - Backup old version.
mv /opt/gitbucket/jetty/webapps/ROOT /tmp/ROOT.gitbucket2.x
. (Don't leave backup under webapps!!) - Remove directory
rm -rf /opt/gitbucket/jetty/webapps/ROOT
- get new version warfile from https://github.com/takezoe/gitbucket/releases.
- move
gitbucket.war
to/opt/gitbucket/jetty/webapps/root.war
- start service
service gitbucket start
.
use alternatives.
sudo yum install java-1.8.0-openjdk-devel
sudo alternatives --config java
---- # type 2
There are 2 programs which provide 'java'.
Selection Command
-----------------------------------------------
+ 1 /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java
* 2 /usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/java