I wasted way too much time trying to figure out how to install Dradis-CE 3 from GitHub on a vanilla Ubuntu Server install. I finally got it all worked out and made a step-by-step guide.
note: make sure to run all commands as root.
comment out lines beginning with "deb cdrom" in /etc/apt/sources.list (may not be necessary)
apt-get install -y openssh-server
now is when you would connect via ssh, if you want. after you're reconnected, run the following
apt-get install -y git redis-server ruby ruby-dev gcc make zlib1g-dev libsqlite3-dev libmysqlclient-dev g++
note: when I view this post there is a "1" added to the end of the git url. be sure not to include that
git clone https://github.com/dradis/dradis-ce
note: if you get an error when running 'ruby bin/setup' about the dradis-html_export plugin, re-run 'ruby bin/setup'
start the server to auto-create necessary directories
bundle exec rails server -b 0.0.0.0
kill the process by pressing Control-C
perform the following to edit the Nessus plugin template file to include severity
add the following contents to report_item.template
create systemd service for server
add the following contents to dradis-ce.service
Description=Service for starting Dradis-CE
ExecStart=/usr/local/bin/bundle exec rails server -b 0.0.0.0
create systemd service for worker
add the following contents to dradis-ce-worker.service
Description=Service for starting Dradis-CE worker
ExecStart=/usr/local/bin/bundle exec rake resque:work
enable the services
systemctl enable dradis-ce.service
systemctl enable dradis-ce-worker.service
start the services
systemctl start dradis-ce.service
systemctl start dradis-ce-worker.service
using a web browser, nagivate to the setup page by using the IP address or hostname of the system on port 3000
note: if you get an error page make sure you're going to the /setup page. for some reason it doesn't appear to work using the hostname and navigating to the root before setup is completed.
http:// IP or hostname:3000/setup