New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Server 2012 R2 #254

Merged
merged 7 commits into from May 8, 2013

Conversation

Projects
None yet
3 participants
@pdonald
Contributor

pdonald commented May 7, 2013

Server installation scripts for Windows Server 2012 R2 on Amazon EC2.

Instructions:

  • Create an instance from the Microsoft Windows Server 2012 Base image on Amazon EC2
  • Connect to it via Remote Desktop
  • Copy installer-bootstrap.ps1 from this repo to the server (for files CTRL-C + CTRL-V works alright)
  • Copy your client private key too while you're at it
  • Right click on the installer script and select Run with PowerShell
  • It will ask something, just hit enter
  • It will install git and then launch installer.ps1 from the repo which will install everything else
  • Installation shouldn't take more than 5 to 10 minutes
  • Then you have a working console: try python, git, ssh, curl, node etc. everything works + PowerShell goodies

Now you can run tests:

python run-tests.py -s server-ip -c client-ip -i "C:\Users\Administrator\Desktop\client.key" --max-threads 2 --duration 30 --sleep 5 --name win --test aspnet --type all

Total changes: 2 new files and 2 added lines to benchmarker.py 馃槃 (ignore the first commit, it only improves aspnet)

I patched nodejs and express not to install and use mysql-libmysqlclient because it doesn't build on Windows. If it weren't for this module, no changes would be necessary.

aspnet now runs on both Windows and Mono.

Adding PHP shouldn't be too hard.

@bhauer

This comment has been minimized.

Show comment
Hide comment
@bhauer

bhauer May 7, 2013

Member

Wow! Thank you @pdonald. This is huge. We'll let you know if we have questions.

Member

bhauer commented May 7, 2013

Wow! Thank you @pdonald. This is huge. We'll let you know if we have questions.

@pdonald

This comment has been minimized.

Show comment
Hide comment
@pdonald

pdonald May 7, 2013

Contributor

Added PHP to the installer script and modified php, php-codeigniter and php-kohana.

Contributor

pdonald commented May 7, 2013

Added PHP to the installer script and modified php, php-codeigniter and php-kohana.

@pfalls1 pfalls1 merged commit 5935d22 into TechEmpower:master May 8, 2013

@pfalls1

This comment has been minimized.

Show comment
Hide comment
@pfalls1

pfalls1 May 8, 2013

Contributor

@pdonald Thank you so much. Looks like a lot of work went into this! I was able to get everything running just fine, and hopefully we'll find some dedicated hardware to test on in addition to the EC2 instance.

Contributor

pfalls1 commented May 8, 2013

@pdonald Thank you so much. Looks like a lot of work went into this! I was able to get everything running just fine, and hopefully we'll find some dedicated hardware to test on in addition to the EC2 instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment