bestlong 怕失憶論壇

 

 

搜索
bestlong 怕失憶論壇 論壇 Database - 資料庫 Interbase & Firebird FC6 安裝 Firebird 2 (使用 RPM 安裝檔)
查看: 6257|回復: 1
go

FC6 安裝 Firebird 2 (使用 RPM 安裝檔) [複製鏈接]

Rank: 9Rank: 9Rank: 9

1#
發表於 2007-6-17 17:34 |只看該作者 |倒序瀏覽 |打印
在 Fedora core 6 中想要使用 Firebird 資料庫,由於沒有 FC6 官版的安裝檔,所以無法直接透過 yum 安裝而需要自行處理。

首先去 Firebird 官網(http://www.firebirdsql.org) 下載官版的 RPM 安裝檔(這裡以取得檔案 FirebirdCS-2.0.1.12855-0.i686.rpm 為例),然後直接進行安裝。

  1. [root@www Firebird]# rpm -ivh FirebirdCS-2.0.1.12855-0.i686.rpm
  2. error: Failed dependencies:
  3.         libstdc++.so.5 is needed by FirebirdCS-2.0.1.12855-0.i686
  4. [root@www Firebird]#
複製代碼


這裡碰到系統沒有 libstdc++.so.5 的問題,沒關係直接請 yum 幫忙

  1. [root@www Firebird]# yum install libstdc++.so.5
  2. Loading "installonlyn" plugin
  3. Setting up Install Process
  4. Setting up repositories
  5. Reading repository metadata in from local files
  6. Parsing package install arguments
  7. Resolving Dependencies
  8. --> Populating transaction set with selected packages. Please wait.
  9. ---> Downloading header for compat-libstdc++-33 to pack into transaction set.
  10. compat-libstdc++-33-3.2.3 100% |=========================| 7.4 kB    00:00
  11. ---> Package compat-libstdc++-33.i386 0:3.2.3-61 set to be updated
  12. --> Running transaction check

  13. Dependencies Resolved

  14. =============================================================================
  15. Package                 Arch       Version          Repository        Size
  16. =============================================================================
  17. Installing:
  18. compat-libstdc++-33     i386       3.2.3-61         core              232 k

  19. Transaction Summary
  20. =============================================================================
  21. Install      1 Package(s)
  22. Update       0 Package(s)
  23. Remove       0 Package(s)

  24. Total download size: 232 k
  25. Is this ok [y/N]: y
  26. Downloading Packages:
  27. (1/1): compat-libstdc++-3 100% |=========================| 232 kB    00:07
  28. Running Transaction Test
  29. Finished Transaction Test
  30. Transaction Test Succeeded
  31. Running Transaction
  32.   Installing: compat-libstdc++-33          ######################### [1/1]

  33. Installed: compat-libstdc++-33.i386 0:3.2.3-61
  34. Complete!
  35. [root@www Firebird]# rpm -ivh FirebirdCS-2.0.1.12855-0.i686.rpm
  36. Preparing...                ########################################### [100%]
  37.    1:FirebirdCS             ########################################### [100%]
  38. [root@www Firebird]#
複製代碼


這樣就安裝好了,若是想要移除的話可以執行下列指令:

  1. [root@www Firebird]# rpm -e FirebirdCS
  2. Saved a copy of security2.fdb in /tmp
  3. [root@www Firebird]#
複製代碼


移除時會將權限資料庫 security2.fdb 備份到 /tmp 目錄下,算是比較保險的處理方式。
我是雪龍
http://blog.bestlong.idv.tw
http://www.bestlong.idv.tw

Rank: 9Rank: 9Rank: 9

2#
發表於 2007-6-17 18:37 |只看該作者
使用 RPM 方式安裝的檔案清單,以安裝 FirebirdCS-2.0.1.12855-0.i686.rpm 為參考。

  1. [root@www Firebird]# rpm -ql FirebirdCS
  2. /
  3. /opt
  4. /opt/firebird
  5. /opt/firebird/README
  6. /opt/firebird/UDF
  7. /opt/firebird/UDF/fbudf.so
  8. /opt/firebird/UDF/fbudf.sql
  9. /opt/firebird/UDF/ib_udf.so
  10. /opt/firebird/UDF/ib_udf.sql
  11. /opt/firebird/UDF/ib_udf2.sql
  12. /opt/firebird/WhatsNew
  13. /opt/firebird/aliases.conf
  14. /opt/firebird/bin
  15. /opt/firebird/bin/changeDBAPassword.sh
  16. /opt/firebird/bin/changeGdsLibraryCompatibleLink.sh
  17. /opt/firebird/bin/changeRunUser.sh
  18. /opt/firebird/bin/createAliasDB.sh
  19. /opt/firebird/bin/fb_config
  20. /opt/firebird/bin/fb_inet_server
  21. /opt/firebird/bin/fb_lock_mgr
  22. /opt/firebird/bin/fb_lock_print
  23. /opt/firebird/bin/gbak
  24. /opt/firebird/bin/gdef
  25. /opt/firebird/bin/gds_drop
  26. /opt/firebird/bin/gfix
  27. /opt/firebird/bin/gpre
  28. /opt/firebird/bin/gsec
  29. /opt/firebird/bin/gsplit
  30. /opt/firebird/bin/gstat
  31. /opt/firebird/bin/isql
  32. /opt/firebird/bin/nbackup
  33. /opt/firebird/bin/qli
  34. /opt/firebird/bin/restoreRootRunUser.sh
  35. /opt/firebird/doc
  36. /opt/firebird/doc/Firebird-2.0-QuickStart.pdf
  37. /opt/firebird/doc/README.NTSecurity
  38. /opt/firebird/doc/README.Optimizer.txt
  39. /opt/firebird/doc/README.Win32LibraryInstallation.txt
  40. /opt/firebird/doc/README.build.mingw.html
  41. /opt/firebird/doc/README.build.msvc.html
  42. /opt/firebird/doc/README.coding.style
  43. /opt/firebird/doc/README.garbage_collector
  44. /opt/firebird/doc/README.incompatibilities.txt
  45. /opt/firebird/doc/README.instsvc
  46. /opt/firebird/doc/README.intl
  47. /opt/firebird/doc/README.isql_enhancements.txt
  48. /opt/firebird/doc/README.makefiles
  49. /opt/firebird/doc/README.sha1
  50. /opt/firebird/doc/README.user
  51. /opt/firebird/doc/README.user.embedded
  52. /opt/firebird/doc/README.user.troubleshooting
  53. /opt/firebird/doc/README.xnet
  54. /opt/firebird/doc/ReleaseNotes.pdf
  55. /opt/firebird/doc/sql.extensions
  56. /opt/firebird/doc/sql.extensions/README.PSQL_stack_trace.txt
  57. /opt/firebird/doc/sql.extensions/README.aggregate_tracking
  58. /opt/firebird/doc/sql.extensions/README.case
  59. /opt/firebird/doc/sql.extensions/README.coalesce
  60. /opt/firebird/doc/sql.extensions/README.context_variables
  61. /opt/firebird/doc/sql.extensions/README.context_variables2
  62. /opt/firebird/doc/sql.extensions/README.current_time
  63. /opt/firebird/doc/sql.extensions/README.cursors
  64. /opt/firebird/doc/sql.extensions/README.data_type_results_of_aggregations.txt
  65. /opt/firebird/doc/sql.extensions/README.data_types
  66. /opt/firebird/doc/sql.extensions/README.ddl.txt
  67. /opt/firebird/doc/sql.extensions/README.default_parameters
  68. /opt/firebird/doc/sql.extensions/README.derived_tables.txt
  69. /opt/firebird/doc/sql.extensions/README.distinct
  70. /opt/firebird/doc/sql.extensions/README.exception_handling
  71. /opt/firebird/doc/sql.extensions/README.execute_block
  72. /opt/firebird/doc/sql.extensions/README.execute_statement
  73. /opt/firebird/doc/sql.extensions/README.explicit_locks
  74. /opt/firebird/doc/sql.extensions/README.expression_indices
  75. /opt/firebird/doc/sql.extensions/README.iif
  76. /opt/firebird/doc/sql.extensions/README.isc_info_xxx
  77. /opt/firebird/doc/sql.extensions/README.keywords
  78. /opt/firebird/doc/sql.extensions/README.leave_labels
  79. /opt/firebird/doc/sql.extensions/README.length
  80. /opt/firebird/doc/sql.extensions/README.null_value
  81. /opt/firebird/doc/sql.extensions/README.nullif
  82. /opt/firebird/doc/sql.extensions/README.order_by_expressions_nulls
  83. /opt/firebird/doc/sql.extensions/README.plan
  84. /opt/firebird/doc/sql.extensions/README.returning
  85. /opt/firebird/doc/sql.extensions/README.rows
  86. /opt/firebird/doc/sql.extensions/README.savepoints
  87. /opt/firebird/doc/sql.extensions/README.select_expressions
  88. /opt/firebird/doc/sql.extensions/README.sequence_generators
  89. /opt/firebird/doc/sql.extensions/README.set_transaction.txt
  90. /opt/firebird/doc/sql.extensions/README.trim
  91. /opt/firebird/doc/sql.extensions/README.universal_triggers
  92. /opt/firebird/doc/sql.extensions/README.view_updates
  93. /opt/firebird/examples
  94. /opt/firebird/examples/README
  95. /opt/firebird/examples/api
  96. /opt/firebird/examples/api/api1.c
  97. /opt/firebird/examples/api/api10.c
  98. /opt/firebird/examples/api/api11.c
  99. /opt/firebird/examples/api/api12.c
  100. /opt/firebird/examples/api/api13.c
  101. /opt/firebird/examples/api/api14.e
  102. /opt/firebird/examples/api/api15.c
  103. /opt/firebird/examples/api/api16.c
  104. /opt/firebird/examples/api/api16t.c
  105. /opt/firebird/examples/api/api2.c
  106. /opt/firebird/examples/api/api3.c
  107. /opt/firebird/examples/api/api4.c
  108. /opt/firebird/examples/api/api5.c
  109. /opt/firebird/examples/api/api6.c
  110. /opt/firebird/examples/api/api7.c
  111. /opt/firebird/examples/api/api8.c
  112. /opt/firebird/examples/api/api9.c
  113. /opt/firebird/examples/api/api9f.c
  114. /opt/firebird/examples/api/api9f.def
  115. /opt/firebird/examples/api/api9f.sql
  116. /opt/firebird/examples/api/apifull.c
  117. /opt/firebird/examples/api/example.def
  118. /opt/firebird/examples/api/winevent.c
  119. /opt/firebird/examples/api/winevent.def
  120. /opt/firebird/examples/api/winevent.rc
  121. /opt/firebird/examples/dyn
  122. /opt/firebird/examples/dyn/dyn1.e
  123. /opt/firebird/examples/dyn/dyn2.e
  124. /opt/firebird/examples/dyn/dyn3.e
  125. /opt/firebird/examples/dyn/dyn4.e
  126. /opt/firebird/examples/dyn/dyn5.e
  127. /opt/firebird/examples/dyn/dynfull.e
  128. /opt/firebird/examples/empbuild
  129. /opt/firebird/examples/empbuild/employee.fdb
  130. /opt/firebird/examples/functions.c
  131. /opt/firebird/examples/include
  132. /opt/firebird/examples/include/align.h
  133. /opt/firebird/examples/include/example.h
  134. /opt/firebird/examples/stat
  135. /opt/firebird/examples/stat/stat1.e
  136. /opt/firebird/examples/stat/stat10.e
  137. /opt/firebird/examples/stat/stat11.e
  138. /opt/firebird/examples/stat/stat12.e
  139. /opt/firebird/examples/stat/stat12t.e
  140. /opt/firebird/examples/stat/stat2.e
  141. /opt/firebird/examples/stat/stat3.e
  142. /opt/firebird/examples/stat/stat4.e
  143. /opt/firebird/examples/stat/stat5.e
  144. /opt/firebird/examples/stat/stat6.e
  145. /opt/firebird/examples/stat/stat7.e
  146. /opt/firebird/examples/stat/stat8.e
  147. /opt/firebird/examples/stat/stat9.e
  148. /opt/firebird/examples/udf
  149. /opt/firebird/examples/udf/udf.sql
  150. /opt/firebird/examples/udf/udflib.c
  151. /opt/firebird/examples/udf/udflib.def
  152. /opt/firebird/firebird.conf
  153. /opt/firebird/firebird.msg
  154. /opt/firebird/help
  155. /opt/firebird/help/help.fdb
  156. /opt/firebird/include
  157. /opt/firebird/include/blr.h
  158. /opt/firebird/include/ib_util.h
  159. /opt/firebird/include/ibase.h
  160. /opt/firebird/include/iberror.h
  161. /opt/firebird/include/perf.h
  162. /opt/firebird/intl
  163. /opt/firebird/intl/fbintl
  164. /opt/firebird/intl/fbintl.conf
  165. /opt/firebird/lib
  166. /opt/firebird/lib/libfbclient.so
  167. /opt/firebird/lib/libfbclient.so.2
  168. /opt/firebird/lib/libfbclient.so.2.0.1
  169. /opt/firebird/lib/libfbembed.so
  170. /opt/firebird/lib/libfbembed.so.2
  171. /opt/firebird/lib/libfbembed.so.2.0.1
  172. /opt/firebird/lib/libib_util.so
  173. /opt/firebird/lib/libicudata.so
  174. /opt/firebird/lib/libicudata.so.30
  175. /opt/firebird/lib/libicudata.so.30.0
  176. /opt/firebird/lib/libicui18n.so
  177. /opt/firebird/lib/libicui18n.so.30
  178. /opt/firebird/lib/libicui18n.so.30.0
  179. /opt/firebird/lib/libicuuc.so
  180. /opt/firebird/lib/libicuuc.so.30
  181. /opt/firebird/lib/libicuuc.so.30.0
  182. /opt/firebird/misc
  183. /opt/firebird/misc/firebird.xinetd
  184. /opt/firebird/security2.fdb
  185. /opt/firebird/upgrade
  186. /opt/firebird/upgrade/ib_udf2_params.txt
  187. /opt/firebird/upgrade/ib_udf_params.txt
  188. /opt/firebird/upgrade/ib_udf_upgrade.sql
  189. /opt/firebird/upgrade/security_database.sql
  190. /opt/firebird/upgrade/security_database.txt
  191. /usr
  192. /usr/include
  193. /usr/include/ib_util.h
  194. /usr/include/ibase.h
  195. /usr/include/iberror.h
  196. /usr/lib
  197. /usr/lib/libfbclient.so
  198. /usr/lib/libfbclient.so.2
  199. /usr/lib/libfbclient.so.2.0.1
  200. /usr/lib/libfbembed.so
  201. /usr/lib/libfbembed.so.2
  202. /usr/lib/libfbembed.so.2.0.1
  203. /usr/lib/libib_util.so
  204. [root@www Firebird]#
複製代碼
我是雪龍
http://blog.bestlong.idv.tw
http://www.bestlong.idv.tw
‹ 上一主題|下一主題

Archiver|怕失憶論壇

GMT+8, 2024-4-20 06:43 , Processed in 0.031494 second(s), 11 queries .

Powered by Discuz! X1.5

© 2001-2010 Comsenz Inc.