1. Basic Requirements
A CENTOS 6.5 X86-64 LINUX
COMMAND~: yum update
COMMAND~: yum install glibc.i686
COMMAND~: yum install openssh-server ( if you use Vbox )
COMMAND~: yum install libxml2.so.2
COMMAND~: yum install libpcre.so.0
COMMAND~: yum install libcrypto.so.6
COMMAND~: yum install libstdc++.so.5
COMMAND~: yum reinstall pcre
1.1 Basic Tools
•Putty
•Winscp
2. Install SW-Server Repack Bola
•Change root directory
COMMAND~: cd /
•Download The Servers Files
COMMAND~: SWServerSWServer.rar
AFTER DOWNLOAD THE SERVER FILES, UPLOAD ON / FOLDER OF CENTOS, SERVER DON'T WORK ON ANOTHER PLACE !!!!
2.1 Install rar on centos to unpack server files
COMMAND~: Download
COMMAND~: rpm -Uvh unrar-3.9.10-1.el6.rf.x86_64.rpm
COMMAND~: rm -f unrar-3.9.10-1.el6.rf.x86_64.rpm
•Unpack
COMMAND~: unrar x SWServer.rar
•Remove the old unpacked files
COMMAND~: rm -f SWServer.rar
•Set Permissions on servers files
COMMAND~: chmod -R 0777 /SWServer
3. Install Libraries
•Install Java Runtime Environment
COMMAND~: yum install java*
COMMAND~: cp -f /SWServer/.setup/libs/libskill.so /lib/libskill.so
COMMAND~: cp -f /SWServer/.setup/libs/libio32.so /lib/libio32.so
COMMAND~: cp -f /SWServer/.setup/libs/liblog32.so /lib/liblog32.so
COMMAND~: cp -f /SWServer/.setup/libs/libtask.so /lib/libtask.so
COMMAND~: cp -f /SWServer/.setup/libs/libskill.so /usr/lib/libskill.so
COMMAND~: cp -f /SWServer/.setup/libs/libio32.so /usr/lib/libio32.so
COMMAND~: cp -f /SWServer/.setup/libs/liblog32.so /usr/lib/liblog32.so
COMMAND~: cp -f /SWServer/.setup/libs/libtask.so /usr/lib/libtask.so
4. Install Mysql
COMMAND~: yum install mysql mysql-server
COMMAND~: chkconfig mysqld on
COMMAND~: /usr/bin/mysql_secure_installation
• Hit "enter" to give no password for root when that program asks for it. To apply some reasonable security to your new MySQL server say "yes" to all the questions the program asks. In order, those will let you set the root password, remove anonymous users, disable remote root logins, delete the test database the installer included, and then reload the privileges so your changes will take effect.
• After installation you can import the base table scheme.
Replace the PASSWORD in the following command with your mysql password
COMMAND~: mysql -uroot -pPASSWORD -h localhost </SWServer/.setup/swdb.sql
•after this, needs change password on table.xml
COMMAND~: sed s/password=\"123\"/password=\"PASSWORD\"/g /SWServer/authd/build/table.xml > /SWServer/authd/build/table.xml.new
COMMAND~: mv -f /SWServer/authd/build/table.xml.new /SWServer/authd/build/table.xml
5. Installing suport files
With Winscp go to /SWServer/.setup/etc/
copy all files to /etc/ of your linux
6. Install Apache Webserver
COMMAND~: yum install httpd
COMMAND~: yum install php php-mysql
COMMAND~: chkconfig --levels 235 httpd on
7. Install Register
•with Winscp go to directory /SWServer/.setup/reg/
•Find the file and open config.php
•where says 123 you put your mysql password
•save
•move this paste to /var/www/html/
•now you can register your account in the link
[You must be registered and logged in to see this link.]8. Start Server
• First we will reboot the server to start the server
COMMAND~: reboot
•APPLY THIS PATCH ON CLIENT LAST VERSION PWI AND ON SERVER AND AFTER START THE SERVER EDIT SERVERLIST AND PLAY THE GAME
•ELEMENTS.DATA TASKS AND MALLDATA SYNC, AND SOME SMALL FIXES ABOUT GLINKD VERSION
Patch Fix
SMALL FIXES ( THANKS FOR RYUKENHERO FOR SOME INSTANCES FIXES )
extract on /SWServer/gamed/ folder =gs.rar
COMMAND~: cd /SWServer
COMMAND~: ./start.sh
•Wait to final startup script
•For client use the last Pwi Version =D
•Remember to edit your serverlist in /userdata/server/serverlist.xml
9. Obs
• This server pack no requires Glinkd modification
• Instances already fixed on this Servers Files
• Questions in this same topic
• This tutorial as made in Centos 6.5 x86-64
10. Credits
•Ronny1982
•Bola