Trang chủTrang chủ  IndexIndex  Trợ giúpTrợ giúp  Tìm kiếmTìm kiếm  Đăng kýĐăng ký  Đăng NhậpĐăng Nhập  
Top posters
SaKuRa
 
FH-NgocNhj
 
Fei
 
Killer
 
nhocball
 
vitvn
 
VjetKu0ng
 
Ruby
 
dung059
 
diorlee
 
Latest topics
» EL editor (New) support unicode
by trantuan22 4/9/2016, 10:24 am

» Tools Xích Bích EL (test)!
by duytim 16/4/2016, 5:36 am

» Share elements.data full ID của bản EL server và V37 VN - version test (new update 16/4)
by tmapdien01 13/4/2016, 1:12 am

» ZX tool race player 422!
by anhduckvn 2/4/2016, 5:18 am

» sELedit ZX [Unicode] [ VN, CN client 1.3.6 (422) ] || NEW ||
by Minaka 29/3/2016, 3:59 pm

» [Xích Bích] Tool Gshop v2.1
by trinhdat 20/2/2016, 11:00 pm

» Quà trung thu tặng ae (Element việt hóa (tạm thời))
by heomabu 9/2/2016, 9:04 pm

» Server Private Xích Bích ( VM ) ( update 17/9/2010 )
by trinhdat 14/1/2016, 8:16 pm

» chia se sẻver 11 class
by Gamethanhtuan 19/12/2015, 10:53 pm

» còn ai không giúp mình với
by Gamethanhtuan 19/12/2015, 10:51 pm

» Hướng dẫn add shop và add item (New)
by trantuan22 3/11/2015, 2:58 pm

» Hướng dẫn chỉnh rate của server
by thinhnqvn 1/11/2015, 3:58 pm

» Server Private Thế Giới Hoàn Mỹ ( VM ) ( update 27/8/2010 )
by 3ku123 1/11/2015, 3:29 pm

» Chính Thức Ra Mắt Thử Nghiệm Server Offline Vbox TGHM Dùng Client Việt
by 3ku123 29/10/2015, 4:58 pm

» Client của VTCz-one ver 1.2.8
by trinhdat 16/10/2015, 10:56 am

» Soft Việt Hóa Gshop 100% ( Very Good )
by omaithotrang 2/9/2015, 8:46 pm

» Tool mở element.data ( Ver Eng support Unicode - Vietnamese )
by Phạm Tiến Anh 22/7/2015, 12:17 am

» Tools Gshop tru tiên việt nam (all version)!!
by bjtran 25/6/2015, 7:24 pm

» Cần người hợp tác làm tool GM dành cho các game của PW !
by khoanpm 16/5/2015, 4:29 pm

» [Guide] Edit exp level
by khoanpm 16/5/2015, 4:01 pm


Share | 
 

 server 1.4.2 bên ragezone

Xem chủ đề cũ hơn Xem chủ đề mới hơn Go down 
Tác giảThông điệp
zake100
Trúc Cơ
Trúc Cơ


Nam
Tổng số bài gửi : 16
Age : 27
Đến từ : Quảng Ninh
Job/hobbies : Sinh Viên
Registration date : 18/10/2010

Bài gửiTiêu đề: server 1.4.2 bên ragezone   1/11/2010, 11:07 am

Requirements

* A computer with non-changing ip address
* Internet connection for this computer
* Basic linux skills


1. Install Debian 5.x
You can skip this if Debian is already installed (i.e. vServer)
Internet access is required

* Download Debian 5.x netinstall and burn image to CD
* Boot your PC from CD
* Most of the installation process should be self explaining
* As file system i've selected ext2, if you plan to handle a large amount of small files you should choose a journaling file system i.e. ReiserFS
* When the installer ask for package selection deselect all packages, we will install everything on our own
* After installation is complete, remove CD and reboot
* Login as root with the root password that you had set during installation
* First we update the source list
COMMAND~: apt-get update
* Now we install the first package, the SSH server that will allow you remote access
COMMAND~: apt-get install openssh-server
* The server files used in this guide are bzip2 compressed, bzip2 is required to decompress the files
COMMAND~: apt-get install bzip2


2. Install Kernel
The generic kernel when installing Debian uses ~150 MB RAM, so we going to install a server kernel with a memory footprint of ~40 MB.
If you have enough RAM you can skip this.
SKIP THIS IF YOUR MACHINE IS A VSERVER !!!

