1 # Debian SID SWGMasters Developer VM
\r
2 ## System Requirements
\r
5 * 4GB RAM minimum (The VM supports 64GB RAM)
\r
6 * 30GB Harddisk Space
\r
9 * SSH-Client (Putty in Windows)
\r
10 * SCP-Client (WinSCP)
\r
11 * more RAM if you want to run more then 1-2 Zones
\r
14 ## Whats included in the VM
\r
16 * Debian SID/Testing 32Bit
\r
17 * OracleDB 11g Release 2
\r
18 * Oracle Enterprise Manager https://<vmip>:1158/em/console (User: SYSTEM Pass: swg)
\r
19 * Clientfiles needed to start the server /home/swg/clientdata/
\r
20 * Appearance Files needed to start the server /home/swg/appearance/
\r
21 * Copy of https://bitbucket.org/swgmasters/swg-src/ /home/swg/swg-src/
\r
22 * All dependencies installed to compile your own server
\r
23 * Samba preinstalled pointed to /home/swg/ (You can use editors/IDEs or/and your git in Windows)
\r
25 Default Password: swg
\r
27 ## What do you need todo to get a server running
\r
29 Import the Appliance to Virtualbox.
\r
31 * Network Setting: Bridge Network
\r
33 Change the /etc/hosts file to the right ipaddress.
\r
37 Change the 192.168.2.x to the IP of the Virtual Machine
\r
41 Restart the server:
\r
45 Download Putty and point it to the IP of your VM
\r
46 Login as user swg with password swg.
\r
49 git pull (optional updating repo content)
\r
51 !! Ignore the install dependencies PART !!
\r
54 Follow the instructions on your screen. The binary building phase will take roughly 1h/1Core.
\r
55 The Script Building Phase will throw errors if you skip the configphase, do configs first, then scriptbuilding.
\r
70 Scriptbuilding will take about 6hours the first time. You can later just recompile single scripts or tab files, look at the
\r
71 utils/build_ and the build_linux.sh files to see the syntax of the mocha, javac and compilertools.
\r
74 The Clustername has to be the same you used in the configphase. The same for the nodeip. The other settings are self-explaining.
\r
76 ## Clientdata and Appearance Files
\r
78 rsync -av /home/swg/clientdata/sku.0/ /home/swg/swg-src/data/sku.0/
\r
79 rsync -av /home/swg/clientdata/sku.1/ /home/swg/swg-src/data/sku.1/
\r
80 rsync -av /home/swg/clientdata/sku.2/ /home/swg/swg-src/data/sku.2/
\r
81 rsync -av /home/swg/clientdata/sku.3/ /home/swg/swg-src/data/sku.3/
\r
83 cp -R /home/swg/appearance /home/swg/swg-src/
\r
88 Point your login.cfg to the IP of the Virtualmachine.
\r