I am going to assume that you already know how to install the OS and know a few basic linux commands, like how to copy. I suggest, for simplicity sake) running a 32bit version of the OS as it makes this much easier. I am using CentOS 6.5 32bit.
**Please note that this is not the secure way of running things as I believe that is beyond the scope of this thread.**
After the OS is installed, login and run the following commands.
1.
yum update -y
2.
service iptables stop
3.
chkconfig iptables off
4.
mkdir /sphere
You need to now download and copy the files over to your new CentOS server. I personally use WinSCP as it is free and easy. Copy the two files that you download into the /sphere directory. Now, run the following commands:
5.
tar -zxvf sphereNightlyScripts.tar.gz
6.
tar -zxvf sphereNightly.tar.gz
7.
cd /sphere
8.
mkdir save mul logs accounts
Copy your game files (mul, uop, idx, and the like) to the "mul" directory. Again, I used WinSCP. While we are at it, lets copy the
Create blank world files and account files. Quite simply done by typing the following:
9.
echo "[eof]">/sphere/save/sphereworld.scp
10.
echo "[eof]">/sphere/save/spherestatics.scp
11.
echo "[eof]">/sphere/save/spheremultis.scp
12.
echo "[eof]">/sphere/save/spheredata.scp
13.
echo "[eof]">/sphere/save/spherechars.scp
And now accounts:
14.
echo "[eof]">/sphere/accounts/sphereaccu.scp
15.
echo "[eof]">/sphere/accounts/sphereacct.scp
Now, you need to go edit your sphere.ini. I cannot tell you what you need to change, but I am going to suggest looking at the directories and such carefully as you will definately need to uncomment
//MulFiles=mul/. You will also need to add a line in their "
AGREE=1".
Now that these are all done, you are almost there. I suggest running "screen". This program will allow you to logout of the server and still have your shard up and running, and allow you to get back to the console later. Let's also get the mysql library we need to run sphere.
16.
yum install screen wget -y
17.
cd /sphere
18.
wget http://prerelease.sphere.torfo.org/files/libMySQL.dll
Now, we run sphere:
19.
screen
20.
./sphereNightly
Thats it! You should be running. If you want to close this window, you will need to detach this screen session. To do so, hold
CTRL and tap
a then
d. Make sure capslock is not on. This will kick you back and you should see a message that says
[detached]. To get back to it, type
screen -r. Once you are detached from the screen session, you can logout and/or exit like normal.