2014-02-07
官方網站
http://galleryproject.org/
# Gallery3_install_CentOS6.5x64.sh
if [ "`grep SELINUX=disabled /etc/selinux/config`" == "" ]; then
/usr/sbin/setenforce 0
sed -i -e "s@SELINUX=enforcing@#SELINUX=enforcing@" /etc/selinux/config
sed -i -e "s@SELINUX=permissive@#SELINUX=permissive@" /etc/selinux/config
sed -i -e "/SELINUX=/aSELINUX=disabled" /etc/selinux/config
fi
yum -y install mysql mysql-server httpd php php-mysql wget php-mbstring php-gd
sed -i -e "s@short_open_tag = Off@#short_open_tag = Off@" /etc/php.ini
sed -i -e "/short_open_tag = Off/ashort_open_tag = On" /etc/php.ini
grep short_open_tag /etc/php.ini
chkconfig httpd on
chkconfig mysqld on
service httpd restart
service mysqld restart
wget http://downloads.sourceforge.net/gallery/gallery-3.0.9.zip
unzip gallery-3.0.9.zip -d /var/www/html
mkdir /var/www/html/gallery3/var
chmod 777 /var/www/html/gallery3/var
firefox http://localhost/gallery3 &
1.瀏覽器連上 http://localhost/gallery3 網址
2.全部預設值,按下Continue按鈕
3.安裝完成
4.按下 Change password and email now 按鈕
5.依據個人需求設定
6.依據個人需求設定
7.英文主畫面
8.選Admin下拉選單,Settings選項,Languages選項
9.語言設定畫面
10.勾選 [繁體中文],並且點選後面的圓圈
11.按下Update languages按鈕
12.更新完成
13.按下Start translation mode按鈕
14.按下Save settings按鈕
15.回主畫面網址 http://localhost/gallery3,Lanaguage preference往下拉,有[繁體中文]可以選
16.變成繁體中文畫面了
(完)
相關
[研究] Gallery 3.0.9 繁體中文圖片藝廊-快速安裝程式 (CentOS 6.5 x86_64)
http://shaurong.blogspot.com/2014/02/gallery-309-centos-65-x8664.html
http://forum.icst.org.tw/phpbb/viewtopic.php?f=20&t=80722
[研究] Gallery 3.0 中文圖片藝廊 快速安裝程式 (Fedora 14 x86)
http://forum.icst.org.tw/phpbb/viewtopic.php?t=19269
沒有留言:
張貼留言