* Figure out which kernel you use i.e. linux-image-2.6.26-2-686
COMMAND~: uname -r
* Now view a list of available kernel images
COMMAND~: apt-get install linux-image
* Select one of the vserver kernels that fits with your system (amd64, 686,...)
If you have a 32 Bit system you should install an image with PAE extension to use more than 4GB RAM i.e. linux-image-2.6.26-2-vserver-686-bigmem
COMMAND~: apt-get install linux-image-2.6.26-2-vserver-686-bigmem
* At least you can remove the current kernel if you want to...
During uninstallation you'll be ask if you really wanna remove the kernel that is currently in use, select no to continue uninstallation
COMMAND~: apt-get autoremove linux-image-2.6.26-2-686


3. Install PW-Server Files

* Change to the root directory
COMMAND~: cd /
* Download the server files (host address may change in future)
COMMAND~: wget [You must be registered and logged in to see this link.] (cái này down về rồi thì thay [You must be registered and logged in to see this link.] này bằng đường dẫn tới file đó)
* Extract the files
COMMAND~: tar -xf PWServer.tar.bz2
* Now delete the downloaded archive (or keep it if you want)
COMMAND~: rm -f PWServer.tar.bz2
* Set permissions of the pw-server files to 0755
COMMAND~: chmod -R 0755 /PWServer
* Next we have to change all host ip addresses in the pw-server configuration files
* First we check for the current host ip in the server files, in our example lets say 192.168.0.50
COMMAND~: cat /PWServer/glinkd/gamesys.conf | grep address
* Now lets check which host ip your machine has, in our example 81.30.158.174
COMMAND~: ifconfig | grep "inet addr"
* Allright, time to replace all old host ip's with the ip of your machine.
Replace the OLD-IP in the following commands with the ip from the server files (i.e. 192.168.0.50)
Replace the NEW-IP in the following commands with the ip of your host machine (i.e. 81.30.158.174)
COMMAND~: mv /PWServer/glinkd/gamesys.conf /PWServer/glinkd/gamesys.conf.org
COMMAND~: sed s/OLD-IP/NEW-IP/g /PWServer/glinkd/gamesys.conf.org > /PWServer/glinkd/gamesys.conf
COMMAND~: rm -f /PWServer/glinkd/gamesys.conf.org


4. Install Libraries

* Java Runtime Environment is required for the PW Java API (used by authd and pwAdmin)
COMMAND~: apt-get install openjdk-6-jre
* For 64 Bit Debian
Install ia32 libs and copy some required libraries not contained in ia32
COMMAND~: apt-get install ia32-libs
COMMAND~: cp -f /PWServer/.setup/lib/libstdc++.so.5.0.7 /lib32/libstdc++.so.5
COMMAND~: cp -f /PWServer/.setup/lib/libpcre.so.3.12.1 /lib32/libpcre.so.0
COMMAND~: cp -f /PWServer/.setup/lib/libtask.so /lib32/libtask.so
* For 32 Bit Debian
Copy some required libraries
COMMAND~: cp -f /PWServer/.setup/lib/libstdc++.so.5.0.7 /usr/lib/libstdc++.so.5
COMMAND~: cp -f /PWServer/.setup/lib/libpcre.so.3.12.1 /usr/lib/libpcre.so.0
COMMAND~: cp -f /PWServer/.setup/lib/libtask.so /usr/lib/libtask.so


5. 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 create the database 'pw' and import the base table scheme.
Replace the PASSWORD in the following commands with your mysql password
COMMAND~: mysql -u root -pPASSWORD -e "create database pw;"
COMMAND~: mysql -u root -pPASSWORD -h localhost pw < /PWServer/.setup/pwdb.sql
* We have to replace the default mysql password in the pw-server files with your mysql password.
Replace the PASSWORD in the following commands with your mysql password
COMMAND~: mv /PWServer/authd/table.xml /PWServer/authd/table.xml.org
COMMAND~: sed s/password="root"/password="PASSWORD"/g /PWServer/authd/table.xml.org > /PWServer/authd/table.xml
COMMAND~: rm -f /PWServer/authd/table.xml.org


6. Configure PW Web Administration (Jetty + pwAdmin)
For detailed information about pwAdmin read the online documentation

* The following will change the default mysql password to give pwAdmin access to your mysql database
Replace the PASSWORD in the following commands with your mysql
COMMAND~: sed s/db_password\ =\ "root"/db_password\ =\ "PASSWORD"/g /PWServer/jetty-7.1.6/webapps/pwAdmin/WEB-INF/.pwadminconf.jsp > /PWServer/jetty-7.1.6/webapps/pwAdmin/WEB-INF/.pwadminconf.jsp.new
COMMAND~: mv -f /PWServer/jetty-7.1.6/webapps/pwAdmin/WEB-INF/.pwadminconf.jsp.new /PWServer/jetty-7.1.6/webapps/pwAdmin/WEB-INF/.pwadminconf.jsp


