Script Installation Ubuntu
This is a quick start guide to install GenieACS and all its dependencies in Ubuntu.
Guide was tested with Ubuntu 14.04 Trusty Tahr, but might work on other versions too.
Download and execute the following shell script: https://gist.github.com/allanmc/9fae5b2f85c5b9785ae1
WARNING! The script adds new apt repositories and installs the latest stable versions of MongoDB, Redis, Node.js, Ruby and several other dependencies - no questions asked! Should not be run on a system that has other essential services running, since it might break stuff.
The script can be run using the following commands, in the homedir of the user you want to install GenieACS in:
wget http://gist.githubusercontent.com/allanmc/9fae5b2f85c5b9785ae1/raw/genieacs-install.sh
chmod +x genieacs-install.sh
./genieacs-install.sh
If installation was successful, the scripts final message should should be:
DONE!
GenieACS has been sucessfully installed. Start/stop it using the following commands:
./genieacs-start.sh
./genieacs-stop.sh
Simply run:
./genieacs-start.sh
This will launch a tmux session in the background, running the 4 parts of the GenieACS server: genieacs-cwmp, genieacs-nbi, genieacs-fs and rails.
To attach to the tmux session, and monitor the 4 processes, use:
tmux attach -t genieacs
To switch between panes use Ctrl + B - ArrowKey
.
To deattach from the tmux session, press Ctrl + B - D
To stop the GenieACS server (and the tmux session), use:
./genieacs-stop.sh