ページ更新: 2005-10-03 (月) (4918日前)

(2005-09-25 新規作成)

目次

[編集]

情報源 #

Gallery
http://gallery.menalto.com/

  • Gallery 1.5系列と、2.0系列がある
  • Debian packageには1.5-1がある。

Main Page - Gallery Codex
http://codex.gallery2.org/index.php/Main_Page

Gallery2-Download - Gallery2 Codex
http://codex.gallery2.org/index.php/Gallery2:Download#Packages

  • よりどりみどり。

Gallery2-User Contributions - Gallery Codex
http://codex.gallery2.org/index.php/Gallery2:UserContributions

Galleryの設定
http://forum.jp-inter.net/gallery/index.php?sid=7dfba26cc4648c0717f36b2bc486623c

[編集]

インストールメモ #

[編集]

Gallery 1.5-1 (Debian package) #

2005-09-25

(Gallery の最新は 1.5.1 -2005-09-23)

[編集]

インストール #

推奨パッケージは imagemagick, jhead, unzip, libjpeg-progs。

$ apt-cache show gallery
Package: gallery
Priority: optional
Section: web
Installed-Size: 22212
Maintainer: Michael C. Schultheiss <schultmc@debian.org>
Architecture: all
Version: 1.5-1
Depends: apache | apache-ssl | apache-perl | apache2, php4 | php4-cgi | libapache2
-mod-php4 | php5 | php5-cgi | libapache2-mod-php5, netpbm (>= 9.20), debconf (>= 0
.2.26)
Recommends: imagemagick, jhead, unzip, libjpeg-progs
 :

インストールする

# apt-get install imagemagick, jhead, unzip, libjpeg-progs gallery
 :

この時のバージョン

  • imagemagick (6.0.6.2-2.4)
  • jhead (2.3-2)
  • libjpeg-progs (6b-10)

他に、exiftags, rarもインストールした。ついでに unrar も。

  • exiftags (0.98-1)
  • rar (3.30-2)
  • unrar (3.5.2-0.1)
[編集]

インストールされたファイル #

$ dpkg --listfiles gallery
/.
/usr
/usr/share
/usr/share/gallery
  :
/usr/share/gallery/contrib
/usr/share/gallery/contrib/GeekLog
  :
/usr/share/gallery/contrib/mambo
  :
/usr/share/gallery/contrib/phpBB2
  :
/usr/share/gallery/contrib/phpnuke
  :
/usr/share/gallery/contrib/postnuke
  :
/usr/share/gallery/docs
  :
/usr/share/gallery/docs/html.css
  :
/usr/share/gallery/locale/ja_JP
/usr/share/gallery/locale/ja_JP/LC_MESSAGES
/usr/share/gallery/locale/ja_JP/LC_MESSAGES/ja_JP-gallery_config.mo
/usr/share/gallery/locale/ja_JP/LC_MESSAGES/ja_JP-gallery_core.mo
/usr/share/gallery/locale/ja_JP/ja_JP-Changelog
/usr/share/gallery/locale/ja_JP/ja_JP-gallery_config.po
/usr/share/gallery/locale/ja_JP/ja_JP-gallery_core.po
/usr/share/gallery/locale/ja_JP/ja_JP-nls.php
/usr/share/gallery/locale/ja_JP/flagimage
/usr/share/gallery/locale/ja_JP/flagimage/ja_JP.gif
  :
/usr/share/lintian/overrides/gallery
  :
/usr/share/doc/gallery
  :
/etc/gallery/apache.conf
  :
/var/lib/gallery
  :
/var/www
/var/www/albums
/usr/share/gallery/setup
/usr/share/gallery/.htaccess
/usr/share/gallery/config.php
[編集]

設定 #

/etc/gallery/httpd.conf

Alias /gallery /usr/share/gallery

<Directory /usr/share/gallery>
  Options FollowSymLinks
  AllowOverride Limit Options FileInfo
  Order deny,allow              ★ 念のため、設定が終わるまで
  Deny from all                 ★ 公開しないようにする。
  Allow from XXX.XXX.XXX.XXX    ★ 
</Directory>

# some people prefer a simple URL like http://gallery.example.com
#<VirtualHost 1.2.3.4>
#  DocumentRoot /usr/share/gallery
#  ServerName gallery.example.com
#</VirtualHost>
[編集]

Gallery 2.0 #

2005-09-25

Gallery Requirements Gallery
http://gallery.menalto.com/requirements

Gallery2-Installation Requirements - Gallery2 Codex
http://codex.gallery2.org/index.php/Gallery2:Installation_Requirements

Gallery2-Download - Gallery2 Codex
http://codex.gallery2.org/index.php/Gallery2:Download

ちなみにDebianパッケージではunstable、testingの方に入ってる。 パッケージ検索

[編集]

準備 #

# apt-get install ffmpeg dcraw
  • dcraw (7.02-1)
  • ffmpeg (0.cvs20050313-2)
[編集]

インストール #

(この項作業中)

展開。ドキュメントに書いてなかったけどSQLiteも使える?

$ tar zxvf gallery-2.0-full.tar.gz
gallery2/MANIFEST
gallery2/LICENSE
gallery2/docs/DEVELOPER_GUIDELINES
gallery2/docs/EMBEDDING
gallery2/docs/LOCALIZING
gallery2/lib/adodb/drivers/adodb-mysql.inc.php
gallery2/lib/adodb/drivers/adodb-mysqli.inc.php
gallery2/lib/adodb/drivers/adodb-mysqlt.inc.php
gallery2/lib/adodb/drivers/adodb-oci8.inc.php
gallery2/lib/adodb/drivers/adodb-oci805.inc.php
gallery2/lib/adodb/drivers/adodb-oci8po.inc.php
gallery2/lib/adodb/drivers/adodb-oracle.inc.php
gallery2/lib/adodb/drivers/adodb-postgres.inc.php
gallery2/lib/adodb/drivers/adodb-postgres64.inc.php
gallery2/lib/adodb/drivers/adodb-postgres7.inc.php
gallery2/lib/adodb/drivers/adodb-sqlite.inc.php
gallery2/lib/adodb/drivers/adodb-sqlitepo.inc.php
 :