NPC Roundup (Phase I)
[swg-src.git] / sid_readme.md
blobfa11e9f3ea9818b7f1521ebaa680215a38deb868
1 # Debian SID SWGMasters Developer VM\r
2 ## System Requirements\r
3 \r
4 * Virtualbox 5.0.x \r
5 * 4GB RAM minimum (The VM supports 64GB RAM)\r
6 * 30GB Harddisk Space\r
7 \r
8 Recommended: \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
12 * SSD as VM Storage\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
30 * CPU Setting PAE\r
31 * Network Setting: Bridge Network\r
33 Change the /etc/hosts file to the right ipaddress. \r
35                 nano /etc/hosts\r
37 Change the 192.168.2.x to the IP of the Virtual Machine\r
39                 <yourip>                swg\r
41 Restart the server: \r
43                 shutdown -r now\r
45 Download Putty and point it to the IP of your VM\r
46 Login as user swg with password swg. \r
48                 cd swg-src/\r
49                 git pull (optional updating repo content)\r
50                 ./build_linux.sh\r
51                 !! Ignore the install dependencies PART !!\r
52                 \r
53 ## Buildingphases\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
57 ### Configphase\r
58 use local\r
60 Database DSN: \r
61 //127.0.0.1/swg\r
63 Database User:\r
64 swg\r
66 Database Password: \r
67 swg\r
69 ### 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
73 ### Database \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
77                 cd /home/swg/\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
85 ## First start\r
86                 ./start_Server.sh\r
88 Point your login.cfg to the IP of the Virtualmachine.\r