差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

兩邊的前次修訂版 前次修改
tech:gallery3 [2015/07/02 18:14] jonathantech:gallery3 [2015/07/02 18:29] (目前版本) jonathan
行 1: 行 1:
 +====== 安裝 Gallery3 電子相簿 ======
 +  * EPEL 已經提供 Package, 所以安裝可以變得很簡易 <code sh>
 +yum install gallery3 php-gd
 +</code><file>
 +================================================================================
 + Package            Arch           Version                   Repository    Size
 +================================================================================
 +Installing:
 + gallery3           noarch         3.0.9-1.el6               epel         1.5 M
 +Installing for dependencies:
 + php-Kohana         noarch         2.4-1.rc2.el6.3           epel         187 k
 +
 +Transaction Summary
 +================================================================================
 +Install       2 Package(s)
 +
 +Total download size: 1.7 M
 +</file>
 +  * 設定相關參數 <code sh>
 +vi /etc/httpd/conf.d/gallery3.conf
 +</code><file>
 +Alias /gallery3 /usr/share/gallery3
 +
 +<Directory /usr/share/gallery3>
 +  AllowOverride Options FileInfo
 +  php_value short_open_tag on
 +</Directory>
 +</file><code sh>
 +service httpd restart
 +</code>
 +  * 連上 http://xxx.xxx.xxx.xxx/gallery3 依據只是開始設定<code sh>
 +cd /usr/share/gallery3/
 +mkdir var
 +chmod 777 var
 +</code>
 +
 +===== 參考網址 =====
 +  * http://galleryproject.org/node/110877
 +
 +{{tag>install gallery3}}