Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Guide] Installing latest pwAdmin on hrace009's server with tomcat

Newbie Spellweaver
Joined
Jun 12, 2011
Messages
17
Reaction score
1
As stated in the title, this is a guide to installing the latest pwAdmin version with tomcat.

1) Download the latest
2) Download
3) Using winRAR, extract the pwAdmin archive
4) Download
5) Enter your server details into winSCP, server ip, root and root username
6) Direct winSCP to /root/apache-tomcat-5.5.28/webapps
7) Delete the pwAdmin folder there
8) Under the pwAdmin folder you extracted earlier, go to jetty-7.2.0\webapps
9) Copy the pwAdmin folder to /root/apache-tomcat-5.5.28/webapps
10) Open up /root/apache-tomcat-5.5.28/webapps/pwAdmin/WEB-INF/.pwadminconf.jsp and make the top of it look like this
// pwadmin access password as md5 encrypted string
// default password is root -> 63a9f0ea7bb98050796b649e85481845
String iweb_password = "4417086f7ca83a0f21ed7f7ccd29361e";

// connection settings to the mysql pw database
String db_host = "localhost";
String db_port = "3306";
String db_user = "root";
String db_password = "hrace009";
String db_database = "dbo"

11) Open up /root/apache-tomcat-5.5.28/webapps/pwAdmin/WEB-INF/.pwconf.conf and replace all the 127.0.0.1 with the ip address of your server. eg. 192.168.0.10

12) Reboot your server
13) Type this
Code:
./tomcat_start.sh
14) Open your browser and type
(replace SERVERIP with your servers ip address)
14) Then direct your browser to
15) It should be working!

Additional notes:
This is assuming you have the version of java that came with hrace's server. If you don't, or for some reason it doesn't work, try

You will need to place it in your /usr/java folder with winSCP and then go to the terminal and type
Code:
cd /usr/java
Code:
./jre-6u25-linux-i586.bin

It should install and once it has you will need to change a few files:

/root/tomcat_start.sh
echo ""
echo "=== APACHE TOMCAT ==="
#export JAVA_HOME=/usr/java/jre1.6.0_25
apache-tomcat-5.5.28/bin/startup.sh
sleep 5
echo "=== DONE! ==="
echo ""
/root/tomcat_stop.sh
echo ""
echo "=== APACHE TOMCAT ==="
#export JAVA_HOME=/usr/java/jre1.6.0_25
apache-tomcat-5.5.28/bin/shutdown.sh
sleep 5
echo "=== DONE! ==="
echo ""
Last line of /root/.profile
export JAVA_HOME=/usr/java/jre1.6.0_25
Second to last line of /root/.bash
export JAVA_HOME=/usr/java/jre1.6.0_25

:thumbup:
 
Newbie Spellweaver
Joined
Apr 25, 2007
Messages
14
Reaction score
3
help, update pwadmin & ./authd offline

 
Newbie Spellweaver
Joined
May 15, 2011
Messages
40
Reaction score
0
Can't install ./jre-6u25-linux-i586.bin, it says Permission Denied :/
 
Initiate Mage
Joined
Feb 20, 2011
Messages
2
Reaction score
0
hai all Can help me plzzz I've done what's in the tutorials are all no problem, but there is one issue that I don't understand, I want to play right (clik element.exe) entry and loading but over time that is disappear (is gone), please my boss what was wrong with me and give me the solution Plzz
 
Joined
Oct 14, 2009
Messages
5,493
Reaction score
2,299
hai all Can help me plzzz I've done what's in the tutorials are all no problem, but there is one issue that I don't understand, I want to play right (clik element.exe) entry and loading but over time that is disappear (is gone), please my boss what was wrong with me and give me the solution Plzz

Please, make your own thread -- do not post this same question multiple times in threads where it is off topic.

Thank you...
 
Viva la Vida
Joined
Jul 2, 2011
Messages
609
Reaction score
155
Can't install ./jre-6u25-linux-i586.bin, it says Permission Denied :/

chmod the permissions of it to 0755, if you don't know how to do this just google chmod command

or if you use winSCP right click on the jreblahblah.bin and go properties and then set permissions to 0755 in the little box at the bottom
 
Newbie Spellweaver
Joined
May 15, 2011
Messages
40
Reaction score
0
k, ill try
Edit: It worked but I don't have the addons, I did everything
 
Last edited:
Viva la Vida
Joined
Jul 2, 2011
Messages
609
Reaction score
155
Are you sure you have the latest version of pwAdmin then? is there an addons folder in the pwAdmin directory, check with winSCP....
 
Newbie Spellweaver
Joined
May 15, 2011
Messages
40
Reaction score
0
Yes I am , I have the add-ons in the folder, im not that dumb :O
 
Viva la Vida
Joined
Jul 2, 2011
Messages
609
Reaction score
155
Sometimes the biggest problems arise from the smallest and stupidest mistakes...

I really have no idea why the addons is not showing up then...
 
Viva la Vida
Joined
Jul 2, 2011
Messages
609
Reaction score
155
Seb, you need to change your pwAdmin mysql password, from memory it is /pwAdmin/.pwadminconf.conf or something along those lines
 
Newbie Spellweaver
Joined
Aug 11, 2011
Messages
34
Reaction score
0
when i tipe ifconfig says tht my ip is 127.0.0.1 and when i put this ip in winscp is not working.......why?
 
Initiate Mage
Joined
Sep 23, 2011
Messages
1
Reaction score
0
R3DW1Z - [Guide] Installing latest pwAdmin on hrace009's server with tomcat - RaGEZONE Forums


map servers are always offline when logged into the game
can anyone help me? :thumbup:
 
Back
Top