Trang chủTrang chủ  Trang ChínhTrang Chính  Trợ giúpTrợ giúp  Tìm kiếmTìm kiếm  Đăng kýĐăng ký  Đăng NhậpĐăng Nhập  
Top posters
Latest topics
» xin chào những người bạn một thời
by wowbiboy 21/7/2018, 10:21 pm

» sELedit ZX [Unicode] [ VN, CN client 1.3.6 (422) ] || NEW ||
by masumichi 10/4/2018, 5:37 pm

» chia se sẻver 11 class
by neko2704 8/4/2018, 11:44 am

» Share full ID của bản EL server và V37 VN - version test (new update 16/4)
by banphaixanh 9/1/2018, 2:25 pm

» Tool mở ( Ver Eng support Unicode - Vietnamese )
by n2mobile1234 9/1/2017, 5:09 pm

» [Xích Bích] Tool Gshop v2.1
by n2mobile1234 9/1/2017, 5:02 pm

» Tools Xích Bích EL (test)!
by n2mobile1234 9/1/2017, 4:25 pm

» EL editor (New) support unicode
by n2mobile1234 9/1/2017, 4:21 pm

» ZX tool race player 422!
by thuyvy198 5/1/2017, 7:33 pm

» Hướng dẫn chỉnh rate của server
by thuyvy198 5/1/2017, 7:28 pm

» Server Private Thế Giới Hoàn Mỹ ( VM ) ( update 27/8/2010 )
by quanhongle 21/12/2016, 12:34 am

» Server Private Tru Tiên ( VM ) ( update 24/8/2010 )
by quanhongle 19/12/2016, 11:18 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

» 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

» 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

» Tools Gshop tru tiên việt nam (all version)!!
by bjtran 25/6/2015, 7:24 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
Trúc Cơ
Trúc Cơ

Tổng số bài gửi : 16
Age : 29
Đế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


* 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.

* 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
COMMAND~: cat /PWServer/glinkd/gamesys.conf | grep address
* Now lets check which host ip your machine has, in our example
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.
Replace the NEW-IP in the following commands with the ip of your host machine (i.e.
COMMAND~: mv /PWServer/glinkd/gamesys.conf /PWServer/glinkd/
COMMAND~: sed s/OLD-IP/NEW-IP/g /PWServer/glinkd/ > /PWServer/glinkd/gamesys.conf
COMMAND~: rm -f /PWServer/glinkd/

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/ /lib32/
COMMAND~: cp -f /PWServer/.setup/lib/ /lib32/
COMMAND~: cp -f /PWServer/.setup/lib/ /lib32/
* For 32 Bit Debian
Copy some required libraries
COMMAND~: cp -f /PWServer/.setup/lib/ /usr/lib/
COMMAND~: cp -f /PWServer/.setup/lib/ /usr/lib/
COMMAND~: cp -f /PWServer/.setup/lib/ /usr/lib/

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/
COMMAND~: sed s/password="root"/password="PASSWORD"/g /PWServer/authd/ > /PWServer/authd/table.xml
COMMAND~: rm -f /PWServer/authd/

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/
COMMAND~: mv -f /PWServer/jetty-7.1.6/webapps/pwAdmin/WEB-INF/ /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 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
Trúc Cơ
Trúc Cơ

Tổng số bài gửi : 2
Age : 27
Đế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
Cuồng Ma & Chân Tiên:
Cuồng Ma & Chân Tiên:

Tổng số bài gửi : 244
Age : 32
Đế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
Trúc Cơ
Trúc Cơ

Tổng số bài gửi : 14
Age : 35
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
Trúc Cơ
Trúc Cơ

Tổng số bài gửi : 15
Age : 28
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
Trúc Cơ
Trúc Cơ

Tổng số bài gửi : 3
Age : 32
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   

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 |