下載網頁: http://www.mysql.com/downloads/ http://www.mysql.com/get/Downloads/MySQLInstaller/mysql-installer-community-5.5.27.1.msi/from/http://cdn.mysql.com/ 中間大大的一個download,不用看,點了進去,MySql Install 5.5.27,好家伙201.4M,點擊"download"按鈕后,怎么要注冊,剛想點那個NewUsers下的"Proceed"按鈕時,咦,下邊有一行"No thanks, just start my download!"的鏈接,看來老外也是喜歡忽悠人,直接點了。咱光纖,啥速度,下......。 這個版本中包括 MySQL Server All of our support connectors Workbench and sample models Sample databases Documentation
2) 安裝MySql5.5 => e:/MySQL 不用說了,.msi文件點擊安裝,傻瓜下一步、下一步。 安裝中的英文說明還是挺簡單的,初始化root口令時建議先簡單點,別太復雜,省得忘了。 與ruby一樣,安裝后開始菜單中多了個"MySQL 5.5 Command Line Client",點擊后要求輸入root的口令,然后進入mysql的命令行模式 mysql> 建庫,輸入(分號為命令結束符,提交) mysql>create database redmine character set utf8; 建用戶,用戶是redmine,口令是123456 mysql>create user 'redmine'@'localhost' identified by '123456'; 授權 mysql>grant all privileges on redmine.* to 'redmine'@'localhost'; 如果建錯了,刪除用戶 mysql>drop user 'redmine'@'localhost';
10) 安裝完了,運行redmine程序了,在ruby命令行模式下 ruby script/rails server webrick -e production 這是2.0.3版本使用的,舊版是啟動server不一樣 訪問http://localhost:3000,激動人心的時刻到了,看到redmine的首頁,點擊登錄用admin/admin進入就可以開始redmine應用了。