站长百科 | 数字化技能提升教程 数字化时代生存宝典
首页
数字化百科
电子书
建站程序
开发
服务器
办公软件
开发教程
服务器教程
软件使用教程
运营教程
热门电子书
WordPress教程
宝塔面板教程
CSS教程
Shopify教程
导航
程序频道
推广频道
网赚频道
人物频道
网站程序
网页制作
云计算
服务器
CMS
论坛
网店
虚拟主机
cPanel
网址导航
WIKI使用导航
WIKI首页
最新资讯
网站程序
站长人物
页面分类
使用帮助
编辑测试
创建条目
网站地图
站长百科导航
站长百科
主机侦探
IDCtalk云说
跨境电商导航
WordPress啦
站长专题
网站推广
网站程序
网站赚钱
虚拟主机
cPanel
网址导航专题
云计算
微博营销
虚拟主机管理系统
开放平台
WIKI程序与应用
美国十大主机
编辑“
Gallery2:FAQ
”(章节)
人物百科
|
营销百科
|
网赚百科
|
站长工具
|
网站程序
|
域名主机
|
互联网公司
|
分类索引
跳转至:
导航
、
搜索
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
高级
特殊字符
帮助
标题
2级
3级
4级
5级
格式
插入
拉丁字母
扩展拉丁字母
国际音标
符号
希腊字母
希腊字母扩展
西里尔字母
阿拉伯字母
扩展阿拉伯字母
希伯来字母
孟加拉语字符集
泰米尔数字和符号
泰卢固语字符集
僧伽罗语字符集
梵文字符集
古吉拉特语字符集
泰语字符集
老挝语
高棉语字母
加拿大原住民音节文字
卢恩
Á
á
À
à
Â
â
Ä
ä
Ã
ã
Ǎ
ǎ
Ā
ā
Ă
ă
Ą
ą
Å
å
Ć
ć
Ĉ
ĉ
Ç
ç
Č
č
Ċ
ċ
Đ
đ
Ď
ď
É
é
È
è
Ê
ê
Ë
ë
Ě
ě
Ē
ē
Ĕ
ĕ
Ė
ė
Ę
ę
Ĝ
ĝ
Ģ
ģ
Ğ
ğ
Ġ
ġ
Ĥ
ĥ
Ħ
ħ
Í
í
Ì
ì
Î
î
Ï
ï
Ĩ
ĩ
Ǐ
ǐ
Ī
ī
Ĭ
ĭ
İ
ı
Į
į
Ĵ
ĵ
Ķ
ķ
Ĺ
ĺ
Ļ
ļ
Ľ
ľ
Ł
ł
Ń
ń
Ñ
ñ
Ņ
ņ
Ň
ň
Ó
ó
Ò
ò
Ô
ô
Ö
ö
Õ
õ
Ǒ
ǒ
Ō
ō
Ŏ
ŏ
Ǫ
ǫ
Ő
ő
Ŕ
ŕ
Ŗ
ŗ
Ř
ř
Ś
ś
Ŝ
ŝ
Ş
ş
Š
š
Ș
ș
Ț
ț
Ť
ť
Ú
ú
Ù
ù
Û
û
Ü
ü
Ũ
ũ
Ů
ů
Ǔ
ǔ
Ū
ū
ǖ
ǘ
ǚ
ǜ
Ŭ
ŭ
Ų
ų
Ű
ű
Ŵ
ŵ
Ý
ý
Ŷ
ŷ
Ÿ
ÿ
Ȳ
ȳ
Ź
ź
Ž
ž
Ż
ż
Æ
æ
Ǣ
ǣ
Ø
ø
Œ
œ
ß
Ð
ð
Þ
þ
Ə
ə
格式
链接
标题
列表
文件
参考
讨论
说明
输入内容
输出结果
斜体
''斜体文字''
斜体文字
粗体
'''粗体文字'''
粗体文字
粗斜体
'''''粗斜体文字'''''
粗斜体文字
=Getting Gallery2= ==How can I get Gallery2 on my webserver?== Copy the Gallery 2 files to a directory on your webserver. There are several alternatives for this step: * Ideally, you can use subversion to install and update your Gallery 2 installation directly on the server. But this option is only available if you have command line access to the server (ssh/telnet). * The next best alternative is to upload the gallery2.tar.gz or gallery2.zip archive via [http://www.acronymdb.com/acronym/FTP FTP] or another method. Then unarchive / extract the archive in the command line (ssh/telnet) or with a miniature PHP script with the command '''tar -xzf gallery2.tar.gz''' for the .tar.gz archive or '''unzip gallery2.zip''' for the .zip archive. Some webhosting companies offer a control panel with a web file-browser which is capable of extracting / unarchiving archive files. It's worth a try to check if this option is available. * If you have neither of these options, you have to upload the complete contents of the Gallery 2 archive to the webserver with an FTP program. This will take a lot of time and is error-prone. In this case, pay special attention to the '''System Checks''' step of the installer and make sure that there are no missing or modified files. ==Once I have G2, where do I begin?== The BEST place to start is /gallery2/README.html. If you wish to jump ahead and start the install, you can point your browser at /gallery2/install/ instead. If it's your first time, you will need to visit the README.html in order to find database setup instructions. ==Does G2 have any special requirements?== Gallery 2 requires many of the same things that G1 required. A web server, php and some graphics manipulation programs. You probably already know these things... but there is ONE new requirement: a database. Right now, there is support for MySQL 3,4, PostgreSQL and Oracle 9/10. Of course, the other requirements are a web server (apache, iis, zeus?), php (4 or 5) and some graphics manipulation packages (netpbm, imagemagick, ffmpeg, gd). Space for the images is probably one of the more obvious requirements :) ==I can't upload images or see thumbnails in my galleries using a Fedora Core 6 host.== The GaphicsMagick package on Fedore Core 6 on both x86 and x86_64 currently has a flaw in it where the thumbnail creation process causes a segmentation fault. There is a detailed bug logged to Fedora on this reference (BugID 237803). this FAQ will be updated once the Fedora team has evaluated and fixed this issue. This will also be tested on Fedora Core 7 and updated if appropriate. ==How can I get the latest version of Gallery2?== You can download the latest '''official release''' of G2 from the [http://sourceforge.net/project/showfiles.php?group_id=7130&package_id=124241 sourceforge download page]. Official packages usually released not more than two times in a year, thus they might miss the latest features and improvements.<br/> There are two ways of '''keeping current''' any time, using nightly builds or using Subversion.<br/> [http://www.fw2.net/files/gallery Chetan Sarva], [http://jpmullan.com/galleryupdates Jesse Mullan] and [http://www.gallery2.hu Gallery2.EU] both offer nightly builds.<br/> The instructions for using Subversion can be found [[Gallery:Gallery:Using Subversion|here]] . You can also find instructions for using TortoiseSVN [[Gallery:Gallery:Using Subversion on Windows|here]] . To get the SVN version of Gallery, see the next FAQ item. ==Should I use nightly builds or Subversion?== That is up to you, I would suggest Subversion if you are comfortable working with it or don't mind learning. Once you get the original source from Subversion, updating is as simple as going to your G2 directory and typing "svn update". ==Subversion uses too much disk space!== Subversion keeps a second copy of every file so commands like "svn status" and "svn diff" can run quickly, without going over the network. This does double the space required.. if you like the convenience of "svn update" but aren't doing development so you don't use status/diff much, then [http://subversion.tigris.org/issues/show_bug.cgi?id=525 vote for this feature] and hopefully subversion will support it someday. For now we offer a script called [[Gallery:Gallery:Using Subversion#How do I use less disk space for a SVN checkout?|svnSlim]]. ==How to upgrade Gallery2?== See: [[Gallery:Gallery2:Upgrading|Upgrading Gallery 2]] ==How do I prevent users from accessing my site during maintenance or upgrades?== Gallery 2.1+ has a "Maintenance mode" feature. Edit your config.php file using a text editor and find this section. It has instructions for turning on this mode. Example settings (use only one of these lines): $gallery->setConfig('mode.maintenance', true); $gallery->setConfig('mode.maintenance', '/maintenance.html'); $gallery->setConfig('mode.maintenance', '<nowiki>http://myothersite.com/</nowiki>'); Site administrators may still use the application while the site is in maintenance mode. Typical upgrade process: # Turn on maintenance mode; # Put new code in place; # Browse site as admin and make sure everything looks OK; # Activate or configure any new modules/themes/etc you wish to use; # Turn off maintenance mode.
摘要:
请注意,您对站长百科的所有贡献都可能被其他贡献者编辑,修改或删除。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源(参阅
Wordpress-mediawiki:版权
的细节)。
未经许可,请勿提交受版权保护的作品!
取消
编辑帮助
(在新窗口中打开)