Articles My manual How to Use ZeBeDee and Firebird or similar RDBMS

emailx45

Местный
Регистрация
5 Май 2008
Сообщения
3,571
Реакции
2,439
Credits
574
My manual How to Use ZeBeDee and Firebird or similar RDBMS
Emailx45 - 15/Jul/2016
[SHOWTOGROUPS=4,19,20]
by Emailx45

ZEBEDEE and Firebird 3.0 or another, Windows 8.0 Pro 64bits - Tested

Tunneling your trafic

How to use ZeBeDee with Firebird 3.0 (or another) in Windows 8.0 Pro 64bit (or another)

One PC to Firebird Server and ZeBeDee Server
--------------------------------------------
1 - Install the Firebird 3.0 (do the changes needs)
2 - Install the ZeBeDee 2.4.1A or 2.53 (download from official site)
3 - Do the changes in file "SERVER.ZBD" or add the lines

verbosity 2 # Slightly more than basic messages
#
logfile ./server.log # all log will be registered
#
detached false # You will probably want this 'true' for normal
# use but I want to make sure that you see the
# preceding message if you haven't edited this.
server true # Yes, it's a server!
updmode false # we dont need UPD ports
compression zlib:9 # Allow maximum zlib compression
keylength 256 # Allow keys up to 256 bits
keylifetime 36000 # Shared keys last 10 hours
maxbufsize 16383 # Allow maximum possible buffer size
keygenlevel 2 # Generate maximum strength private keys
checksumlevel 3 # Allow maximum strength checksums
minchecksumlevel 0 # Allow no checksums if client requests
redirect none # Disable all redirect in all ports in server
redirect 3050 # Just 3050 port from Firebird its important
target localhost:3050/tcp # the Target is the same PC (IP 127.0.0.1) because the Firebird Server its installed in this machine

4 - Now, install the ZeBeDee and create one file (text) named (for example) "CLIENT.ZBD" and add this lines:

verbosity 1 # Basic messages only
#
logfile ./clientlog.log
#
server false # Client
detached true # Closes Console
#
# You should change the next line to your environment with this example, the connection string should be localhost/3051
# You can change port 3051 to another one
#
tunnel 3051:192.168.56.1:3050 #3050 is the port on the Firebird Server PC (192.168.56.1), and 3051 is the port in Client PC

#For server in another address or site, just change the IP/PORT

5 - Its ready! Now run the ZeBeDee:

PC Server:
zebedee.exe -f server.zbd

Pc Client:
zebedee.exe -f client.zbd

6 - In PC client, in your application change the STRING CONNECTION to:

127.0.0.1/3050:ALIAS_DB_OR_ABSOLUTE_PATH_FILE_FDB

look in your windows D.O.S. ZeBeDee or in file .LOG (Server or Client) to know what its happening
The file LOG its very important!
[/SHOWTOGROUPS]
 
Последнее редактирование: