How To Migrate From Mambo To Joomla Content Management System 如何遷移,從曼波,以joomla內容管理系統
Joomla Content Management System was forked off Mambo CMS after most of the core Mambo developers disagreed with Mambo Management. joomla內容管理系統是岔小康曼波細胞質雄性不育後,大部分的核心曼波開發商不同意曼波管理。 The current stable release is目前的穩定版本是 1.0.10 . 。 I migrated from Mambo to Joomla to deter hacking efforts on my site. i遷移,從曼波到joomla ,以防止黑客的努力,在我的網站上。
Note: I could have as well migrated to the latest version of Mambo but I just felt like going Joomla way.注:我可以有作為,以及遷移到最新版本的曼波,但我只是感覺就像joomla的方式。
Here are required the steps, simplified and in brief, targeted for command-line users.在這裡需要的步驟,簡化和在簡短的,有針對性的為命令行用戶。
Pre-requirement: If you are not on 4.5.2.x versions of Mambo then you need to first upgrade to Mambo 4.5.2.x version.學前教育的要求:如果您不是對4.5.2.x版本的曼波那麼你需要首先升級到曼波4.5.2.x版本。
1. 1 。 Backup you MySQL database.備份你的MySQL數據庫。
For example if your MySQL database is named tango then the command below will create your backup named tango.sql.gz例如,如果您的MySQL數據庫是命名的探戈舞曲,然後命令下面將創造您的備份命名為tango.sql.gz
mysqldump —-opt tango | gzip -9 > tango.sql.gz mysqldump -選擇探戈| g zip- 9> t ango.sql.gz
2. 2 。 Extract latest stable version of Joomla to any directory under htdocs.提取最新的穩定版本的joomla任何目錄下的htdocs 。 We will assume the name of the directory to be test for simplicity and easy reference.我們將假定的目錄的名稱要測試簡單而容易的參考。 In reality it can be named anything.在現實中可以命名為任何事情。 Only requirement is that it should be somewhere under htdocs.唯一的要求是應該的某處下htdocs 。
3. 3 。 Copy your Mambo configuration.php file (under Mambo root directory) to your Joomla site.複製您的曼波configuration.php文件(下曼波根目錄)到您的joomla網站。 Change the $mosConfig_absolute_path and $mosConfig_live_site variables to point to Joomla base / root directory.改變美元mosconfig_absolute_path元mosconfig_live_site變量,以指向joomla基地/根目錄。
4. 4 。 Copy any custom templates, components, modules, mambots and languages to the same relative locations in the new Joomla directory.複製任何自定義模板,組件,模塊, mambots和語言,以同樣的相對位置,在新的joomla目錄。 Do not copy the default ones.不要複製默認。
5. 5 。 Copy installation/sql/migrate_Mambo4523_to_Joomla_100.sql to your base directory.複製installation/sql/migrate_mambo4523_to_joomla_100.sql到您的基地目錄。
cp installation/sql/migrate_Mambo4523_to_Joomla_100.sql . 警務處處長installation/sql/migrate_mambo4523_to_joomla_100.sql 。
6. 6 。 Delete Joomla installation directory刪除joomla安裝目錄
Go to Joomla base directory and type the following.去joomla基地目錄,然後鍵入以下。 It should delete the installation directory (without any warning; you have been warned).它應刪除安裝目錄(沒有任何警告;你已警告) 。
rm -rf installation 室-射頻安裝
7. 7 。 Load the migrate_Mambo4523_to_Joomla_100.sql script to your MySQL database加載migrate_mambo4523_to_joomla_100.sql腳本到您的MySQL數據庫
For example if your database name is mambo and your user is root (bad practice):例如,如果您的數據庫名稱是曼波和您的用戶是根(壞的做法) :
mysql -u root -p mambo < migrate_Mambo4523_to_Joomla_100.sql MySQL的中美根-曼波< migrate_mambo4523_to_joomla_100.sql
You will be prompted for the password, give it.您將被提示為密碼,給它。
8. 8 。 Open globals.php and change define( 'RG_EMULATION', 1 ); to define( 'RG_EMULATION', 0 ); .開放globals.php和改變界定( ' rg_emulation ' , 1 ) ;界定( ' rg_emulation ' , 0 ) ; 。 This hardens your Joomla installation.這變硬您的joomla安裝。
9. 9 。 If you were using nice url then you should also copy .htaccess from your original directory如果您使用尼斯網址,那麼你應該也將其複製。 htaccess的從您的原始目錄
cp ../original_directory/.htaccess . 警務處處長.. / original_directory / .htaccess 。
10. 10 。 Test the new site thoroughly.測試新的網站徹底。
11. 11 。 On success, first archive the old site and then replace the old site with the new site.關於成功,首先封存的舊網站,然後取代舊的網站與新網站。 For example if your old site is name alpha and your new site is named beta and both are placed directly under htdocs, then you can use the following:例如,如果您的舊網站名稱Alpha和您的新網站命名為試用版,都直接放在htdocs下,則可以使用下列內容:
tar -cjf alpha.tar.bz2 alpha/ 焦油cjf alpha.tar.bz2 α /
rm -rf alpha 室-射頻阿爾法
mv beta alpha 試用版的MV阿爾法
12. 12 。 Test every pages thoroughly, if possible.測試每個頁面徹底,如果可能的。 Test polls and form submission.測試調查和提交表單。
Note: I followed the excellent注意:我其次是出色的 how-to article如何條 to aid my migration.援助我的遷移。 However I differed (as described above) where appropriate (and simpler) and where there were little mistakes (like there are no globals.php-off) in the guide.不過,我有不同(如上文所述)在適當的(簡單)和有小的失誤(如有沒有globals.php小康)在指南中。 I prefer using MySQL commanline over phpmyadmin, so this guide shows the command-line way.我寧願使用MySQL commanline超過phpmyadmin ,所以本指南顯示命令行的方式。 Check the article referenced to do it using phpmyadmin.檢查的文章中引用的做用phpmyadmin 。
Note 2: Use at your own risk.注2 :使用您自己承擔風險。 No warranty, implied or otherwise is provided.沒有明示或暗示的保證,否則是提供。
Filed under提起下 Computer Security計算機安全 , , Headline News頭條新聞 , , How To如何 , , Open Source Software開放源碼軟件 , , PHP PHP的 , , Tech Note技術說明 , , Web網頁 , , Web Hosting虛擬主機 , , Web Services Web服務 | |
| |
RSS 2.0 2.0 | |
Trackback Trackback跟踪 this Article |此文章|
Email this Article電子郵件此文章
You may also like to read您也可以想讀 |




































August 30th, 2006 at 1:38 pm 2006年8月30日在下午1時38分
you may want to correct step number 8您可能會想要正確的步驟號碼8
8. 8 。 Open globals.php and change define( ‘RG_EMULATION’, 0 ); to define( ‘RG_EMULATION’, 0 );.開放globals.php和改變界定( ' rg_emulation ' , 0 ) ;界定( ' rg_emulation ' , 0 ) ; 。 This hardens your Joomla installation.這變硬您的joomla安裝。
August 31st, 2006 at 9:14 am 2006年8月31日在上午09時14分
Thanks.謝謝。 I did.我本來。
July 24th, 2007 at 4:49 pm 2007年7月24日在下午4時49分
I have installed joomla in a seperate folder from my original mambo installation, I am going to rebuild the entire site, I wonly want to migrate the users… any suggestions?我已經安裝了joomla在一個單獨的文件夾,從我原來的曼波安裝,我要重建整個網站,我wonly要遷移的用戶… …任何建議?
Thanks, Lincoln感謝,林肯