1.45 Installing Tutorial + Servers pack ( ronny style )

Status
Not open for further replies.
Joined
Dec 23, 2011
Messages
1,905
Reaction score
2,527
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


391424_463276947030019_2027849838_n - 1.45 Installing Tutorial + Servers pack ( ronny style ) - RaGEZONE Forums
526404_463277180363329_803580871_n - 1.45 Installing Tutorial + Servers pack ( ronny style ) - RaGEZONE Forums
552739_463277337029980_1470334696_n - 1.45 Installing Tutorial + Servers pack ( ronny style ) - RaGEZONE Forums

 
Last edited:
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
 
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
 
#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
 
^ 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.
Back