Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
23
Добавлен:
18.03.2015
Размер:
608.7 Кб
Скачать

I N S T A L L A T I O N N O T E S

HISTSIZE=1000

add

LD_ASSUME_KERNEL=2.2.5

On the following line, export it (this is all in one line):

export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUT_RC LD_ASSUME_KERNEL

Uninstalling on Linux

If you need to uninstall, do it as root user. The following examples use Classic server but the same holds true for SuperServer by replacing the CS with SS.

Uninstalling an RPM package

For rpm packages:

$rpm -e FirebirdCS-1.5.0

Uninstalling a tarball installation

for the .tar.gz install:

$/opt/firebird/bin/uninstall.sh

Solaris

Install Firebird Classic & SuperServer on Solaris 2.7 Sparc, not currently available. Please refer to v.1 releasenotes as a reference to 1.5 installations.

MacOS X

Install Firebird Classic on MacOS X / Darwin, not currently available. Please refer to v.1 releasenotes as a reference to 1.5 installations.

FreeBSD

Not currently available. Please refer to v.1 releasenotes as a reference to 1.5 installations.

85

I N S T A L L A T I O N N O T E S

Debian

Not currently available. Please refer to the relevant pages at the Debian site for your Debian version and Firebird 1.5 build.

86

Chapter 9

Configuring the Port Service

on Client and Server

By default a Firebird server listens on port 3050 for connection requests from clients. Its registered port service name is gds_db. The good news is that, if you can go with these defaults, you have to do nothing on either server or clients to configure the port service.

You can use a different port, a different port service name, or both. You might need to do this if port 3050 is required for another service, for example, a concurrently running gds_db configured for a different version of Firebird or for an InterBase® server.

There are several ways to override the defaults. Both the server and the clients must be configured to override the port service name or number, or both, in at least one of these ways:

in the client connection string

in the command used to start the server executable

by activating the RemoteServicePort or RemoteServiceName parameters in firebird.conf (V.1.5 onward)

in the daemon configuration (for Classic on POSIX)

by an entry in the Services file

Before examining each of these techniques, it will helpful to look at the logic used by the server to set the listening port and by the client to set the port that it should poll for requests.

How the server sets the listening port

The server executable has an optional command-line switch (-p) by which it can signify either the port number it will be listening on or the name of the port service that will be listening. At this point, if the switch is present, either port number 3050 or the port service name (gds_db) is replaced by the argument supplied with the -p switch.

Next--or first, if there is no -p switch--a v.1.5 server checks firebird.conf to look at the parameters RemoteServiceName and RemoteServicePort:

If both are commented with "#" then the defaults are assumed and no further change occurs. Any -p argument stands and the "missing" argument remains as the default.

87

Тут вы можете оставить комментарий к выбранному абзацу или сообщить об ошибке.

Оставленные комментарии видны всем.

Соседние файлы в папке doc