站长百科 | 数字化技能提升教程 数字化时代生存宝典
首页
数字化百科
电子书
建站程序
开发
服务器
办公软件
开发教程
服务器教程
软件使用教程
运营教程
热门电子书
WordPress教程
宝塔面板教程
CSS教程
Shopify教程
导航
程序频道
推广频道
网赚频道
人物频道
网站程序
网页制作
云计算
服务器
CMS
论坛
网店
虚拟主机
cPanel
网址导航
WIKI使用导航
WIKI首页
最新资讯
网站程序
站长人物
页面分类
使用帮助
编辑测试
创建条目
网站地图
站长百科导航
站长百科
主机侦探
IDCtalk云说
跨境电商导航
WordPress啦
站长专题
网站推广
网站程序
网站赚钱
虚拟主机
cPanel
网址导航专题
云计算
微博营销
虚拟主机管理系统
开放平台
WIKI程序与应用
美国十大主机
编辑“
Gallery:DB2
”
人物百科
|
营销百科
|
网赚百科
|
站长工具
|
网站程序
|
域名主机
|
互联网公司
|
分类索引
Sunzz1985
(
讨论
|
贡献
)
2008年6月13日 (五) 14:15的版本
(新页面: = DB2 Support for Gallery 2= Gallery 2 supports '''DB2 UDB V9.x for Linux/UNIX/Windows''' as database backend. * Requires a minimum of DB2 Version 9.1 and the 'ibm_db2' PECL PHP extensio...)
(差异) ←上一版本 |
最后版本
(
差异
) |
下一版本→
(
差异
)
跳转至:
导航
、
搜索
警告:您正在编辑的是本页面的旧版本。
如果您发布该更改,该版本后的所有更改都会丢失。
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
高级
特殊字符
帮助
标题
2级
3级
4级
5级
格式
插入
拉丁字母
扩展拉丁字母
国际音标
符号
希腊字母
希腊字母扩展
西里尔字母
阿拉伯字母
扩展阿拉伯字母
希伯来字母
孟加拉语字符集
泰米尔数字和符号
泰卢固语字符集
僧伽罗语字符集
梵文字符集
古吉拉特语字符集
泰语字符集
老挝语
高棉语字母
加拿大原住民音节文字
卢恩
Á
á
À
à
Â
â
Ä
ä
Ã
ã
Ǎ
ǎ
Ā
ā
Ă
ă
Ą
ą
Å
å
Ć
ć
Ĉ
ĉ
Ç
ç
Č
č
Ċ
ċ
Đ
đ
Ď
ď
É
é
È
è
Ê
ê
Ë
ë
Ě
ě
Ē
ē
Ĕ
ĕ
Ė
ė
Ę
ę
Ĝ
ĝ
Ģ
ģ
Ğ
ğ
Ġ
ġ
Ĥ
ĥ
Ħ
ħ
Í
í
Ì
ì
Î
î
Ï
ï
Ĩ
ĩ
Ǐ
ǐ
Ī
ī
Ĭ
ĭ
İ
ı
Į
į
Ĵ
ĵ
Ķ
ķ
Ĺ
ĺ
Ļ
ļ
Ľ
ľ
Ł
ł
Ń
ń
Ñ
ñ
Ņ
ņ
Ň
ň
Ó
ó
Ò
ò
Ô
ô
Ö
ö
Õ
õ
Ǒ
ǒ
Ō
ō
Ŏ
ŏ
Ǫ
ǫ
Ő
ő
Ŕ
ŕ
Ŗ
ŗ
Ř
ř
Ś
ś
Ŝ
ŝ
Ş
ş
Š
š
Ș
ș
Ț
ț
Ť
ť
Ú
ú
Ù
ù
Û
û
Ü
ü
Ũ
ũ
Ů
ů
Ǔ
ǔ
Ū
ū
ǖ
ǘ
ǚ
ǜ
Ŭ
ŭ
Ų
ų
Ű
ű
Ŵ
ŵ
Ý
ý
Ŷ
ŷ
Ÿ
ÿ
Ȳ
ȳ
Ź
ź
Ž
ž
Ż
ż
Æ
æ
Ǣ
ǣ
Ø
ø
Œ
œ
ß
Ð
ð
Þ
þ
Ə
ə
格式
链接
标题
列表
文件
参考
讨论
说明
输入内容
输出结果
斜体
''斜体文字''
斜体文字
粗体
'''粗体文字'''
粗体文字
粗斜体
'''''粗斜体文字'''''
粗斜体文字
= DB2 Support for Gallery 2= Gallery 2 supports '''DB2 UDB V9.x for Linux/UNIX/Windows''' as database backend. * Requires a minimum of DB2 Version 9.1 and the 'ibm_db2' PECL PHP extension version 1.2.0. On Linux or UNIX operating systems, install the latest version of the ibm_db2 extension using the "pecl install ibm_db2" command. On Windows, precompiled binaries for ibm_db2 are available from "http://pecl4win.php.net/ext.php/php_ibm_db2.dll". == Database Creation Steps (Before running the Installer) == * The DB2 database for G2 must use a page size of 32 Kb (which is most easily specified at database creation time), and be created to use a Unicode codeset (which must be specified at database creation time). For example, you could use the DB2 CLP command: db2 "CREATE DATABASE gallery2 USING CODESET UTF-8 TERRITORY US PAGESIZE 32 K" (The territory 'US' could be any territory code supported by DB2. See the DB2 documentation for a list of supported territory codes: http://publib.boulder.ibm.com/infocenter/db2luw/v9/topic/com.ibm.db2.udb.admin.doc/doc/r0004565.htm) * The database user must have (or be granted) DBADM authority on the database. For example, assuming 'g2user' is the account that Gallery will use (you will specify this account later during Step 5 of the Installer): db2 "CONNECT TO gallery2" db2 "GRANT DBADM ON DATABASE TO g2user" db2 "CONNECT RESET" * For DB2 product documentation, see http://publib.boulder.ibm.com/infocenter/db2luw/v9. == UTF-8 Codeset Considerations == The Gallery application uses codepage UTF-8, which is why that codeset is specified in the CREATE DATABASE statement shown above. But, just because Gallery uses that codeset, it is not automatic that the DB2 client does. If the codepage of your DB2 client's operating system is not UTF-8, it will be necessary for you to configure your DB2 client to use that codepage. See "Application code page" as described in the DB2 documentation at http://publib.boulder.ibm.com/infocenter/db2luw/v9/topic/com.ibm.db2.udb.apdv.sql.doc/doc/c0006825.htm for more details. == V9.1 Notes == * V9.1 is installed into /opt/ibm/db2/V9.1 * When running "pecl install ibm_db2" it will complain that the directory isn't right unless you create a symlink from /opt/ibm/db2/V9.1/lib32 to /opt/ibm/db2/V9.1/lib * I used instructions from here to set DB2CODEPAGE: http://www-128.ibm.com/developerworks/db2/library/techarticle/dm-0602doole/ == Version Requirement History == * Up to G2.2.1, the wrong requirements were communicated. IBM DB2 v8.2 was said to be required, when it actually required v9 or later. * In G2.2.2, the requirement was changed to v9 or later. No code was changed, but the Gallery team discovered that G2 was using SQL that required IBM DB2 v9 all along (ALTER TABLE DROP COLUMN). [[Category:Gallery 2]]
摘要:
请注意,您对站长百科的所有贡献都可能被其他贡献者编辑,修改或删除。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源(参阅
Wordpress-mediawiki:版权
的细节)。
未经许可,请勿提交受版权保护的作品!
取消
编辑帮助
(在新窗口中打开)