差異處
這裏顯示兩個版本的差異處。
| 兩邊的前次修訂版 前次修改 下次修改 | 前次修改 | ||
| tech:install_gallery [2010/01/27 16:51] – jonathan | tech:install_gallery [2012/03/31 07:58] (目前版本) – 恢復為舊版 jonathan | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| + | ====== 安裝 Gallery2 電子相簿系統 ====== | ||
| + | * Gallery2 官方網站 : http:// | ||
| + | * 安裝環境 : | ||
| + | * OS : CentOS 5.4 i386 | ||
| + | * Web : httpd-2.2.3-31 + php-5.1.6-24 | ||
| + | * Gallery : [[http:// | ||
| + | |||
| + | ===== 轉圖安裝模組 ===== | ||
| + | * 先安裝好 rpmforge< | ||
| + | rpm -Uvh http:// | ||
| + | </ | ||
| + | * 再安裝相關影像轉換模組< | ||
| + | yum install ImageMagick php-gd netpbm netpbm-progs jhead ffmpeg | ||
| + | </ | ||
| + | * 下載與安裝 gallery2< | ||
| + | su - root | ||
| + | cd / | ||
| + | wget http:// | ||
| + | tar -zxvf gallery-2.3.1-full.tar.gz | ||
| + | mv gallery2 gallery2_dev | ||
| + | chown -R apache: | ||
| + | </ | ||
| + | * 依據網頁說明步驟依序處理 | ||
| + | * 當出現警告 php.ini 內有設定 output_buffering 時, 可以在目錄內增加 .htaccess 來 override 解決< | ||
| + | PHP_FLAG output_buffering Off | ||
| + | </ | ||
| + | |||
| + | ===== 參考資料 ===== | ||
| + | * http:// | ||
| + | * http:// | ||
| + | * http:// | ||
| + | |||
| + | {{tag> | ||
| + | |||
| + | |||
| + | ++++之前紀錄下載 Source 安裝程序| | ||
| + | * 因為 netpbm-progs 內並沒有包含 jhead 所以額外下載以下 rpm 安裝 | ||
| + | < | ||
| + | wget http:// | ||
| + | rpm -ivh jhead-2.4-2.el4.kb.i386.rpm | ||
| + | </ | ||
| + | * 這 jhead 的 rpm 安裝之後, | ||
| + | |||
| + | * ffmpeg 有可能比較麻煩,我使用 ffmpeg-export-2008-07-18 雖然 make 時有一堆 warning 但還可順利產生執行檔 | ||
| + | < | ||
| + | wget http:// | ||
| + | bunzip2 ffmpeg-export-snapshot.tar.bz2 | ||
| + | tar -xvf ffmpeg-export-snapshot.tar | ||
| + | cd ffmpeg-export-* | ||
| + | ./configure | ||
| + | make | ||
| + | make install | ||
| + | </ | ||
| + | * 經過 make install 之後, 可以在 / | ||
| + | ++++ | ||