跳至內容
Sars' History
使用者工具
登入
網站工具
工具
顯示頁面
舊版
反向連結
最近更新
多媒體管理器
網站地圖
登入
最近更新
多媒體管理器
網站地圖
足跡:
wordpress:upgrade
本頁是唯讀的,您可以看到原始碼,但不能更動它。您如果覺得它不應被鎖上,請詢問管理員。
====== 更新 Wordpress 版本 ====== http://codex.wordpress.org/Upgrading_WordPress ===== 備份檔案 ===== ''tar -cvvf wordpress_backup_[date].tar public_html mv public_html wordpress_old_[version]'' ===== 備份資料庫 ===== 用 phpmyadmin or mysqldump 等等 ===== 下載新版本 ===== http://wordpress.org/download/ ===== 解開 ===== tar -zxvf [filename].tar ===== 更改資料夾名稱及存放路徑 ===== mv wordpress [自定] ===== 修改設定檔 ===== wp-config.php <code> // ** MySQL settings ** // define('DB_NAME', 'wordpress'); // The name of the database define('DB_USER', 'username'); // Your MySQL username define('DB_PASSWORD', 'password'); // ...and password define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value // You can have multiple installations in one database if you give each a unique prefix $table_prefix = 'wp__'; // Only numbers, letters, and underscores please! </code> ===== 讓網頁自動更新 ===== http://[DN or IP]/[path to wordpress]/wp-admin/upgrade.php ===== 將 theme 複製回去 ===== ===== 完成 ===== 算蠻容易的~
wordpress/upgrade.1163087427.txt.gz
· 上一次變更: 2006/11/10 13:20 (外部編輯)
頁面工具
顯示頁面
舊版
反向連結
回到頁頂