Last active
September 18, 2016 04:53
-
-
Save nrn/f818fa7decfd910362b7 to your computer and use it in GitHub Desktop.
Wiki setup for empty ubuntu 14.04 box.
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
initscript=" | |
start on started networking | |
stop on stopping networking | |
respawn | |
env HOME='/root' | |
exec wiki -f -p 80 | |
" | |
wget https://raw.githubusercontent.com/isaacs/nave/master/nave.sh | |
bash nave.sh usemain 4 | |
npm i -g nave wiki | |
echo "$initscript" > /etc/init/wiki.conf | |
start wiki |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment