| 3 | * [個人] 升級 Gallery 版本 1.4 -> 1.5 |
| 4 | {{{ |
| 5 | ~/public_html$ wget http://nchc.dl.sourceforge.net/sourceforge/gallery/gallery-1.5.10.tar.gz |
| 6 | ~/public_html$ mv gallery old_gallery |
| 7 | ~/public_html$ tar zxvf gallery-1.5.10.tar.gz |
| 8 | ~/public_html$ mv gallery-1.5.10 gallery |
| 9 | ~/public_html$ cd gallery/locale |
| 10 | ~/public_html/gallery/locale$ wget http://nchc.dl.sourceforge.net/sourceforge/gallery/zh_TW-1.5.2.tar.gz |
| 11 | ~/public_html/gallery/locale$ tar zxvf zh_TW-1.5.2.tar.gz |
| 12 | ~/public_html/gallery/locale$ cd ../.. |
| 13 | ~/public_html$ cp old_gallery/config.php gallery/. |
| 14 | ~/public_html$ touch gallery/.htaccess |
| 15 | ~/public_html$ chmod 777 gallery/.htaccess gallery/config.php |
| 16 | }}} |
| 17 | * 瀏覽 http://yourhost/gallery/ 依照指示進行升級與內容更新 |
| 18 | * 關於舊的 CSS - 先前有設定了一些 CSS, 為了讓系統通用, 需要拷貝幾個檔案 |
| 19 | {{{ |
| 20 | ~/public_html$ cp old_gallery/css/standalone_style.css.default gallery/css/. |
| 21 | ~/public_html$ vi gallery/css/screen.css.default |
| 22 | }}} |
| 23 | {{{ |
| 24 | #!diff |
| 25 | |
| 26 | --- screen.css.default.org 2009-02-25 21:15:15.000000000 +0800 |
| 27 | +++ screen.css.default 2009-02-25 20:58:50.000000000 +0800 |
| 28 | @@ -22,7 +22,7 @@ |
| 29 | body { |
| 30 | font-family: Geneva,Arial,Helvetica,sans-serif; |
| 31 | font-size: 10px; |
| 32 | - background-color: #FFFFFF; |
| 33 | + background-color: #ADB6C6; |
| 34 | color: #FFFFFF; |
| 35 | } |
| 36 | }}} |