server 1.4.2 bên ragezone
Hello & Welcome to our community. Is this your first visit? Đăng Ký
Follow us on
Follow us on Facebook Follow us on Twitter Linked In Flickr Watch us on YouTube My Space Blogger
 
Kết quả 1 đến 9 của 9
  1. #1
    CEO zake100's Avatar
    Ngày tham gia
    Nov 2008
    Đang ở
    ĐH Bách Khoa Hà Nội
    Bài viết
    570
    Thanks
    2
    Thanked 96 Times in 20 Posts

    server 1.4.2 bên ragezone

    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 [Only registered and activated users can see links. ]
    • 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 [Only registered and activated users can see links. ]
    • 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 [Only registered and activated users can see links. ]

    • 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
      [Only registered and activated users can see links. ]
    • 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à sẽ test thử xem sao
    Debian chắc dùng ubuntu cũng được vì ubuntu cũng là dòng debian mà
    [Only registered and activated users can see links. ]

  2. #2
    CEO zake100's Avatar
    Ngày tham gia
    Nov 2008
    Đang ở
    ĐH Bách Khoa Hà Nội
    Bài viết
    570
    Thanks
    2
    Thanked 96 Times in 20 Posts

    Ðề: server 1.4.2 bên ragezone

    có vẻ như không có ai quan tâm thì phải nhỉ
    [Only registered and activated users can see links. ]

  3. #3
    Thành Viên
    Ngày tham gia
    Jul 2009
    Bài viết
    173
    Thanks
    6
    Thanked 2 Times in 2 Posts

    Ðề: server 1.4.2 bên ragezone

    cái này là 1.3.6 có đồ 1.4.2 hả mod
    Lần sửa cuối bởi lalakers1192, ngày 01-11-10 lúc 10:18 PM.
    Khách viếng thăm hãy cùng lalakers1192 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  4. #4
    CEO zake100's Avatar
    Ngày tham gia
    Nov 2008
    Đang ở
    ĐH Bách Khoa Hà Nội
    Bài viết
    570
    Thanks
    2
    Thanked 96 Times in 20 Posts

    Ðề: server 1.4.2 bên ragezone

    thấy nó ghi là server 1.4.2 nhưng mình theo dõi topic ấy thì chưa thấy cái hình demo nào và có ý kiến nói là server 1.3.6 có item 1.4.2. cũng chưa có thông tin chính xác cứ cài thử sẽ rõ thôi
    [Only registered and activated users can see links. ]

  5. #5
    Thành Viên
    Ngày tham gia
    Jul 2009
    Bài viết
    173
    Thanks
    6
    Thanked 2 Times in 2 Posts

    Ðề: server 1.4.2 bên ragezone

    vậy mod thử xem rùi post hướng dẫn lên cho mọi người.tk
    Khách viếng thăm hãy cùng lalakers1192 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  6. #6
    Thành Viên
    Ngày tham gia
    Jan 2010
    Bài viết
    598
    Thanks
    23
    Thanked 395 Times in 155 Posts

    Ðề: server 1.4.2 bên ragezone

    Ko có SV files hửm?????
    Test thành công thử mở online đi
    Khách viếng thăm hãy cùng HellsAngel xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  7. #7
    Thành Viên
    Ngày tham gia
    May 2006
    Bài viết
    475
    Thanks
    12
    Thanked 171 Times in 92 Posts

    Ðề: server 1.4.2 bên ragezone

    1.3.6 item 1.4.2 nhìn trong file global_api.lua thì biết sao phải test
    Khách viếng thăm hãy cùng gunbound1012 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  8. #8
    Thành Viên
    Ngày tham gia
    Jul 2009
    Bài viết
    102
    Thanks
    1
    Thanked 40 Times in 12 Posts

    Ðề: server 1.4.2 bên ragezone

    Cái này giống như kiểu update từ 1.3.6 thôi.Forum Ragezone nó đã khẳng định là nó ko có server Tideborn rồi mà.
    Khách viếng thăm hãy cùng goder2910 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  9. #9
    Thành Viên
    Ngày tham gia
    Feb 2009
    Bài viết
    414
    Thanks
    42
    Thanked 19 Times in 8 Posts

    Ðề: server 1.4.2 bên ragezone

    Hè hè Hàng nóng test thử nào nhưng em nghi 1.3.6 thêm item 1.4.2
    Khách viếng thăm hãy cùng kjmbialon xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

 

 

Các Chủ đề tương tự

  1. [Ragezone] rxjh 4.0 Full (web+client+server)
    Bởi RyoJack trong diễn đàn Release
    Trả lời: 238
    Bài viết cuối: 11-03-14, 06:18 PM
  2. Đã có server Khan Online tại Ragezone này bà con ơi
    Bởi kjngsoft trong diễn đàn Private Server For Linux
    Trả lời: 8
    Bài viết cuối: 13-05-12, 10:31 AM
  3. Hướng dẫn cài đặt và server Cabal Full nguồn ragezone new update!
    Bởi DUYHAI trong diễn đàn Các Server Không Nằm Trong Box
    Trả lời: 8
    Bài viết cuối: 02-08-08, 10:24 AM

Quyền viết bài

  • Bạn Không thể gửi Chủ đề mới
  • Bạn Không thể Gửi trả lời
  • Bạn Không thể Gửi file đính kèm
  • Bạn Không thể Sửa bài viết của mình
  •  
Múi giờ GMT +7. Bây giờ là 09:47 PM.
vBulletin®, Copyright ©2000-2011, Jelsoft Enterprises Ltd.
CLBGamesVN không chịu trách nhiệm về Luật Bản Quyền của các tài liệu, bài viết v.v...được đăng tải trên diễn đàn này.
Diễn đàn phát triển dưới sự đóng góp của tất cả thành viên. BQT chỉ là những người thành lập ra sân chơi, quản lý và duy trì về mặt kỹ thuật, nội dung khi hợp lệ.