wiki:jazz/09-02-25

Version 4 (modified by jazz, 16 years ago) (diff)

--

2009-02-25

  • [個人] 升級 Gallery 版本 1.4 -> 1.5
    ~/public_html$ wget http://nchc.dl.sourceforge.net/sourceforge/gallery/gallery-1.5.10.tar.gz
    ~/public_html$ mv gallery old_gallery
    ~/public_html$ tar zxvf gallery-1.5.10.tar.gz
    ~/public_html$ mv gallery-1.5.10 gallery
    ~/public_html$ cd gallery/locale
    ~/public_html/gallery/locale$ wget http://nchc.dl.sourceforge.net/sourceforge/gallery/zh_TW-1.5.2.tar.gz
    ~/public_html/gallery/locale$ tar zxvf zh_TW-1.5.2.tar.gz
    ~/public_html/gallery/locale$ cd ../..
    ~/public_html$ cp old_gallery/config.php gallery/.
    ~/public_html$ touch gallery/.htaccess
    ~/public_html$ chmod 777 gallery/.htaccess gallery/config.php
    
    • 瀏覽 http://yourhost/gallery/ 依照指示進行升級與內容更新
    • 關於舊的 CSS - 先前有設定了一些 CSS, 為了讓系統通用, 需要拷貝幾個檔案
      ~/public_html$ cp old_gallery/css/standalone_style.css.default gallery/css/.
      ~/public_html$ vi gallery/css/screen.css.default
      
      • screen.css.default

        old new  
        2222body {
        2323    font-family: Geneva,Arial,Helvetica,sans-serif;
        2424    font-size: 10px;
        25     background-color: #FFFFFF;
         25    background-color: #ADB6C6;
        2626    color: #FFFFFF;
        2727}
  • 手機進入投影時代?