Pages

Perfect World 1.4.5

1. Basic Requirements
COMMAND~: apt-get update
COMMAND~: apt-get install
COMMAND~: apt-get install openssh-server ( if you use Vbox )

1.1 Basic Tools

•Putty
•Winscp

2. Install PW-Server Repack ZePekeno
•Change root directory
COMMAND~: cd /

•Download The Servers Files
COMMAND~: wget http://ragezoneshare.pwascend.com/PWServer.rar

•Unpack
COMMAND~: unrar x PWServer.rar

•Remove the old unpacked files
COMMAND~: rm -f PWServer.rar

•Set Permissions on servers files
COMMAND~: chmod -R 0755 /PWServer

3. Install Libraries

•Install Java Runtime Environment
COMMAND~: apt-get install openjdk-6-jre

•For Linux 64 Bits

COMMAND~: apt-get install ia32-libs
COMMAND~: cp -f /PWServer/.setup/lib/libstdc++.so.5 /lib32/libstdc++.so.5
COMMAND~: cp -f /PWServer/.setup/lib/libpcre.so.0 /lib32/libpcre.so.0
COMMAND~: cp -f /PWServer/gamed/libtask.so /lib32/libtask.so
COMMAND~: cp -f /PWServer/gamed/libtask.so.2 /lib32/libtask.so.2

•For Linux 32 Bits

COMMAND~: cp -f /PWServer/.setup/lib/libstdc++.so.5 /usr/lib/libstdc++.so.5
COMMAND~: cp -f /PWServer/.setup/lib/libpcre.so.0 /usr/lib/libpcre.so.0
COMMAND~: cp -f /PWServer/gamed/libtask.so /usr/lib/libtask.so
COMMAND~: cp -f /PWServer/gamed/libtask.so.2 /usr/lib/libtask.so.2

4. Install Mysql

• First install MySQL, during installation you'll be asked for a root password, remeber it!

COMMAND~: apt-get install mysql-server

•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 </PWServer/.setup/pwdb.sql

•after this, needs change password on table.xml

COMMAND~: sed s/password=\"root\"/password=\"PASSWORD\"/g /PWServer/authd/build/table.xml > /PWServer/authd/build/table.xml.new

COMMAND~: mv -f /PWServer/authd/build/table.xml.new /PWServer/authd/build/table.xml

5. Autostart Basic Firewall

COMMAND~: cp /PWServer/.setup/firewall /etc/init.d/firewall
COMMAND~: update-rc.d firewall defaults

6. Installing suport files
With Winscp go to /PWServer/.setup/etc/
copy all files to /etc/ of your linux

7. Install Apache Webserver

COMMAND~: apt-get install apache2
COMMAND~: apt-get install php5 php5-gd php5-mysql php5-pgsql php5-imap php-pear php-auth php5-ming
COMMAND~: apt-get install php5-xmlrpc php5-xsl php5-curl php5-mcrypt libapache2-mod-php5 php5-mcrypt php5-mysql

8. Install Register
•with Winscp go to directory /PWServer/.setup/registro/
•Find the file and open mysql.classe.php
•where says SENHAMYSQL you put your mysql password
•save
•move this paste to /var/www/

•now you can register your account in the link http://YOURIP/registro/

9. Start Server

COMMAND~: cd /PWServer
COMMAND~: ./start.sh

•Wait to final startup script
•Remember to edit your serverlist in /patcher/server/serverlist.txt

10. Obs
• This server pack no requires Glinkd modification
• To Change the rate os server you just need go to /PWServer/gamed/ and edit the file ptemplate.conf
• Questions in this same topic
• This tutorial as made in Ubuntu OS linux 11.04

11. Credits

•Ronny1982
•ZePekeno

Bola
Ragezone