Skip to content

Instantly share code, notes, and snippets.

@Nimdis
Last active August 5, 2016 05:10
Show Gist options
  • Save Nimdis/cb1677156536c131de6a8ca0b11fbd5c to your computer and use it in GitHub Desktop.
Save Nimdis/cb1677156536c131de6a8ca0b11fbd5c to your computer and use it in GitHub Desktop.
install gitbucket on ubuntu 16.04
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
@TheFlagCourier
Copy link

TheFlagCourier commented Aug 5, 2016

EDIT: Nevermind, I realized this flag is for useradd, not adduser - 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment