![]() |
[Tutorial] Running a nightly sphere build on CentOS - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: General Discussion (/Forum-General-Discussion) +--- Forum: Documentation/Tutorials (/Forum-Documentation-Tutorials) +--- Thread: [Tutorial] Running a nightly sphere build on CentOS (/Thread-Tutorial-Running-a-nightly-sphere-build-on-CentOS) |
[Tutorial] Running a nightly sphere build on CentOS - mpgram - 04-28-2014 11:30 PM 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. RE: [Tutorial] Running a nightly sphere build on CentOS - MrX - 08-21-2014 05:30 PM What to do with this errors: linux-gate.so.1 => (0xb775f000) libpthread.so.0 => /lib/libpthread.so.0 (0xb7738000) libmysqlclient.so.16 => /usr/lib/mysql/libmysqlclient.so.16 (0xb75c0000) librt.so.1 => /lib/librt.so.1 (0xb75b0000) libdl.so.2 => /lib/libdl.so.2 (0xb75a8000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb74b8000) libm.so.6 => /lib/libm.so.6 (0xb7488000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7468000) libc.so.6 => /lib/libc.so.6 (0xb72d0000) /lib/ld-linux.so.2 (0xb7760000) libcrypt.so.1 => /lib/libcrypt.so.1 (0xb72a0000) libnsl.so.1 => /lib/libnsl.so.1 (0xb7280000) libssl.so.10 => /usr/lib/libssl.so.10 (0xb7218000) libcrypto.so.10 => /usr/lib/libcrypto.so.10 (0xb7050000) libz.so.1 => /lib/libz.so.1 (0xb7038000) libfreebl3.so => /lib/libfreebl3.so (0xb6fd8000) libgssapi_krb5.so.2 => /lib/libgssapi_krb5.so.2 (0xb6f98000) libkrb5.so.3 => /lib/libkrb5.so.3 (0xb6eb8000) libcom_err.so.2 => /lib/libcom_err.so.2 (0xb6eb0000) libk5crypto.so.3 => /lib/libk5crypto.so.3 (0xb6e80000) libresolv.so.2 => /lib/libresolv.so.2 (0xb6e60000) libkrb5support.so.0 => /lib/libkrb5support.so.0 (0xb6e50000) libkeyutils.so.1 => /lib/libkeyutils.so.1 (0xb6e48000) libselinux.so.1 => /lib/libselinux.so.1 (0xb6e28000) I really don't know to fix it, never played with linux RE: [Tutorial] Running a nightly sphere build on CentOS - karma - 10-09-2014 02:43 AM Which distro are you using? RE: [Tutorial] Running a nightly sphere build on CentOS - diegobh - 02-15-2015 10:49 PM I got error: ./sphereNightly: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory I'm using: CentOs 7 64 bits How to fix it, please? RE: [Tutorial] Running a nightly sphere build on CentOS - diegobh - 02-16-2015 12:29 AM (02-15-2015 10:49 PM)diegobh Wrote: I got error: I fixed just installing the 32 bits libs ![]() |