Summary
The Ubersmith Installer is a command line utility that allows a system administrator to install (or upgrade) Ubersmith on a supported platform without assistance from Ubersmith Support. This can be useful when access to the Ubersmith environment is restricted, or for provisioning development/testing environments. The installer can be used to install both the Ubersmith Core (frontend) software as well as the Ubersmith Appliance.
Ensure that your host has been updated to the latest available packages as well as the latest Linux kernel. If necessary, reboot to ensure that the system is running the latest kernel.
The Ubersmith Installer requires that Docker, as well as some additional dependencies be installed prior to installing Ubersmith. The script located at:
can be helpful when installing Docker. Ensure that Docker is configured to start on boot; in many cases it may not be.
The installation process will fail without these dependencies.
sudo yum install gcc libffi-devel python-devel openssl-devel epel-release |
Once EPEL is configured, run:
sudo yum install python-pip |
sudo apt-get install build-essential libssl-dev libffi-dev python-dev python-setuptools |
On the host Ubersmith is to be installed on, clone the ubersmith_installer repository.
$ git clone https://github.com/TeamUbersmith/ubersmith_installer.git |
Alternatively, you can download a tarball release of the installer from here.
Run ./install_ubersmith.sh to install Ubersmith Core or ./install_appliance.sh to install the Ubersmith Appliance.
Follow the prompts to complete the installation.
Checking for pip... Installing Ansible... Installing Ubersmith... Choose an installation directory for Ubersmith [/usr/local/ubersmith]: Enter the address where you will be hosting Ubersmith [ubersmith.example.com]: Enter the email address of the Ubersmith administrator [admin@example.org]: |
At this point the installer will begin, and will create the directory structure and supporting files to bring Ubersmith online.
Ubersmith Core and Ubersmith Appliance should not be deployed to the same host.
Ubersmith is now listening for HTTPS connections; to load the Ubersmith installation wizard go to the address of IP of your Ubersmith host in your web browser, for example:
Walk through the steps of the Ubersmith Setup Wizard.
The Setup Wizard still has some legacy configuration steps relating to configuring Cron Tasks and Postfix aliases. These steps can be ignored, they are configured automatically during the installation process. These pages will be removed in an upcoming release. |
When configuring the Solr search engine, use the values:
ubersmith_solr_18983/solr/collection1At the end of the Setup Wizard, you will be prompted to delete the setup directory. The command provided does not account for the Ubersmith webroot being located in a container, so run the following command instead:
# docker exec ubersmith_web_1 rm -rf /var/www/ubersmith_root/app/www/setup |
Troubleshooting
pip, you may need to enable the EPEL yum repository.python-setuptools will install the easy_install utility, which will allow the installer to install a more contemporary version of pip.pip will installed using the --user option, which will install to the Python user install directory for your platform; typically ~/.local/. (See the Python documentation for site.USER_BASE for full details.) This allows for the installer to be executed as a non-root user. You may want to add this directory to your PATH shell variable so that the supporting utilities (docker-compose, for example) can be run without having to specify the full path to the utility.