From 0f6054ad1ef6dfdccbcb87529d5ca9bed1c2c11d Mon Sep 17 00:00:00 2001 From: swgnoobs Date: Fri, 20 Nov 2015 18:10:30 +0100 Subject: [PATCH] Adding DevVM Files --- devvms.md | 10 ++++++ sid_readme.md | 88 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 98 insertions(+) create mode 100755 devvms.md create mode 100755 sid_readme.md diff --git a/devvms.md b/devvms.md new file mode 100755 index 000000000..2f5bcecbc --- /dev/null +++ b/devvms.md @@ -0,0 +1,10 @@ +### Developers VM Download Links + +SID(testing): + +https://docs.google.com/uc?export=download&confirm=k1dz&id=0Bw5QxmhEYpyzdFVPV2x3LVYzWUE + +https://docs.google.com/uc?export=download&confirm=sfMW&id=0B8qYSmfamAxsalhBNG5xSjR1QTg + +Comes with newest libs and buildtools, and no prebuilded server/empty db with precreated users. +You have to build your own server first before you can start it. Follow the instructions of the readme. diff --git a/sid_readme.md b/sid_readme.md new file mode 100755 index 000000000..fa11e9f3e --- /dev/null +++ b/sid_readme.md @@ -0,0 +1,88 @@ +# Debian SID SWGMasters Developer VM +## System Requirements + +* Virtualbox 5.0.x +* 4GB RAM minimum (The VM supports 64GB RAM) +* 30GB Harddisk Space + +Recommended: +* SSH-Client (Putty in Windows) +* SCP-Client (WinSCP) +* more RAM if you want to run more then 1-2 Zones +* SSD as VM Storage + +## Whats included in the VM + +* Debian SID/Testing 32Bit +* OracleDB 11g Release 2 +* Oracle Enterprise Manager https://:1158/em/console (User: SYSTEM Pass: swg) +* Clientfiles needed to start the server /home/swg/clientdata/ +* Appearance Files needed to start the server /home/swg/appearance/ +* Copy of https://bitbucket.org/swgmasters/swg-src/ /home/swg/swg-src/ +* All dependencies installed to compile your own server +* Samba preinstalled pointed to /home/swg/ (You can use editors/IDEs or/and your git in Windows) + +Default Password: swg + +## What do you need todo to get a server running + +Import the Appliance to Virtualbox. +* CPU Setting PAE +* Network Setting: Bridge Network + +Change the /etc/hosts file to the right ipaddress. + + nano /etc/hosts + +Change the 192.168.2.x to the IP of the Virtual Machine + + swg + +Restart the server: + + shutdown -r now + +Download Putty and point it to the IP of your VM +Login as user swg with password swg. + + cd swg-src/ + git pull (optional updating repo content) + ./build_linux.sh + !! Ignore the install dependencies PART !! + +## Buildingphases +Follow the instructions on your screen. The binary building phase will take roughly 1h/1Core. +The Script Building Phase will throw errors if you skip the configphase, do configs first, then scriptbuilding. + +### Configphase +use local + +Database DSN: +//127.0.0.1/swg + +Database User: +swg + +Database Password: +swg + +### Scriptbuilding +Scriptbuilding will take about 6hours the first time. You can later just recompile single scripts or tab files, look at the +utils/build_ and the build_linux.sh files to see the syntax of the mocha, javac and compilertools. + +### Database +The Clustername has to be the same you used in the configphase. The same for the nodeip. The other settings are self-explaining. + +## Clientdata and Appearance Files + cd /home/swg/ + rsync -av /home/swg/clientdata/sku.0/ /home/swg/swg-src/data/sku.0/ + rsync -av /home/swg/clientdata/sku.1/ /home/swg/swg-src/data/sku.1/ + rsync -av /home/swg/clientdata/sku.2/ /home/swg/swg-src/data/sku.2/ + rsync -av /home/swg/clientdata/sku.3/ /home/swg/swg-src/data/sku.3/ + + cp -R /home/swg/appearance /home/swg/swg-src/ + +## First start + ./start_Server.sh + +Point your login.cfg to the IP of the Virtualmachine.