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
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
14) Open your browser and type
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
It should install and once it has you will need to change a few files:
/root/tomcat_start.sh
/root/tomcat_stop.sh
Last line of /root/.profile
Second to last line of /root/.bash
1) Download the latest
You must be registered to see links
2) Download
You must be registered to see links
3) Using winRAR, extract the pwAdmin archive
4) Download
You must be registered to see links
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"
// 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
You must be registered to see links
(replace SERVERIP with your servers ip address)14) Then direct your browser to
You must be registered to see links
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 must be registered to see links
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 ""
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 ""
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 ""
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 ""
export JAVA_HOME=/usr/java/jre1.6.0_25
export JAVA_HOME=/usr/java/jre1.6.0_25