• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

1.45 Installing Tutorial + Servers pack ( ronny style )

Status
Not open for further replies.
Shh, quiet, you might piss somebody off
Developer
Joined
Dec 23, 2011
Messages
1,797
Reaction score
2,169
1.46 Installing Tutorial + Servers pack ( ronny style )

1. Basic Requirements

COMMAND~: apt-get update
COMMAND~: apt-get install unrar
COMMAND~: apt-get install openssh-server ( if you use Vbox )

1.1 Basic Tools

•Putty
•Winscp

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

•Download The Servers Files
COMMAND~: wget

•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/register/
•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

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
• Create monsters already fixed on this Servers Files
• Questions in this same topic
• This tutorial as made in Ubuntu OS linux 11.04

11. Credits

•Ronny1982
•Bola






 

Attachments

You must be registered for see attachments list
Last edited:
Junior Spellweaver
Joined
Apr 9, 2012
Messages
120
Reaction score
36
gz work bro ... ^^
 
Last edited:
Junior Spellweaver
Joined
Apr 9, 2012
Messages
120
Reaction score
36
hmm no already more ppl downloading it wait for connect

or download directory and upload into ur server and

Change root directory
COMMAND~: cd /

Unpack
COMMAND~: tar -xvf PWServer.tar

follow the tut
 
Skilled Illusionist
Joined
Jul 16, 2005
Messages
332
Reaction score
5
Thanks bro,btw it's true you should put it into mediafire.
Because.. dropbox always have issue with bandwidth @@

Anyhow..i can't download the file already..it says bandwidth
 
Junior Spellweaver
Joined
Aug 5, 2011
Messages
159
Reaction score
6

:blink:
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Dec 1, 2007
Messages
29
Reaction score
0
#tar -xvf PWServer.tar
He then starts to extract this error appears:

gzip: stdin: invalid compressed data--format violatedtar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
 
Initiate Mage
Joined
May 22, 2012
Messages
1
Reaction score
0
^ yeah i get same error when execute

# tar -xvf PWServer.tar

gzip: stdin: invalid compressed data--format violated
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
 
Status
Not open for further replies.