Sep 12, 2017, 11:03 PM

So DigitalOcean removed the MediaWiki one-click droplet.

(Great, now what?)

• Create the Server

  1. Use the LAMP droplet.
  2. Log in as root. Change the password. Run:
    mysql_secure_installation
    apt-get update
  3. From this page, the following seems to install all the gcc/c++/etc. tools we'll need:
    apt-get install build-essential libssl-dev libcurl4-gnutls-dev libexpat1-dev gettext unzip
  4. Create a new user for the game's account and escalate their privs.
    Use these directions from DigitalOcean.
    (Skip the SSH key stuff for it. See below.)

• Log Into the Game Account

  1. Create a public SSH key for it (mostly optional, do it anyway):
    ssh-keygen -t rsa -C "user@email.com"
  2. Get you some PCRE (critical for Chime's install at least):
    sudo apt-get install libpcre3 libpcre3-dev

• Get Us Some MediaWiki
(Follow along with the instructions on DigialOcean's site.)

  1. [Step 1] The apt-get instructions are out of date. Run the following:
    sudo apt-get install php-intl
    sudo apt-get install php-gd
    sudo apt-get install php-mbstring
    (If you want to install texlive later, remember to run the apache2 restart line.)
  2. [Step 2] Do not use the curl in their example as, it will not work. Instead:
    a. Go here: https://www.mediawiki.org/wiki/Download
    b. Right-click on the download to the latest release and select 'copy link'.
    c. In the terminal window: curl -O <paste the link>
    d. Continue with the 'tar' and 'mv' instructions.
    e. You might want to 'rm' the installation leftovers from your game account's directory.
  3. [Step 3] I'm using the game's account_name for both the database and user.
  4. [Step 4] You will absolutely want a wiki prefix. 'wiki_', for example. If you do anything else with your database, such as news/help integration or xp or a sensible stat system, you will want their table to have their own prefixes. (This is against good database design, but with the Mushlikes it's non-trivial to get around that.)

You're now ready to go back to the start of this thread and continue after making a new user.

I'm sorry that DigitalOcean took out a lot of the brain-dead-easy parts of this setup.

I hope that this helps.


Notifications:

  • 09/12/17: The base TinyMUX install is not finding mysql.h. The Chime fork compiles fine. Looking for solution.
  • 09/18/17: My bad. See two posts down.