http://www.ossxp.com/doc/redmine/user_guide/user_guide.html
- HowTo install Redmine on CentOS 5
- Assumptions
- Steps to take
- Install gem and passenger dependencies
- Get Ruby
- Get Gems 1.4 (does not work with Gems 1.5)
- Install Passenger
- Restart Apache
- Download Redmine
- Copy the folder to its HTTP document root folder
- Configure Apache to host the documents
- Install Bundler
- Add the Bundler Boot and preinitializer code
- Create the Gemfile and register these gems in it
- Create the Redmine MySQL database
- Configure database.yml (rename database.yml.example)
- Set the production environment (optional)
- Generate the session store
- Migrate the database models
- Load default data (optional)
- Rename dispatch CGI files
- Edit .htaccess file for CGI dispatch configuration
- Chown and Chmod files for read/write access for the Apache user
- Redmine should be fully installed now and fully usable
Assumptions
- Apache is up and running
- Apache has previously been used and works quite well
- MySQL is up and running
- MySQL has previously been used and works quite well
- Your are logged as root
- The next steps are done successively without errors
Steps to take
Install gem and passenger dependencies
Get Ruby
Get Gems 1.4 (does not work with Gems 1.5)
Install Passenger
Restart Apache
Download Redmine
Copy the folder to its HTTP document root folder
Configure Apache to host the documents
more information can be found here: HowTo configure Apache to run Redmine
Install Bundler
Add the Bundler Boot and preinitializer code
For more info go to the Bundler site.
Create the Gemfile and register these gems in it
- source "http://rubygems.org"
- gem
"rake"
, "0.8.3" - gem
"rack"
, "1.1.0" - gem
"i18n"
, "0.4.2" - gem
"rubytree"
, "0.5.2", :require => "tree" - gem
"RedCloth"
, "~>4.2.3", :require => "redcloth" # for CodeRay - gem
"mysql"
- gem
"coderay"
, "~>0.9.7"
Create the Redmine MySQL database
For MySQL:
start the mysql client and enter the following commands
For versions of MySQL prior to 5.0.2 - skip the 'create user' step and instead:
Configure database.yml (rename database.yml.example)
Set the production environment (optional)
Uncomment the following line in file redmine/config/environment.rb:
Generate the session store
Migrate the database models
Load default data (optional)
Follow instructions.
Rename dispatch CGI files
Edit .htaccess file for CGI dispatch configuration
Chown and Chmod files for read/write access for the Apache user
Redmine should be fully installed now and fully usable
Restart Remind Server
http://www.vitki.net/book/page/redmine-installation-centos-5
ps aux | grep ruby
kill -9 pid
ruby script/server -e production
ruby script/server -e production -d 后体运行
更多Plugins http://www.redmine.org/projects/redmine/wiki/Plugin_List
安装CKEditor Plugin
下载地址
https://github.com/ebrahim/redmine_ckeditor
Redmine CKEditor plugin
使用CKEditor代替redmine默认的text编辑功能
What is CKEditor?
CKEditor is a WYSIWYG text editor. See the official site for more details.
环境要求
-
必须redmine1.1版本以上
Plugin installation and setup
-
下载压缩文件,解压缩,将解压缩文件修改为redmine_ckeditor,然后复制到redmine的vendor\plugins目录下
-
重启redmine
-
改变文本格式到ckeditor