Created
October 20, 2018 10:35
-
-
Save SilverShades02/bce43b073199de57c54c7fbdafa4a1f5 to your computer and use it in GitHub Desktop.
This file contains 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
make a script bash.sh containing this | |
#!/bin/sh -e | |
# Access to http://<hostname>:8080/. | |
cat <<EOF | sudo tee /etc/apt/sources.list.d/gerritforge.list | |
deb [trusted=yes] http://deb.gerritforge.com/ gerrit contrib | |
EOF | |
sudo apt update -y | |
sudo apt install -y openjdk-8-jdk haveged | |
sudo apt install -y gerrit | |
sudo systemctl enable gerrit | |
sudo reboot | |
save that | |
Then | |
source bash.sh | |
completed | |
now in browser | |
http://localhost:8080/ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment