PDA

View Full Version : [Hướng dẫn] Cài server TLBB toàn tập



TitanRain
16-10-08, 02:44 PM
Bài viết có sử dụng nhiều nguồn tài liệu khác nhau.
Xin gửi lời cảm ơn tới : GiaoChu đã giúp em thực hiện bài viết này
================================================== ===

Phần 1. Yêu cầu hệ thống

Phần 2: Các link download cần thiết

Phần 3: Cài OS - Linux Redhat4

Phần 4: Cài Oracle 10g i386

Phần 5: Cài MySQL

Phần 6: Cấu hình TLBB server

Phần 7: Các lỗi thường gặp


Mình sẽ cố gắng mỗi ngày post 1 phần, nếu được thank nhiệt tình :beat_shot:

TitanRain
16-10-08, 02:45 PM
Phần 1.
A. Yêu cầu cấu hình tối thiểu ( Cài server trên 1 máy)
- Intel Dual Core 2.8
- RAM 2 GB
B. Chuẩn bị các công cụ
- RedHat Enterprise 4 U4 AS
- Oracle for Linux i386

TitanRain
16-10-08, 02:46 PM
Phần 2. Các link download cần thiết

- Server TLBB 150 bản mới nhất + web (<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>) (Server FPT hiện giờ mới có bản 126)

