Last active
August 5, 2016 05:10
-
-
Save Nimdis/cb1677156536c131de6a8ca0b11fbd5c to your computer and use it in GitHub Desktop.
install gitbucket on ubuntu 16.04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get update | |
apt-get install default-jre | |
adduser -m git | |
apt-get install wget unzip | |
su git | |
cd | |
wget http://download.jboss.org/wildfly/10.0.0.Final/wildfly-10.0.0.Final.zip | |
unzip wildfly-10.0.0.Final.zip -d wildfly1 | |
mv wildfly1/wildfly-10.0.0.Final wildfly | |
rm -R wildfly1 | |
wget https://github.com/gitbucket/gitbucket/releases/download/3.13/gitbucket.war --no-check-certificate | |
java -jar gitbucket.war |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
EDIT: Nevermind, I realized this flag is for
useradd
, notadduser
- and it creates a home directory.What does the -m option do in:
adduser -m git
As far as my VPS is concerned, -m isn't an option.