Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Setting up a server from a fresh installation of Linux
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 https://raw.githubusercontent.com/kyle95wm/dwc_network_installer/master/install.sh && sudo ./install.sh
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 commands:
sudo su mkdir /var/www cd /var/www wget https://raw.githubusercontent.com/kyle95wm/cowfc_installer/master/cowfc.sh chmod +x cowfc.sh bash ./cowfc.sh
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 that 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 when the script adds the PHP 7.1 software repository.
You will notice your server reboots shortly after this. Wait for your server to come back up, and then run the following commands:
cd /var/www sudo bash ./cowfc.sh
The install will continue. Follow all instructions. Your server will reboot again after this.
When the server comes back up, run the following command:
sudo chmod -R 777 /var/www/dwc_network_server_emulator
If it returns no output, you are done!