Skip to content

Initial System Setup

MADindustries edited this page Dec 9, 2018 · 10 revisions

I run WhatManager2 on Ubuntu. It should run on other Linux distributions, but I haven't tested it and you'll be on your own. What you need to run WM out of the box is:

  • A relatively recent Ubuntu distribution.
  • Sudo privileges on the machine.
  • An Apache webserver. sudo apt-get install apache2 is sufficient. If you feel adventurous, try nginx and let me know how it goes.
  • A MySQL or a compatible database installed. A simple sudo apt-get install mysql-server should be OK. Use the installation instructions here: https://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/#apt-repo-fresh-install and choose mysql-5.7 for the "Server & Cluster" version
  • Python 2.7+. Python 3 is not supported, but may be in the future. The OS probably already came with Python 2.7.x installed.
  • You'll need git if you want to clone the repo directly (recommended). sudo apt-get install git will do.
  • It is recommended to use the latest version of Transmission compiled from source and there is a script for that in the repository. That is described in the next step. However, if you want to install it with apt-get (Make sure you also have the transmission-daemon installed.), feel free. You MUST make sure you don't mix the instances you're using outside of WM with the ones you'll be using inside. Note that the transmission-daemon installed by apt will automatically start at system up. This can conflict with your WM transmission if the default ports are used. Solve this by disabling the default transmission-daemon with systemctl disable transmission-daemon