7. Autostart Jetty Web Application Server
The document root of jetty is located in /PWServer/jetty-7.1.6/webapps/ROOT
For more infromation on the jetty web application server read the online documentation

* Jetty uses a PHP servlet, so we need to install php-cgi
COMMAND~: apt-get install php5-cgi php5-mysql
* It's really useful to start the webserver with system boot, we install an init script and register it to the startup runlevels
COMMAND~: cp /PWServer/.setup/jetty /etc/init.d/jetty
COMMAND~: update-rc.d jetty defaults


8. Autostart Basic Firewall

* This will install a basic firewall which has incoming ports open on 22(SSH), 8080(HTTP-ALT) and 29000(Perfect World)
COMMAND~: cp /PWServer/.setup/firewall /etc/init.d/firewall
COMMAND~: update-rc.d firewall defaults


9. Finalize

* You have reached the end of the server guide, it's time to restart your machine
COMMAND~: reboot
* You can now open a Web Browser on a remote PC and loading the start page of the server that should show a phpinfo() page if everything is correct
Replace the SERVER-IP in the following command with your server ip
[You must be registered and logged in to see this link.]
* At the top of the page is a link to pwAdmin and adminer. pwAdmin is the pw-server web administration interface, adminer is a php based mysql administration interface.
Click pwAdmin
* The default password for pwAdmin is "root", but pwAdmin demands to enter a new password, so on the first login enter the password you wanna use (hint: the password will be stored md5 encoded in "WEB-INF/.pwadminconf.jsp" just in case you wanna change it somtime)
* On the account tab you can create a new account
* On the server control tab you can start the server
* Use a client patched with pwd.codeplex.com... guide for client will coming later
* have fun...

mình đang down về và thử xem
có thể dùng ubuntu chắc cũng xong vì ubuntu cũng là dòng debian mà


Được sửa bởi zake100 ngày 6/12/2010, 6:52 pm; sửa lần 1.
Về Đầu Trang Go down
gaubong1012
Trúc Cơ
Trúc Cơ


Nam
Tổng số bài gửi : 2
Age : 25
Đến từ : Hạ Long
Registration date : 01/11/2010

Bài gửiTiêu đề: Re: server 1.4.2 bên ragezone   1/11/2010, 12:51 pm

123 cái này không phải 1.4.2 đâu đừng mất công test làm gì chỉ là 1.3.6 item 1.4.2 thôi
bản tinh linh chiến ca có cách đây khoang 2 năm trước nhưng tinh linh cũng chỉ để cho đẹp dek làm gì dc
23 23 23 23
Về Đầu Trang Go down
diorlee
Cuồng Ma & Chân Tiên:
Cuồng Ma & Chân Tiên:


Nam
Tổng số bài gửi : 244
Age : 30
Đến từ : Nhà xác
Job/hobbies : Cái gì càng bệnh hoạn càng tốt
Registration date : 11/02/2010
Huy hiệu :

Bài gửiTiêu đề: Re: server 1.4.2 bên ragezone   1/11/2010, 4:23 pm

123 server ????
Về Đầu Trang Go down
mrluoi1986
Trúc Cơ
Trúc Cơ


Tổng số bài gửi : 14
Age : 33
Registration date : 08/11/2010

Bài gửiTiêu đề: Re: server 1.4.2 bên ragezone   6/12/2010, 5:27 pm

không có links down SV àh bác chủ ơi
Về Đầu Trang Go down
master90x
Trúc Cơ
Trúc Cơ


Tổng số bài gửi : 15
Age : 26
Registration date : 15/05/2010

Bài gửiTiêu đề: Re: server 1.4.2 bên ragezone   7/12/2010, 10:58 am

Tưởng Lên Tinh Linh Rồi cơ....Haizzzzzzzzzzzz
Về Đầu Trang Go down
letgo12345
Trúc Cơ
Trúc Cơ


Tổng số bài gửi : 3
Age : 30
Registration date : 07/12/2010

Bài gửiTiêu đề: Re: server 1.4.2 bên ragezone   7/12/2010, 4:35 pm

xin cai link thanks
Về Đầu Trang Go down
Sponsored content




Bài gửiTiêu đề: Re: server 1.4.2 bên ragezone   Today at 12:43 pm

Về Đầu Trang Go down
 

server 1.4.2 bên ragezone

Xem chủ đề cũ hơn Xem chủ đề mới hơn Về Đầu Trang 
Trang 1 trong tổng số 1 trang

Permissions in this forum:Bạn không có quyền trả lời bài viết
 :: W2I - Perfect Wold :: Server Và Hướng Dẫn Liên Quan-
Poweredby phpBB® Version 2.0
Copyright ©2000 - 2008, Forumotion.
Free forum | © phpBB | Free forum support | Report an abuse | Sosblogs