Difference between revisions of "Virtual Machine Setup"
From ALFA
Foambats4all (talk | contribs) (Created page with "Category:Tech Guides This document describes in rough detail the recommended checklist for setting up a new game server host VM in the standard configuration. = Prerequis...") |
Foambats4all (talk | contribs) |
||
Line 2: | Line 2: | ||
This document describes in rough detail the recommended checklist for setting up a new game server host VM in the standard configuration. | This document describes in rough detail the recommended checklist for setting up a new game server host VM in the standard configuration. | ||
− | = Prerequisites = | + | == Prerequisites == |
* [http://www.microsoft.com/en-us/download/details.aspx?id=35 DirectX End-User Runtime] | * [http://www.microsoft.com/en-us/download/details.aspx?id=35 DirectX End-User Runtime] | ||
* [http://www.microsoft.com/en-us/download/details.aspx?id=17851 Microsoft .NET Framework 4] | * [http://www.microsoft.com/en-us/download/details.aspx?id=17851 Microsoft .NET Framework 4] | ||
Line 8: | Line 8: | ||
* [http://www.microsoft.com/en-us/download/details.aspx?id=26999 Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package MFC Security Update] | * [http://www.microsoft.com/en-us/download/details.aspx?id=26999 Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package MFC Security Update] | ||
− | = Process = | + | == Process == |
# Install Windows Server | # Install Windows Server | ||
# Copy standard tools over | # Copy standard tools over | ||
Line 54: | Line 54: | ||
# Set <code>_NT_SYMBOL_PATH</code> to <code>SRV*C:\Symbols*http://msdl.microsoft.com/download/symbols</code> | # Set <code>_NT_SYMBOL_PATH</code> to <code>SRV*C:\Symbols*http://msdl.microsoft.com/download/symbols</code> | ||
− | = NWNX4 Installation = | + | == NWNX4 Installation == |
# nwnx4_controller.exe -installservice | # nwnx4_controller.exe -installservice | ||
# Get SID for NWN2Server user with PowerShell: | # Get SID for NWN2Server user with PowerShell: |
Revision as of 04:20, 28 January 2014
This document describes in rough detail the recommended checklist for setting up a new game server host VM in the standard configuration.
Prerequisites
- DirectX End-User Runtime
- Microsoft .NET Framework 4
- Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package MFC Security Update
- Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package MFC Security Update
Process
- Install Windows Server
- Copy standard tools over
- Create SG "NWN2 Servers"
- Create SG "NWN2 Admins"
- Create user "NWN2Server"
- Add to "NWN2 Servers" SG
- Create C:\NWN2, xcopy NWN2 install over
- Grant "NWN2 Servers" create files, create folders to "This folder only"
- Grant "NWn2 Admins" modify to folder, subfolders, and files
- Import NWN2.reg
- Create C:\NWN2User
- Grant full control to "NWN2 Servers"
- Grant modify/execute/list/read/write to "NWN2 Admins"
- Runas /profile /user:NWN2Server cmd.exe
- cd /d "%userprofile%\Documents"
- mklink /j "Neverwinter Nights 2" C:\NWN2User
- Create C:\NWNX4, xcopy NWNX4 installation over
- Grant modify/execute/list/read/write to "NWN2 Admins"
- Grant modify/execute/list/read/write to "NWN2 Servers" for:
- AuroraServerNWScript.log
- AuroraServerVault.log
- nwnx.txt
- nwnx_controller.txt
- xp_mysql.txt
- xp_bugfix.txt
- xp_objectattributes.txt
- xp_srvadmin.txt
- xp_system.txt
- xp_time.txt
- Create C:\Users\Public\Desktop\Credentials.txt
- Copy standard links to C:\Users\Public\Desktop
- Copy standard links to C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Tools
- Copy standard scripts to C:\Scripts
- Copy standard NWN2 tools to C:\Tools
- Copy NWNServerConsole to C:\NWN2\Console
- Fix PowerShell signing
- Set-ExecutionPolicy -Scope LocalMachine -ExecutionPolicy Unrestricted -Force
- Install Git
- Install FileZilla
- Install Win8 Performance Toolkit
- Install 7-zip
- Install gvim
- Install WinDbg for Windows 7 or Windows 8.1.
- Set
_NT_SYMBOL_PATH
toSRV*C:\Symbols*http://msdl.microsoft.com/download/symbols
NWNX4 Installation
- nwnx4_controller.exe -installservice
- Get SID for NWN2Server user with PowerShell:
-
([wmi]"win32_Group.Domain='$env:ComputerName',Name='NWN2 Admins'").sid
-
- Set SD on nwnx4-1 service to allow NWN2 Admins to start/stop:
-
sc sdset nwnx4-1 D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)(A;;RPWP;;;<>)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)
-
- Set configuration in C:\NWNX4\nwnx.ini
- Set configuration in C:\NWNX4\AuroraServerNWScript.ini
- Set configuration in C:\NWNX4\xp_mysql.ini