Hello All,
I just wanna know what are the things need for me to set up PW in Ubuntu Linux. I'm new to linux environment and still playing out with its environment.
Xampp is the only one I installed correctly I guess... (not sure though).
:(:
Thanks
Printable View
Hello All,
I just wanna know what are the things need for me to set up PW in Ubuntu Linux. I'm new to linux environment and still playing out with its environment.
Xampp is the only one I installed correctly I guess... (not sure though).
:(:
Thanks
this is my personal basic linux setup info file, maybe this helps you a little bit...
Some things may be different, depending on your pw-server files (i.e. the path of your libtasks.so "ln -s /PWServer/gamed/lib/libtask.so /usr/lib/libtask.so"), because i'm using a portable pw-server package that means everything is stored in a single directory (no extra etc, lib, ...)
Code:--------------
Install Debian
--------------
+ Install Debian 5 Netinstall (Internet Access Required) without any Packages
// After installation reboot and login as root
// update the package list
+ apt-get update
--------
Open-SSH
--------
+ apt-get install ssh
-------------
Install MySQL
-------------
+ apt-get install mysql-server
--------------
Setup Database
--------------
// connect to mysql client
+ mysql -u root -p
+ enter the password...
// create the database
+ mysql> create database pw;
// exit mysql client
// load default data from pw.sql file into database
+ mysql -u root -p -h localhost pw < /PWServer/pw.sql
-----------------
Install PW Server
-----------------
+ change IP in all server files from 192.168.0.50 to <Your IP> (use mreplace or another tool)
+ copy files to server
+ set permissions of "/PWServer" recursively to 0755
+ set permissions of "/PWServer/apache-tomcat/webapps/pwAdmin/" .pwadminconf.jsp & .pwconf.conf to 0644
+ add entry "127.0.0.1 manager" to /etc/hosts
-----------------
Install Libraries
-----------------
+ apt-get install libxml2
+ apt-get install libstdc++5
+ apt-get install libpcre3
// create symbolic link to the new libpcre library
+ ln -s /usr/lib/libpcre.so.3.12.1 /usr/lib/libpcre.so.0
// create symbolic link to the task library
+ ln -s /PWServer/gamed/lib/libtask.so /usr/lib/libtask.so
--------------------------------------------------------------------------
WEBSERVER + PHP not recommend for dedicated PW-Server (use /PWServer/apache-tomcat!)
{
------------------------------
Install lighttpd + php fastcgi
------------------------------
+ apt-get install lighttpd php-cgi
+ edit the "/etc/lighttpd/lighttpd.conf" file to work with fastcgi
---------------------
Install PHP for MySQL
---------------------
+ apt-get install php-mysql
}
--------------------------------------------------------------------------
Thanks gonna try it.