- Oracle 10g for linux (<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>) (Phải đăng ký tài khoản Oracle mới download được)
- Redhat 4U4 AS DVD (ftp://ftp.netat.net/RHEL4U4/RHEL4-U4-i386-AS-DVD.iso)(Phải dùng Thunder 5 mới download được)
- MYSQL for Linux (ftp://ftp.pbone.net/mirror/<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>)
- ODBC connector for linux (ftp://mysql.byungsoo.net/pub/mysql/Downloads/Connector-ODBC/3.51/mysql-connector-odbc-3.51.25-0.i386.rpm)
- Dùng client của FPT bản mới nhất (sẽ có lỗi cash)

TitanRain
16-10-08, 02:47 PM
Phần 3. Cài OS Linux Redhat 4
1. Boot bằng CD hoặc DVD đã có đĩa Redhat4
2. Màn hình cài Redhat hiện ra. Ấn Enter để chọn chế độ cài có đồ họa
3. Chọn ngôn ngữ mặc định (Giữ nguyên - English US)
4. Keybroad configuration (Giữ nguyên mặc định)
Next
5. Phân vùng đĩa cứng (Giả sử bạn cài trên 1 ổ đĩa free 100%)
Chọn theo mặc định
7. Boot Loader Configuration (để mặc định)
8. Network Còniguration (Đặt địa chỉ IP tĩnh)
9. Firewall Configuration (Chọn disable - Chú ý!)
Next vài phát
10. Package Install Defaults
Chọn Customize software packages to be installed
Chọn các packages sau:
Desktop: Chọn X Windows System, Gnome
Servers: Không chọn cái nào cả
Development: Development Tools
System: Administration Tools, System Tools (Chọn thêm systat bằng cách ckick vào Optional)
Cài xong Reboot máy

TitanRain
16-10-08, 02:47 PM
Phần 4. Cài Oracle 10g

Tải Oracle 10g tại đây: p://download.oracle.com/otn/linux/oracle10g/10201/10201_database_linux32.zip (<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>)
(Nhớ là bạn cần có tài khoản oracle mới download được)


1. Tạo nhóm người dùng và user

# /usr/sbin/groupadd oinstall
# /usr/sbin/groupadd dba
# /usr/sbin/useradd -m -g oinstall -G dba oracle

2. Đặt mật khẩu cho user oracle

# passwd oracle
(Lưu ý mật khẩu bắt đầu bằng ký tự và có ít nhất 1 ký tự đặc biệt)

3. Tạo thư mục và set quyền

# mkdir -p /oracle/product/10.2.0
# chown -R oracle.oinstall /oracle
# chmod -R 775 /oracle

Download file ở trên về /home/oracle

Bật termial
# cd /home/oracle
# unzip /home/oracle/10201_database_linux32.zip

Sau đó logoff và đăng nhập lại hệ thống bằng tài khoản oracle

Bắt đầu sửa lại thông số Kernel. Mở file /etc/sysctl.conf

Kiểm tra các thông số. nếu chưa có thì thêm các dòng sau (tuỳ theo hệ thống - của mình RAM 2 GB)

kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=262144
net.core.wmem_default=262144
net.core.rmem_max=262144
net.core.wmem_max=262144

Bắt đầu cài:

Bật termial

# cd /home/oracle/database
#./runInstaller



Select Installation Method
Select Basic Installation


Oracle Home Location: /u01/app/oracle/product/10.2.0/db_1
Installation Type: Enterprise Edition (1.3GB)
UNIX DBA Group: oinstall
Make sure Create Starter Database is checked
Global Database Name: demo1
Enter the Database Password and Confirm Password
Click on Next


Specify Inventory Directory and Credentials
Inventory Directory: /u01/app/oracle/oraInventory


Operating System group name: oinstall
Click on Next


Product-specific Prerequisite Checks
If you've been following the steps in this guide, all the checks should pass without difficulty. If one or more checks fail, correct the problem before proceeding.


Click on Next


Summary
A summary of the products being installed is presented.


Click on Install.

Configuration Assistants

The Oracle Net, Oracle Database, and iSQL*Plus configuration assistants will run automatically


Execute Configuration Scripts
At the end of the installation, a pop up window will appear indicating scripts that need to be run as root. Login as root and run the indicated scripts.


Click on OK when finished.

End of Installation

Make note of the URLs presented in the summary, and click on Exit when ready.

Congratulations! Your new Oracle Database 10g Release 2 database is up and ready for use.

TitanRain
16-10-08, 02:48 PM
Phần 5. Cài MySQL

Upload các file sau vào /home
mysql-server-5.0.67.tar.gz
DBInit_0_9_0020_mysql.sql
tlbbdb_stat.sql

Đăng nhập root và gõ lệnh

cd /home

tar xzvf mysql-5.0.67.tar.gz

cd /home/mysql-5.0.67

./configure --prefix=/usr/local/mysql5.0.67 --with-charset=utf8 --with-extra-charsets=all --enable-thread-safe-client

make

make install


cp /usr/local/mysql5.0.67/share/mysql/my-small.cnf /etc/my.cnf

yes



Edit file: /etc/my.cnf


Trong doan [mysqld] va [client] chen xuong duoi

default-character-set=utf8





/usr/local/mysql5.0.67/bin/mysql_install_db


/usr/local/mysql5.0.67/bin/mysqld_safe --user=root &




mysql -u root -p


use mysql;


update user set Password=PASSWORD('matkhau') where User='root';



insert into mysql.user (Host, User, Password, Select_priv, Insert_priv, Update_priv, Delete_priv, Create_priv, Drop_priv, Reload_priv, Shutdown_priv, Process_priv, File_priv, Grant_priv, References_priv, Index_priv, Alter_priv, Show_db_priv, Super_priv, Create_tmp_table_priv, Lock_tables_priv, Execute_priv, Repl_slave_priv, Repl_client_priv, Create_view_priv, Show_view_priv, Create_routine_priv, Alter_routine_priv, Create_user_priv, ssl_type, ssl_cipher, x509_issuer, x509_subject, max_questions, max_updates, max_connections, max_user_connections) value ('192.168.%.%', 'tlbbuser', PASSWORD('matkhau'), 'Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y ','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y', 'Y','','','','',0,0,0,0);


insert into mysql.user (Host, User, Password, Select_priv, Insert_priv, Update_priv, Delete_priv, Create_priv, Drop_priv, Reload_priv, Shutdown_priv, Process_priv, File_priv, Grant_priv, References_priv, Index_priv, Alter_priv, Show_db_priv, Super_priv, Create_tmp_table_priv, Lock_tables_priv, Execute_priv, Repl_slave_priv, Repl_client_priv, Create_view_priv, Show_view_priv, Create_routine_priv, Alter_routine_priv, Create_user_priv, ssl_type, ssl_cipher, x509_issuer, x509_subject, max_questions, max_updates, max_connections, max_user_connections) value ('192.168.%.%', 'tlbb', PASSWORD('matkhau'), 'Y','Y','Y','Y','N','Y','N','N','N','N','N','Y','Y ','N','N','N','Y','N','Y','N','N','Y','Y','N','N', 'N','','','','',0,0,0,0);


flush privileges;

create database tlbbdb;


create database tlbbdb_stat;




insert into mysql.db ( Host, Db, User, Select_priv, Insert_priv, Update_priv, Delete_priv, Create_priv, Drop_priv, Grant_priv, References_priv, Index_priv, Alter_priv, Create_tmp_table_priv, Lock_tables_priv, Create_view_priv, Show_view_priv, Create_routine_priv, Alter_routine_priv, Execute_priv) value( '192.168.%.%', 'tlbbdb','tlbbuser', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y');


insert into mysql.db ( Host, Db, User, Select_priv, Insert_priv, Update_priv, Delete_priv, Create_priv, Drop_priv, Grant_priv, References_priv, Index_priv, Alter_priv, Create_tmp_table_priv, Lock_tables_priv, Create_view_priv, Show_view_priv, Create_routine_priv, Alter_routine_priv, Execute_priv) value( '192.168.%.%', 'tlbbdb','tlbb', 'Y', 'Y', 'Y', 'Y', 'N', 'Y', 'N', 'Y', 'Y', 'N', 'Y', 'N', 'Y', 'Y', 'N', 'N', 'Y');


insert into mysql.db ( Host, Db, User, Select_priv, Insert_priv, Update_priv, Delete_priv, Create_priv, Drop_priv, Grant_priv, References_priv, Index_priv, Alter_priv, Create_tmp_table_priv, Lock_tables_priv, Create_view_priv, Show_view_priv, Create_routine_priv, Alter_routine_priv, Execute_priv) value( '192.168.%.%', 'tlbbdb_stat','tlbbuser', 'Y', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N');




exit




Import DB:


cd /home


mysql -uroot -pmatkhau tlbbdb < DBInit_0_9_0020_mysql.sql



mysql -uroot -pmatkhau tlbbdb_stat < tlbbdb_stat.sql

TitanRain
16-10-08, 02:48 PM
Phần 8.Khởi động server

Khởi động server


1.Khởi động Oracle trên máy DC bằng tài khoản oracle
sqlplus "scott/tiger as sysdba"
startup
exit


lsnrctl
start
exit


isqlplusctl start


2.Khởi động MySQL trên máy TL bằng tài khoản root
/usr/local/mysql5.0.67/bin/mysqld_safe --user=root &


3.Khởi động Billing trên máy DC bằng tài khoản oracle thông qua SecureCRT
cd /home/tlbb/Billing
ls
./tlbb start


4.Khởi động các server trên máy TL bằng tài khoản root
cd /home/tlbb/Server/
./shm start
200 20 MB
Loop...Start (-1208076608)(T0=2008-9-5_1:18:57 T1=7.4690) <--- Thanh cong roi!


cd /home/tlbb/Server/
./World
800 550MB


cd /home/tlbb/Server/
./Login
1.1 300MB


cd /home/tlbb/Server/
./Server -loadscriptonce
1.7 600MB


cd /home/tlbb/Server/
./ShareMemory

TitanRain
16-10-08, 02:49 PM
Phần 7. Đặt chỗ trước để hoàn thiện sau

vdl_12c
16-10-08, 06:50 PM
Có thế chứ:beauty::beauty:Thx TitanRain nhiều lắm:adore::adore:Mong chờ đã lâu lắm rồi:haha::haha:
Thx trước để bạn thấy hứng thú:D:D

rocker
17-10-08, 05:47 PM
Hoàn thiện đi Bro. Có cái Client việt hoá hem

vdl_12c
18-10-08, 12:17 AM
Mình đang down cái Red Hat Linux Enterprise 4.0 ko bít có đúng OS mà bạn yêu cầu ko?Còn cái oracle khó lập acc thế:((

vdl_12c
18-10-08, 12:24 AM
Down đc oracle rồi yêu ghê:beauty:TiTanRain ơi up các links còn lại đi để miònh down nốt nào:haha::haha:

vdl_12c
23-10-08, 07:14 PM
Đơi đến hôm nay là hôm thứ 5 rồi:pudency:Sao TitanRain vẫn ko thêm cái gì vậy:confuse:Mình mún cài lắm rồi mong bạn giúp đỡ:adore::adore:

nguyenlx12
23-10-08, 09:35 PM
Bài viết có sử dụng nhiều nguồn tài liệu khác nhau.
Xin gửi lời cảm ơn tới : GiaoChu đã giúp em thực hiện bài viết này
================================================== ===

Phần 1. Yêu cầu hệ thống

Phần 2: Các link download cần thiết

Phần 3: Cài OS - Linux Redhat4

Phần 4: Cài Oracle 10g i386

Phần 5: Cài MySQL

Phần 6: Cấu hình TLBB server

Phần 7: Các lỗi thường gặp


Mình sẽ cố gắng mỗi ngày post 1 phần, nếu được thank nhiệt tình :beat_shot:
cấu hình thế chắc ko có mấy người được đâu ta

vdl_12c
31-10-08, 10:49 PM
Lại 1 tuần nữa ko có thêm thông tin gì về TLBB! Buồn.....................

TitanRain
03-11-08, 02:04 PM
Đã cập nhật link download 30 char

TitanRain
03-11-08, 02:13 PM
đã cap nhat huong dan cai mysql

vdl_12c
03-11-08, 02:35 PM
Thx you so much:beauty::adore: Đang down:surrender:

vdl_12c
03-11-08, 02:48 PM
- Dùng client của FPT bản mới nhất (sẽ có lỗi cash)
Vậy tớ dùng bản 0.35 hoặc 0.50 của china đc chứ:surrender:Mặc dù ko có tiếng việt nhưng ko sao:go:

vdl_12c
05-11-08, 12:33 PM
TiTan còn links khác của cái Redhat ko:confuse:Kéo từ sáng đc 0.5% oải quá:pudency: speed 1,23kb/sec:surrender::beat_shot:

evilbaby1
08-11-08, 07:19 AM
mình tìm hiểu bác titan thì bác ấy cũng mới làm quen linux gần đây , hâm mộ bác quá , nhất là cái khoảng bác đọc được tiếng Trung Quốc ( mình rất thích tiếng và người Trung Quốc vì họ quá giỏi.) mà ở địa phương mình không có điều kiện học.
Mình chỉ chơi UbunTu cho dễ xài , Thank bác TiTan , đã làm gần ok hết TLBB rồi .

Lovepw
08-11-08, 02:27 PM
ac vãi,share caí server có pass ,caì được chết liền acacac

TitanRain
08-11-08, 04:38 PM
mình tìm hiểu bác titan thì bác ấy cũng mới làm quen linux gần đây , hâm mộ bác quá , nhất là cái khoảng bác đọc được tiếng Trung Quốc ( mình rất thích tiếng và người Trung Quốc vì họ quá giỏi.) mà ở địa phương mình không có điều kiện học.
Mình chỉ chơi UbunTu cho dễ xài , Thank bác TiTan , đã làm gần ok hết TLBB rồi .

Mình chưa biết tiếng Trung chỉ dùng google dịch ra thôi :)

TitanRain
08-11-08, 04:39 PM
ac vãi,share caí server có pass ,caì được chết liền acacac
Link down: <b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b> (<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>)
Pas giải nén: pgame.vn_iou234h809264

evilbaby1
09-11-08, 11:07 AM
Titan nè , tại sao lại xài Oracle ở Linux nhỉ ? sao ko xài ở Windows luôn, chỉ cần sửa file db_hash.conf cho nó vào database của oracle windows là xong, cả Mysql cũng vậy .Chỉ chạy các file tlbb shm...... trong linux nên xài thằng linux portable hoặc bản nào nhẹ nhẹ để không chiếm tài nguyên máy ảo , server sẽ nhanh hơn . Mình đang download Oracle win , 1g7 :( !

TitanRain
09-11-08, 04:12 PM
Titan nè , tại sao lại xài Oracle ở Linux nhỉ ? sao ko xài ở Windows luôn, chỉ cần sửa file db_hash.conf cho nó vào database của oracle windows là xong, cả Mysql cũng vậy .Chỉ chạy các file tlbb shm...... trong linux nên xài thằng linux portable hoặc bản nào nhẹ nhẹ để không chiếm tài nguyên máy ảo , server sẽ nhanh hơn . Mình đang download Oracle win , 1g7 :( !

"When you read the full text of the paper, it is clear that Linux has significant advantages over Windows, not just in performance, but also in flexibility of administration and management."


Trước đây mình cài như sau:

1 máy Redhat4 U4 AS x86 với 2 Nic mạng
1 máy Windows 2003 Enterprise R2 Release 2 x86 với 2 Nic mạng + Loopback

Trên máy Redhat:
mysql-server-5.0.67
mysql-connector-odbc-3.51.26-0.i386
oracle-instantclient-basic-10.2.0.4-1.i386
Trên máy Windows:
10201_database_win32

Máy Windows chỉ chạy Oracle và Web
Máy Linux chạy MySQL, Billing, World,Login,Server,Sharememory

Hiện nay mình cài như sau:
2 máy Redhat4 U4 AS x86 với 2 Nic mạng mỗi máy
1 máy Windows 2003 Enterprise R2 Release 2 x86 với 2 Nic mạng + Loopback

Trên máy Redhat 1
mysql-server-5.0.67
mysql-connector-odbc-3.51.26-0.i386
oracle-instantclient-basic-10.2.0.4-1.i386
Trên máy Redhat 2
10201_database_linux32
mysql-connector-odbc-3.51.26-0.i386
Trên máy Windows
MS SQL 2000 Pack 4

Máy Windows chạy Web, MSSQL và MotherServer (Cái này không có cũng ko sao)
Máy Redhat 1 chạy MySQL, World,Server,ShareMemory
Máy Redhat 2 chạy Oracle, Billing,Login

evilbaby1
13-11-08, 09:37 AM
Bạn cài kinh doanh hay sao mà xài máy lắm thế , mình cài cho biết thôi. Còn cái Oracle sao mình Import 2 file .dmp không được :( . Không đánh lệnh Imp được

TitanRain
15-11-08, 07:59 PM
Bạn cài kinh doanh hay sao mà xài máy lắm thế , mình cài cho biết thôi. Còn cái Oracle sao mình Import 2 file .dmp không được :( . Không đánh lệnh Imp được

- Khởi động oracle, ....:

sqlplus "scott/tiger as sysdba"
startup
exit
lsnrctl
start
exit
isqlplusctl start

Sau đó mới gõ lệnh imp


Lưu ý: Đăng nhập vào hệ thống bằng user oracle

hitaro
17-11-08, 10:09 PM
TitanRain có thể reupload cái server 150 TLBB hem,link ở trên die gùi,cho mình hỏi lun,có thể áp dụng cách cài TLBB nì cho windown XP hem,mình hem bik xài linux...>.<...thanks nhiu`

evilbaby1
18-11-08, 07:26 AM
Tất cả chúng ta đều không biết tất cả mọi thứ , nhưng tất cả chúng ta đều phải học hỏi mới có thể biết được một chuyện , cũng như bạn trước khi cài tlbb mình chưa biết gì về linux, và cũng cảm giác sợ sợ , nhưng giờ đây mình lại thấy linux thật là dễ dàng và có nhiều điều mới lạ . Một cảm giác được học hỏi thêm 1 cái mới thật là tuyệt .



The first step: to install VMware virtual machine

The second step: to install linux
Step three: install mysql -
Step four: install oracle
Fifth step: the installation of server-side Dragons
First, download the tool:

VMware Virtual Machine
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>
Visit the Web site beyond the scope of the site, it is unclear whether security
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b> cancellation of the visit continue to visit

linux operating system (with the next hearing Ray) GameCn
ftp://ftp.netat.net/RHEL4U4/RHEL4-U4-i386-AS-DVD.iso
Visit the Web site beyond the scope of the site, it is unclear whether security
Ftp://ftp.netat.net/RHEL4U4/RHEL4-U4-i386-AS-DVD.iso cancellation of the visit continue to visit
And then I collected the following information in accordance with the progressive learned about.
Step by step, that do not leak
Dragon Linux server install video
Chinese server download
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>
Visit the Web site beyond the scope of the site, it is unclear whether security
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b> cancellation of the visit continue to visit
: Learning linux system inside Mysql installation and the installation method!
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>
Visit the Web site beyond the scope of the site, it is unclear whether security
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b> cancellation of the visit continue to visit
Dragon's L-end server software needs part of the bbs
: There are most needed and have gamecn with the free end of the business gamecn
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>
Visit the Web site beyond the scope of the site, it is unclear whether security
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b> cancellation of the visit continue to visit
Si Fu FA BU Dragons set up stand-alone video
: Oracle installed inside the Education and Dragons server-side installation and configuration
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>
Visit the Web site beyond the scope of the site, it is unclear whether security
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b> cancellation of the visit continue to visit
WIN course, the use of temporary oracle
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>
Visit the Web site beyond the scope of the site, it is unclear whether security
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b> cancellation of the visit continue to visit
Profile and use of the software package. Rar
: There used under linux and Mysql profile can refer to the
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>
Visit the Web site beyond the scope of the site, it is unclear whether security
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b> cancellation of the visit continue to visit

Vietnam to 1.026 end client-side version is currently available GF!

Part of the file servers need to Chinese!

6 servers need to prepare the proposed allocation: PD3.0 more than 2G memory 80G (must be a SCSI hard drive)

To prepare the tools and systems:

Map open ports outside the network are as follows: 3731 3732 7377 port, and so on and so on 777 1041 do not need to open port!

WIN2003 red LINUX Enterprise Server Edition or Red Hat 9.2 system (all the tools to install)

LINUX for the name of the tlbb-gameserver tlbb-gameserver1 tlbb-gameserver2 tlbb-worldserver tlbb-billserver

Connect the IP network, were set to 172.16.1.2 172.16.1.3 172.16.1.4 172.16.1.5 172.16.1.6 or 192.168.0 .* 5 is divided into network, need to amend the client profile within the IP!

tlbb-gameserver

tlbb-worldserver

More than two LINUX servers need to install software as follows:
mysql-connector-odbc-3.51.12-1
mysqlclient10-3.23.58-4
MySQL-client-standard-5.0.27
UnixOdbc

Tlbb-billserver need to install software as follows:
Oracle10g-Client
MySQL-server-standard-5.0.27

Windows server installation
Mssql2000 Oracle10g
mysql-connector-odbc-3.51
IP network set to 172.16.1.1 or 192.168.0 .* side profile with the need to IP

1. Tlbbfiles.tar.gz will respectively reach 172.16.1.2 ~ 172.16.1.6 Billing.tar.gz reached 172.16.1.6
2. Tlbb.dmp will tl_gameuser.dmp and to restore the oracle database. Reduction in the database before. Oracle in the first 3 months to create account

Order:
create user tlbb IDENTIFIED BY JC4KQO1EJP;
create user tl_gameuser IDENTIFIED BY S0DHRFZVZ5;
create user tlbb_read IDENTIFIED BY JC4KQO1EJP;
Set the role of authority and jurisdiction system
/ / - Grant / Revoke role privileges
grant connect to TLBB;
grant resource to TLBB;
/ / - Grant / Revoke system privileges
grant alter session to TLBB;
grant create cluster to TLBB;
grant create database link to TLBB;
grant create sequence to TLBB;
grant create session to TLBB;
grant create synonym to TLBB;
grant create table to TLBB;
grant create view to TLBB;

The other two are also the same account set up under the back of the name change will be able to set up!

<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>

<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>

Import completed by pl / sql to get landing system users. Tl_gameuser.userbasic will be granted access tlbb user, and then set the target of tlbb user privileges.

Will be updated to delete the authority given to select Insert

Procedures will be user tlbb under with a red X in the process of storing about recompilation

After the account database ready. The beginning of the game into the database and statistical databases. SQLyog used to connect to root,

The establishment of tlbbdb. This library will be able to import DBInit_0_9_0020_mysql.sql. And then to set up an account and have the authority. Tlbbdb_stat.sql operation and the same as above.

Please order a full copy!

Create an account tlbb tlbbtools
use mysql;
insert into mysql.user (Host, User, Password, Select_priv, Insert_priv, Update_priv, Delete_priv, Create_priv, Drop_priv, Reload_priv, Shutdown_priv, Process_priv, File_priv, Grant_priv, References_priv, Index_priv, Alter_priv, Show_db_priv, Super_priv, Create_tmp_table_priv, Lock_tables_priv, Execute_priv, Repl_slave_priv, Repl_client_priv, Create_view_priv, Show_view_priv, Create_routine_priv, Alter_routine_priv, Create_user_priv, ssl_type, ssl_cipher, x509_issuer, x509_subject, max_questions, max_updates, max_connections, max_user_connections) value ('172 .16 .%.%', 'tlbb', '* C6F4E3C4123F5707129F96C63E488D268C89C1CA', ' Y ',' Y ',' Y ',' Y ',' Y ',' Y ',' Y ',' Y ',' Y ',' Y ',' Y ',' Y ',' Y ' , 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', ' Y','','','','', 0,0,0,0);

insert into mysql.user (Host, User, Password, Select_priv, Insert_priv, Update_priv, Delete_priv, Create_priv, Drop_priv, Reload_priv, Shutdown_priv, Process_priv, File_priv, Grant_priv, References_priv, Index_priv, Alter_priv, Show_db_priv, Super_priv, Create_tmp_table_priv, Lock_tables_priv, Execute_priv, Repl_slave_priv, Repl_client_priv, Create_view_priv, Show_view_priv, Create_routine_priv, Alter_routine_priv, Create_user_priv, ssl_type, ssl_cipher, x509_issuer, x509_subject, max_questions, max_updates, max_connections, max_user_connections) value ('172 .16 .%.%', 'tlbbtools',' * 70851F21ECE641B52D5B9946950566EB08C935DA ',' Y ',' Y ',' Y ',' Y ',' N ',' Y ',' N ',' N ',' N ',' N ',' N ',' Y ',' Y ' , 'N', 'N', 'N', 'Y', 'N', 'Y', 'N', 'N', 'Y', 'Y', 'N', 'N', ' N','','','','', 0,0,0,0);

- Set access
insert into mysql.db (Host, Db, User, Select_priv, Insert_priv, Update_priv, Delete_priv, Create_priv, Drop_priv, Grant_priv, References_priv, Index_priv, Alter_priv, Create_tmp_table_priv, Lock_tables_priv, Create_view_priv, Show_view_priv, Create_routine_priv, Alter_routine_priv, Execute_priv) value ('172 .16 .%.%', 'Tlbbdb', 'tlbb', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y');

insert into mysql.db (Host, Db, User, Select_priv, Insert_priv, Update_priv, Delete_priv, Create_priv, Drop_priv, Grant_priv, References_priv, Index_priv, Alter_priv, Create_tmp_table_priv, Lock_tables_priv, Create_view_priv, Show_view_priv, Create_routine_priv, Alter_routine_priv, Execute_priv) value ('172 .16 .%.%', 'Tlbbdb', 'tlbbtools',' Y ',' Y ',' Y ',' Y ',' N ',' Y ',' N ',' Y ',' Y ', 'N', 'Y', 'N', 'Y', 'Y', 'N', 'N', 'Y');

insert into mysql.db (Host, Db, User, Select_priv, Insert_priv, Update_priv, Delete_priv, Create_priv, Drop_priv, Grant_priv, References_priv, Index_priv, Alter_priv, Create_tmp_table_priv, Lock_tables_priv, Create_view_priv, Show_view_priv, Create_routine_priv, Alter_routine_priv, Execute_priv) value ('172 .16 .%.%', 'Tlbbdb_stat', 'tlbb', 'Y', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N');

3. Tlbb-billserver / home directory to establish tlbb folder. Billing.tar.gz and decompression of this document.
4. To change the / home / tlbb / etc under gbs.conf db_hash.conf host.lst the three documents of the IP, and to connect oracle of information.'s Need to change is as follows

db_hash.conf file
# Hash:
HASHING_NUM = 1

# 0 hash table:
MAXDBCONNS0 = 5
DBUSER_DB0 = tlbb
DBPASS_DB0 = JC4KQO1EJP
DBTNS_DB0 = ora10g; here for the oracle of TNSname, in the document tnsnames.Ora find.
gbs.conf file
MAXDBCONNS_BILL = 20
DBUSER_GAMEBILL = tlbb
DBPASS_GAMEBILL = JC4KQO1EJP
DBTNS_GAMEBILL = ora10g
#
MAXDBCONNS_AUTH = 20
DBUSER_GAMEAUTH = tl_gameuser # for userbasic
DBPASS_GAMEAUTH = S0DHRFZVZ5
DBTNS_GAMEAUTH = ora10g

host.lst file
x.x.x.x - world of services outside the IP network
172.16.1.5 - world of services in IP networks may be amended, modified configuration to remember

4. Oracle client set up the oracle will tnsnames.ora services ora10g host name be changed to read as follows 172.16.1.1 changes

ORA10G =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 172.16.1.1) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ora10g)
)
)
5. Start billing services. / Tlbb start if ************** draw information end ************ words that start on the success of the

6. Configuration server world. Tlbbfiles.tar.gz to be / home to change / home / tlbb / Server / Config under ServerInfo.ini ShareMemInfo.ini LoginInfo.ini this document 3.

ServerInfo.ini

[System]
Desc0 =: server-side configuration procedures related to the situation;
Desc1 = IP0, Port0 means outside the network address and port;
Desc2 = IP1, Port1 refers to the network address and port;
Desc3 = Type: Game = 0; Login = 1;

; The current server ID, (0,1,3,0 will be based on server)
CurrentServerID = 0
; Game of the current World number of server-side program
ServerNumber = 4

[Mother]
IP = x.x.x.x; set to windows server outside the IP network
Port = 1014

[World]
IP = x.x.x.x; set to the world outside the IP network
Port = 777

[Billing]
; Configuration can try to connect the number of billing
Number = 1
; The default IP to connect the billing
IP0 = x.x.x.x; set up billing for services outside the IP network
; The default port to connect the billing
Port0 = 15680
IP1 = 0.0.0.0
Port1 = 10101
IP2 = 0.0.0.0
Port2 = 10101
IP3 = 0.0.0.0
Port3 = 10101
IP4 = 0.0.0.0
Port4 = 10101

[Proxy]
; Netcom is responsible for telecommunications users access the network with a proxy server IP (exposed to the game server's IP)
Proxy0ForCncUser = x.x.x.x
; Proxy1ForCncUser = 0.0.0.0
; In charge of telecommunications users access to Netcom's network with a proxy server IP (exposed to the game server's IP)
Proxy0ForCtcUser = 0.0.0.0
; Proxy1ForCtcUser = 0.0.0.0
; Education network from the proxy server to connect to the forwarding agent telecom exports
Proxy0ForEduUser = x.x.x.x
; Proxy1ForEduUser = 0.0.0.0

[Server0]
; Game server-side program,
ServerID = 0
; This game server-side program of the host server,
MachineID = 0
; IP address outside the network, with the client to connect
IP0 = x.x.x.x; tlbb-gameserver outside the IP network
; Outside the network port
Port0 = 3731
; IP address of the network, and server-side connection between the program
IP1 = 172.16.1.2
; Network port
Port1 = 8880
; The type of server-side program, such as: GameServer, LoginServer
Type = 0
; Netcom's proxy server IP, deputy to fill in the OUT-IP is the player's agent IP connection
IP (CNC) = x.x.x.x
; Netcom, the proxy server port
Port (CNC) = 1000
; Telecom's proxy server IP
IP (CTC) = 0.0.0.0
; Telecom's proxy server port
Port (CTC) = 0
; Education network proxy server IP
IP (EDU) = x.x.x.x
; Education network proxy server port
Port (EDU) = 1000
; ShareMemory shared Key
HumanSMKey = 1001
; Store shared Key players
PlayShopSMKey = 4001
; Item number
ItemSerialKey = 7001
CommisionShopKey = 6001
EnableShareMem = 1

[Server1]
ServerID = 1
MachineID = 1
IP0 = x.x.x.x; tlbb-gameserver1 outside the IP network
Port0 = 3732
IP1 = 172.16.1.3
Port1 = 8881
Type = 0
IP (CNC) = x.x.x.x
Port (CNC) = 1000
IP (CTC) = 0.0.0.0
Port (CTC) = 0
IP (EDU) = x.x.x.x
Port (EDU) = 1000
HumanSMKey = 1002
PlayShopSMKey = 4002
ItemSerialKey = 7002
CommisionShopKey = 6002
EnableShareMem = 1

[Server2]
ServerID = 2
MachineID = 3
IP0 = xxxx; Login services outside the network of IP.'s World with the same IP
Port0 = 7377
IP1 = x.x.x.x; ibid
Port1 = 8882
Type = 1
IP (CNC) = x.x.x.x
Port (CNC) = 1000
IP (CTC) = 0.0.0.0
Port (CTC) = 0
IP (EDU) = x.x.x.x
Port (EDU) = 1000
HumanSMKey = 1003
PlayShopSMKey = 4003
ItemSerialKey = 7003
CommisionShopKey = 6003
EnableShareMem = 0

[Server3]
ServerID = 3
MachineID = 2
IP0 = x.x.x.x; tlbb-gameserver2 outside the IP network
Port0 = 3734
IP1 = 172.16.1.4
Port1 = 8883
Type = 0
IP (CNC) = x.x.x.x
Port (CNC) = 1000
IP (CTC) = 0.0.0.0
Port (CTC) = 0
IP (EDU) = x.x.x.x
Port (EDU) = 1000
HumanSMKey = 1003
PlayShopSMKey = 4003
ItemSerialKey = 7003
CommisionShopKey = 6003
EnableShareMem = 1


ShareMemInfo.ini
[System]
DBIP = 172.16.1.6; database ip
DBPort = 3306; database port
DBName = tlbbdb; name of the database
DBUser = tlbb; username
DBPassword = t! Lbb; password
SMUInterval = 1200000; world data Save time (ms)
DATAInterval = 900000; Human data Save time (ms)
CryptPwd = 0; whether the password encryption, encryption is 1, 0 is no encryption

[ShareMem]
KeyCount = 5; ShareObj number of
Key0 = 2001; the first key number
Type0 = 2; HumanSMU type 1
Key1 = 3001
Type1 = 3
Key2 = 8001
Type2 = 8
Key3 = 9001
Type3 = 9
Key4 = 5001
Type4 = 5

LoginInfo.ini


[System]
LoginID = 2; current Login server-side program of LoginID
DBIP = 172.16.1.6
DBPort = 3306
DBName = tlbbdb
DBUser = tlbb
DBPassword = t! Lbb
ClientVersion = 1005
DBConnectCount = 10
TurnPlayerCount = 100
CryptPwd = 0; increases the password is?
EnableProxyConnect = 0


7. Odbc.ini configuration and odbcinst.ini, very important here. Please refer to the following configuration

odbc.ini
[tlbbdb]
Driver = / usr/lib/libmyodbc3.so
Description = MyODBC 3.51 Driver DSN
SERVER = 172.16.1.6
PORT = 3306
USER = tlbb
Password = t! Lbb
Database = tlbbdb
OPTION = 3
SOCKET =

odbcinst.ini
# Example driver definitinions
#
#

# Included in the unixODBC package
[PostgreSQL]
Description = ODBC for PostgreSQL
Driver = / usr / lib / libodbcpsql.so
Setup = / usr / lib / libodbcpsqlS.so
FileUsage = 1


# Driver from the MyODBC package
# Setup from the unixODBC package
[MySQL]
Description = ODBC for MySQL
Driver = / usr/lib/libmyodbc3.so
Setup = / usr / lib / libodbcmyS.so
FileUsage = 1

OK, after preservation. Set $ LD_LIBRARY_PATH.
export LD_LIBRARY_PATH = / home / tlbb / Server: $ LD_LIBRARY_PATH
And edit / etc / profile to write more than content to preserve.

8. Startup testing services are in working order, cd / home / tlbb / Server. / Shm start the service if the error is automatically suspended. Please Log in to view the log files for debugging.
9. Shm start no problem, then it will spread to run.sh and stop.sh under the root folder. Start to carry out. After the completion of the start. Ps-ex process to see whether there is a .5



In order to determine the success of the service to start, telnet 172.16.1.5 777 7377 even if the OK on that. This should be the time to see whether the billing services received in response to the Login Service. Bill to the server. / Tlbb list

If they are not showing Login services and IP services in World number that host.lst configuration problems. Please check log folder gbs-xx.log debugging.

10. World server configuration after the completion of the Next Game is the server configuration. Configuration is basically the same configuration of the World almost. ServerInfo.ini ShareMemInfo.ini need to change the two documents. Server directly to the World two copies of documents from coverage . And then change the following item

ServerInfo.ini
The documents do not have to change. If tlbb-gameserver1 on the need to change.
; The current server ID, (0,1,3,0 will be based on server)
CurrentServerID = 0; the same here. If tlbb-gameserver1, on the need to be set to 1, according to ServerID = X.

ShareMemInfo.ini

[ShareMem]
KeyCount = 4; ShareObj number of
Key0 = 1001; the first key number
Type0 = 1; HumanSMU type 1
Key1 = 4001
Type1 = 4
Key2 = 7001
Type2 = 7
Key3 = 6001
Type3 = 6
This is in accordance with ServerInfo.ini set.

odbc.ini and odbcinst.ini such as the above mentioned settings will not repeat them.

First start. / Shm start to see if normal.'s Words on the normal. / Shm stop and run.sh and stop.sh reached the ROOT folder to run. / Run.sh re-ps-ex unless they view the process, 8



Telnet service ports of the game again. Can not even prove nothing on the issue. The other two servers and set up the same. The only difference is the set of documents ServerInfo.ini ShareMemInfo.ini. Above have already set up a method. Will not repeat them.
11. WINDOWS on Sohu to extract the folder to the C disk. Restore the database. GTOOL to those under the folder configuration information. Will be able to start followed by a
Cái này mình dịch bằng GOOGLE

Link Download nay

<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>

thanhcong
05-12-08, 09:39 PM
:pudency:co ai gui~ cho em 1 link TLBB toan tap hok dzay?

oniarya
15-01-09, 01:30 PM
Thua tới lượt mình thì FPT up lên version Tiên Nữ kỳ duyên rồi ko down được client ai có client up lên cho mình với được không ( lịnk media càng tốt )
CLOSE TOPIC thôi LINK DIE HẾT RỒI

minhdangvnn
20-02-09, 05:44 PM
woa hay woa' trui` ui xem ma` bùn ngủ lun dài quá trời hjc bác có thể chuyển các fai đó sang xzshare kô chứ em lười dơ mấy loại nài lém òi

hongtu1
27-03-09, 05:10 PM
Phần 1.
A. Yêu cầu cấu hình tối thiểu ( Cài server trên 1 máy)
- Intel Dual Core 2.8
- RAM 2 GB
B. Chuẩn bị các công cụ
- RedHat Enterprise 4 U4 AS
- Oracle for Linux i386

giờ chip Intel mới có 2.5 core 2 dual mà

nhockeke3
02-04-09, 01:35 PM
Nhìn đã thấy nản, ngại mấy cái liên wan đến linux lắm , công nhận bác Titanrain pro thiệt nếu có server TLBB chạy trên ubuntu như TGHM với Cabal thì tốt biết mấy !

setacla9
10-04-09, 09:14 AM
:nosebleed::ops:bạn vào wab TLBB nghj pass vào.Ban thay chỗ Thông tjn nhan vao chọn sv nghj mã số nghj lai pass thế thoy:embarrassed:

TitanRain
10-06-09, 11:04 PM
Khởi động lại dự án TLBB Private FULL TIẾNG VIỆT + Client 1031 FPT Tiên Nữ Kỳ Duyên

thl3ugjacui
10-06-09, 11:19 PM
Không có server nào chạy trên nền XP hả anh Titan :(

razer
04-08-09, 09:39 PM
sao hem tỗng hợp hướng dẫn tren lick dơn di coi tren day rắc rúi quá

meohen1989
06-08-09, 01:47 PM
ai có link redhat ngon ko ,send tui với ,tình hình là cái link này <b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b> down được ,nhưng chạy với máy ảo thì ko boot được ,chuối cả nải :|

thecongcntt
06-08-09, 01:50 PM
Đây là link RedHat Linux ngon đây:
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b> (<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>)
Dung lượng 2.17 G đó bạn !

BlackDragon776
15-08-09, 01:22 PM
Ông Titan này hướng dẫn như là nhử mồi vậy mỗi lúc cho một tí bài HD gì mà từ năm 2008 đến giờ chưa hoàn thiện ->bó tay.

thecongcntt
15-08-09, 01:29 PM
Đây là không muốn cho mọi người cài được để thương mại mà.

BlackDragon776
15-08-09, 01:45 PM
Với giá 3T vnđ để cài server cúa ông ta thì mình quyết định nạp cho FPT để tạo một nhân vật thuộc hàng khá để chơi với cộng đồng hay hơn là ngồi nhà ngắm cái sever một mình.

thecongcntt
15-08-09, 01:47 PM
Trên clb này tất cả những gì đã share là không thương mại. nếu thương mại thì nên tìm 4 rum khác.

BlackDragon776
15-08-09, 01:58 PM
Chờ tin vui của bác. Giờ mình dọn đám công cụ lộn xộn lại đã.

tishieunhan
11-11-10, 08:40 PM
có ai ở hà nội ko giúp em làm TLBB off line vs, pm e số 01234115886