Setting up a server from a fresh installation of Linux

BeanJr_YT edited this page May 19, 2018 · 33 revisions

Using the automated installer script

PLEASE NOTE: There is an older script that installs the central repository. However, the authour of this article has decided to DEPRECIATE this script, in favour of the CoWFC installer. While it may run older code than the central repository, it contains more administrative and security features than the central repository. Please do not attempt to run the DWC Network Server Emulator alongside the CoWFC fork, as these are two completely separate code-bases, and WILL cause unexpected behaviours. If you do wish to continue to use this outdated script, you may download and run it with the following command:

wget && sudo ./

Setting up the CoWFC fork

The CoWFC fork runs slightly older code than the central repository.

What sets this fork apart from the others is, there is a real admin interface with an HTML5 template, as well as an actual website. There will be no manual install instructions here. However, you can build your instance by running the following command:

mkdir /var/www ; cd /var/www && wget && chmod +x && ./

The script must run as root. If for whatever reason you forget to do this, there are safeguards put in place to ensure that the script runs as root no matter what.

Please note, the script for CoWFC MUST be run on Ubuntu 14.04 or 16.04 for this to work. Your server will update the list of packages. You will be prompted to press enter, at the part where you add the PHP 7.1 repository.

You will notice your server reboots shortly after this. Wait for your server to come back up, and then run the following command: cd /var/www && ./

The install will continue. Follow all instructions. Your server will reboot again after this.

When the server comes back up, run the following command: chmod 777 /var/www/dwc_network_server_emulator -R

You are done!