Full Docker installation instructions for Ubuntu: https://docs.docker.com/engine/installation/linux/ubuntulinux/
Here's a cheat sheet to download and install Docker Engine on Ubuntu 14.04 LTS:
sudo apt-get remove docker docker-engine docker.io
sudo apt-get update
sudo apt-get install linux-image-extra-$(uname -r) linux-image-extra-virtual
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
sudo apt-get update
sudo apt-get install docker-ce
To make docker work without requiring sudo:
sudo usermod -aG docker ubuntu
# then log out and log back in
Full Docker Compose installation instructions: https://docs.docker.com/compose/install/
Here's a cheat sheet to install the required version of Docker Compose:
sudo sh -c 'curl -L https://github.com/docker/compose/releases/download/1.6.2/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose'
sudo chmod +x /usr/local/bin/docker-compose
Download the on-premises distribution .tar.gz file
rollbar-enterprise_2016-02-12.tar.gz
Uncompress and unarchive
tar -xzf rollbar-enterprise_2016-02-12.tar.gz
Install
cd rollbar-enterprise_2016-02-12 && ./install.sh
Configure
./configure.sh -n rollbar.mycompany.com --save
Start
./start.sh --run-migrations
5b. Likely troubleshooting needed: you may see an error message ERROR: Unable to obtain Jdbc connection from DataSource (jdbc:mysql://mysql/mox) for user 'flyway': Could not connect to mysql:3306: unexpected end of stream, read 0bytes from 4
. To resolve this issue, enter the mysql container and run the script /docker-entrypoint-initdb.d/create_dbs.sh
; for example:
```sh
# on the host machine
image_id=$(docker ps | grep mysql | awk '{print $1}')
docker exec -it $image_id bash
# now inside the mysql container
cd /docker-entrypoint-initdb.d/
./create_dbs.sh
exit
```
Then, start again:
```
./start.sh --run-migrations
```
Initialize ElasticSearch
./utils.sh --es-init --es-index
Before you read this, take a moment to familiarize yourself with the Rollbar On-Premises architecture and the advanced configuration documentation.
You can install Rollbar on one or more hosts. Before you start, you will need to determine which services you want to run on the extra hosts. Below are some common choices:
Run your MySQL database on a separate, dedicated host
For a full list of the different services you can install and run, see the configuration documentation.
.tar.gz
file onto your hosts.settings
file from your original Rollbar host copied onto your
other hosts in the same directory as the configure.sh
script.Next, run the configure.sh
script on your new hosts but this time,
specify which services you would like to install and run.
./configure.sh -f .settings --services mysql --save
./configure.sh -f .settings --services worker --save
./configure.sh -f .settings --services api,web --save
configure.sh
?Depending on your host configuration, it's possible that your hostname
cannot be resolved. The quickest fix is to add your hostname to
/etc/hosts
.
E.g.
echo "127.0.1.1 $(hostname)" >> /etc/hosts
Take a look at our email page.