UNHCEMS install for Microsoft Windows =============================================================================== Please contact cems-support@unh.edu for support. 1) Install latest dependencies Apache - http://httpd.apache.org (use ApacheHaus binary release) Perl - http://strawberryperl.com ImageMagick - http://www.imagemagick.org/ Inkscape - http://inkscape.org MariaDB - https://downloads.mariadb.org/ 7-Zip - http://www.7-zip.org/ 2) Run CEMS Setup # download installer in a web browser # the installer will also upgrade an existing UNHCEMS install https://cems.unh.edu/public/winsetup.pl # open command prompt, and execute commands: cd C:\Users\YOU\Downloads set CEMS_DOWNLOAD_USER=cems set CEMS_DOWNLOAD_PASS=REDACTED set CEMS_SERVER_ADMIN_EMAIL=webmaster@yourserver.com perl winsetup.pl 3) Configure (new installs only) # Add CEMS site notepad C:\Apache24\conf\httpd.conf # enable the following modules (remove "#") LoadModule rewrite_module modules/mod_rewrite.so LoadModule headers_module modules/mod_headers.so # at the bottom of the file add Include C:/cems/conf/apache/apache.conf # Install Apache as a service (open command prompt as admin) cd C:\Apache24\bin httpd -k install httpd -k start # test the sendmail function perl C:/cems/bin/test_sendmail.pl # create initial CEMS admin accounts perl C:/cems/bin/manage_account.pl # configure allowed IP addresses perl C:/cems/bin/allow_ip.pl # test application in your web browser http://yourserver/CEMS # when you are ready to go live disable developer mode # which will allow the server to send emails notepad C:\cems\conf\cems.conf # find dev_mode, set to 1 # run the scheduled task runner # create a scheduled task that runs the following command every 15 minutes perl C:/cems/bin/run_scheduled_tasks.pl # You must make sure your system is backed up. # CEMS will automatically dump the database nightly into C:\cems\data\backup.sql # It will then create a zip file of C:\cems\data and store it at C:\cems\static\backup.zip # You must verify that CEMS is backed up. # You must configure your Apache host to use https in order for your data to be secure. Email cems-support@unh.edu if you have any questions.