install_windows_manually.txt 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. --------------------------------------
  2. Firebird manual installation notes
  3. --------------------------------------
  4. Contents
  5. --------
  6. o Installation as a service
  7. o Execution as an application
  8. o Installation with a different service name
  9. o Initializing the Security Database
  10. o Uninstallation
  11. Installation as a service
  12. -------------------------
  13. Firebird can be manually set up to run as a service in a windows
  14. environment by executing the following steps:
  15. - Make sure that an existing version of Firebird is not running.
  16. - Unzip the archive into the new directory.
  17. - Set the FIREBIRD env var to point to the root of this directory.
  18. (It is also recommended that the FIREBIRD env var also be used in
  19. the PATH env var, rather than hard-coding a path.)
  20. - change the current directory to where files are located
  21. - Execute install_service.bat
  22. - optionally, you can copy fbclient.dll to the OS system directory.
  23. To do so, use the provided instclient.exe tool.
  24. Execution as an application
  25. ---------------------------
  26. Alternatively, Firebird can be run as an application. Most of the instructions
  27. for installing as a service should be followed. However, you should skip the
  28. step to run the batch file.
  29. Firebird is run as application by executing it with the -a switch:
  30. fbserver.exe -a
  31. Installation with a different service name
  32. ------------------------------------------
  33. A feature of Firebird is the option to run multiple Firebird services
  34. simultaneously. To do this you need to make appropriate changes to the
  35. firebird.conf file and then run instsvc with the -name option. For example:
  36. instsvc install -auto -superserver -guardian -name secondservice
  37. instsvc start -name secondservice
  38. The install_service.bat will do this automatically for
  39. you. After modifying the firebird.conf file just pass the servicename as a
  40. parameter:
  41. install_service.bat secondservice
  42. NOTE: If you are running multiple Firebird services it is essential that you
  43. do not configure the FIREBIRD environment variable at the system level.
  44. Initializing the Security Database
  45. ----------------------------------
  46. see README.security_database.txt for instructions.
  47. Uninstallation
  48. --------------
  49. - To remove FB you should run the uninstall_service.bat.
  50. - Pass the service name as a parameter if you have installed Firebird to
  51. use a different service name.
  52. - If you used instclient to deploy a library to system32 you should run
  53. instclient.exe remove <libname>
  54. - Delete installation directory. You may wish to keep the log file, security
  55. database, firebird.conf and databases.conf.