At Windows on the installation of Redmine
10. libiconv 1.9.1: ftp://mirrors.kernel.org/gnu/libiconv/libiconv-1.9.1.bin.woe32.zip. Take into account when running rake
Installation and Configuration
1. Ruby 1.8.7 will unzip the installation package to a directory (for example: C: \ ruby-1.8.7), and the bin subdirectory of the path to the Windows add the PATH environment variable (for example: In the PATH environment variable Medium add C: \ ruby-1.8.7 \ bin)
2. RubyGems 1.3.1 installation package will unzip to a temporary directory (for example: C: \ rubygems-1.3.1), in the Windows command line mode to switch the current directory to the temporary directory, run the following command:
ruby setup.rb |
The order will be offline to install RubyGems. After installation to delete the temporary directory
3. At the command line mode, run the following command:
gem install rake-v = 1.3.1 |
The order will be installed online Rake
4. Rails 2.2.2 to extract the installation package to a temporary directory (for example: C: \ rails), at the command line mode to switch the current directory to the temporary directory, run the following command:
gem install rails-v = 2.2.2 - include-dependencies |
The order will be offline to install Rails. After installation to delete the temporary directory
5. At the command line mode, run the following command:
gem install mysql |
Will be online in order to install MySQL's C bindings (C language binding? C language library?) Can significantly improve the performance of access to the database
6. Install and run MySQL. See the MySQL-related resources
7. MySQL at the command line mode to run the following command:
create database redmine character set utf8; |
The Order will create a database for Redmine
8. The installation of Visual C + + 2008 Redistributables
9. Installed Win32 OpenSSL v0.9.8j Light. Attention to "Select Additional Tasks" when elected "Copy OpenSSL DLLs to The Windows system directory", otherwise the installation manual will be required after the OpenSSL installation directory under the DLL file copied to the Windows system directory (for example: C: \ Windows \ system32 ), or Ruby's bin directory (for example: C: \ ruby-1.8.7 \ bin)
10. ZLib 1.2.3 will be the installation package to extract zlib1.dll system Windows directory, or Ruby's bin directory, and renamed as zlib.dll
11. Libiconv 1.9.1 will be the installation package in the bin \ iconv.dll decompression to the Windows system directory, or Ruby's bin directory
12. Redmine installation package will unzip to a directory (for example: C: \ redmine-0.8.1), will be config \ database.yml.example copy config \ database.yml, and modify the file in the "production" in paragraph the database configuration. For example:
production: adapter: mysql database: redmine host: localhost username: root (fill in here you want to log in MySQL user name) password: password (fill in the user's password here) |
13. Windows at the command line mode to switch the current directory for the Redmine installation directory, run the following command:
rake db: migrate RAILS_ENV = "production" |
The Order will create a production database structure
14. At the command line mode, run the following command:
rake config / initializers / session_store.rb |
The Order will save session data to generate the cookie file
15. At the command line mode, run the following command:
ruby script / server webrick-e production |
The Order will run Redmine!
16. Open the browser, visit the following Web site: , Use the user admin (password admin) log in give it a try!
Allow Redmine to run automatically
Use the command line run Redmine very inconvenient, Fortunately, Ruby provides a mongrel_service package, it can be Ruby for Windows Service Registration process.
1. At the command line run the following command to install mongrel_service:
gem install mongrel_service |
2. And the use of mongrel_service will be registered as a Windows Service Redmine:
mongrel_rails service:: install - N Redmine-c C: \ redmine-0.8.1-p 3000-e production |
Note: At my machine on the implementation of the orders, Windows Service does register, but the-e parameter is development. This need to modify the service registry key, modify the value of the parameter for the production, or else crawl Redmine database
3. Redmine if MySQL is installed on the same machine can also be added to MySQL Services for Redmine dependent, so that when activated Redmine also initiated to ensure that MySQL:
sc config Redmine depend = MySQL |
Attention depend = with MySQL has a space between
4. Redmine can also be set to automatically start:
sc config Redmine depend = MySQL start = auto |
Similarly, start = and have a space between the auto
Related Posts of At Windows on the installation of Redmine
-
Rails source code analysis (1): RailsFCGIHandler
In accordance with the sequence starting from the beginning CGI Ruby CGI Doc: The Common Gateway Interface ( CGI ) Is a simple protocol for passing an HTTP request from a web server to a standalone program, and returning the output to the web browser ...
-
Rails source code analysis (4): Request / Response
1) Rails defines two abstract class: AbstractRequest and AbstractResponse code is not posted, first take a look at Response. 2) is mainly responsible for the specific ctgi_process.rb main interface is responsible for implementation methods of impleme ...
-
flash chart summary
pen Flash Chart is an open source Flash chart drawing tool, offers a variety of programming interfaces, including PHP, Ruby, Perl, Python, Java,. Net, AS, JS, etc. to generate a variety of data interfaces, and then Flash to display the function is to ...
-
Rails2.0.2 change the default DB adpter
In Rails2.0.2 rails demo ... ... MissingSourceFile in SayController # hello no such file to load - sqlite3 RAILS_ROOT: / home / kenb / rails-projects / demo ... ... Checked config / database.yml, adpter default is set become the sqlite3. Check the ra ...
-
Using Rails Captcha plug-in, easy implementation Verification Code
Simple Captcha Plugin Can help us easily in the Rails implementation of Verification Code function. In addition, he has the option to provide sufficient to meet the U.S. requirements for certification, the use of easy. Supported picture and digital authen
-
RSpec troubleshooting
1.uninitialized constant Dependencies Conditions: In windows under way to install the RSpec gem and rspec-rails. However, in ruby script / spec_server to do the test under the spec your_spec.rb-X will appear uninitialized constant Dependencies (NameE ...
-
Alternative to Java with Ruby to do unit testing interface rest!
Ruby is long overdue to replace java more flexible and make some necessary changes in a matter of, if not deep-rooted culture of the company's java, I think. . . . . . The following are my Writing for the Rest of the interface used to make the test su
-
ROR resources
Ruby Web site resources: ruby official website: http://www.ruby-lang.org ruby doc official website: http://www.ruby-doc.org rubyonrails official website: http://www.rubyonrails.org programming ruby online edition (Ruby studying the "Bible") ...
-
Workspace run under different Eclipse
Now do live more and more often required to use eclipse in java and ruby & rails project conducted between the tangential shear from the past, because in the rails project used a coloring Aptana preferences, the results open the java project sour ...
-
Oracle instant clent for ruby / rails on cygwin
Environment: XP: oracle full client, ruby, rails, gem cygwin: ruby rails, gem (the version with the XP version) Needs: for cygwin is installed under the rails platform support oci Steps: <1> download oracle instant client (10.2.0.3 Instant Client Pa












