Because AresMUSH has different needs than Penn or Tiny, most dedicated “MUSH Hosting” plans won’t work. They won’t have enough resources or the right software packages. Instead, you’ll want to get a Virtual Private Server (VPS) or cloud server equivalent that will let you install the software you need.
This article details the system requirements to help you find the right server and get everything set up.
Table of Contents
The supported environment for the automated Ares installer is:
Hard drive space is not generally a concern. The base install will take only about 1GB of hard drive space, and database sizes are insignificant. Uploaded files (for theme/character images and the like) will be the bulk of your hard drive usage.
Of course you are welcome to try your own custom environment. Maybe you have your own existing server or favored cloud server provider. Ares has run on OSX and could conceivably run on any linux variant.
Setting up Ares in a custom environment requires the installation of several software packages:
As well as various configuration/setup steps:
All of these steps are detailed in the Ares install scripts. Use aresmush/bin/setup_server
and aresmush/bin/install
as a guide when installing a game on a custom environment. There are some examples of how to do this below.
Here’s an excerpt from the Ares install scripts that deals with the web server (nginx).
echo -e "${ARES_INSTALL_TEXT} Nginx for web server."
apt-get install -y nginx
echo -e "${ARES_INSTALL_TEXT} Install default web configuration."
sudo cp "${HOME_DIR}/aresmush/install/nginx.default" /etc/nginx/sites-enabled/default
Based on this, you know you need to install the web server and configure it. However, you may not be able to run these specific commands for a number of reasons:
In those situations, you would need to manually install and/or configure your desired web server using whatever steps are appropriate for your environment.
Here’s another excerpt from the Ares install scripts that installs and uses Ruby Version Manager (RVM) to get the right version of Ruby.
echo -e "${ARES_INSTALL_TEXT} Install RVM."
\curl -sSL https://get.rvm.io | bash -s stable --ruby
source "${HOME_DIR}/.rvm/scripts/rvm"
echo -e "${ARES_INSTALL_TEXT} Install Ruby version."
rvm install ruby-2.6.3
RVM is a convenient way to install Ruby, but RVM might not be compatible with your custom environment. You might instead use rbenv instead of compile Ruby from source.
The important thing is that the ‘ares’ user has access to the right version of ruby and can install gems (libraries) without any goofy permissions errors.