Please edit your Apache configuration file, and add these lines: The Apache 2 module was successfully installed. bin/mysqlbug script! 6.2 Passenger Installation. Strongly recommended for production servers. Which will also give you the option of removing the testĭatabases and anonymous user created by default. bin/mysqladmin -u root -h your_host_name password 'new-password' bin/mysqladmin -u root password 'new-password' To do so, start the server, then issue the following commands: PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! Support-files/rver to the right place for your system To start mysqld at boot time you have to copy Appendix 6.1 MySQL Installration Installing MySQL system tables. To be added, and you can e-mail me or make comments on the end of this article. ServerName DocumentRoot $CYN_USR/redmine-1.2.2/public In $CYN_USR/httpd/conf/nf add the following: LoadModule passenger_module $CYN_USR/passenger-3.0.11/ext/apache2/mod_passenger.so RAILS_ENV=production rake redmine:load_default_data 2.14 Apache Server Configuration In the config/database.yml file, modify the production/development/test session like this: production: Tar zxvf $CYN_DOWNLOAD/redmine-1.2.2.tar.gz 2.13 Redmine Configuration cd $CYN_USR/redmine-1.2.2Ĭp config/ config/database.yml You will get the prompt like appendix 6.2 2.12 Redmine Installation cd $CYN_USR Tar zxvf $CYN_DOWNLOAD/passenger-3.0.11.tar.gz Make install 2.11 Passenger Installation cd $CYN_USR test.rb - localhost redmine redminepwd redmine 3306 Ruby extconf.rb -with-mysql-dir=$CYN_USR/mysql Tar zxvf $CYN_DOWNLOAD/mysql-ruby-2.8.2.tar.gz GRANT ALL ON redmine.* TO 2.10 MySQL-Ruby Installation cd $CYN_USR Gem install -local rails-2.3.5.gem 2.8 i18n Installation gem install -local i18n-0.4.2.gem 2.9 MySQL Configuration mysql -u root -pĬREATE DATABASE redmine CHARACTER SET utf8 COLLATE utf8_general_ci Gem install -local activeresource-2.3.5.gem Gem install -local actionmailer-2.3.5.gem Gem install -local activerecord-2.3.5.gem Gem install -local activesupport-2.3.5.gem Install rails 2.3.5 with: cd $CYN_DOWNLOAD Install rails 2.3.11 with: cd $CYN_DOWNLOAD Make install 2.7 Rake, Rack and Rails Installation Ruby setup.rb 2.6 zlib Installation cd $CYN_USR Tar zxvf $CYN_DOWNLOAD/rubygems-1.6.2.tgz Make install 2.4 Add Environment Variable vim ~/.bashrcĪnd add the following lines: export MYSQL_HOME="$CYN_USR/mysql"Įxport PATH="$PATH:$RUBY_HOME/bin:$MYSQL_HOME/bin:$MYSQL_HOME/lib:$HTTPD_HOME/bin"Īnd execute source ~/.bashrc 2.5 Rubygems Installation cd $CYN_USR $CYN_USR/httpd/bin/apachectl restart 2.3 Ruby Installation cd $CYN_USR You can start/stop/restart your apache server with the following command: $CYN_USR/httpd/bin/apachectl start Tar zxvf $CYN_DOWNLOAD/httpd-2.2.21.tar.gz You can stop the MySQL daemon with: $CYN_USR/mysql/bin/mysqladmin -u root -p SHUTDOWN 2.2 Apache Http Server Installation cd $CYN_USR You can start the MySQL daemon with: $CYN_USR/mysql/bin/mysqld_safe & The “work” is your linux user name, and you will get the prompt as appendix 6.1 shows (OR ln -s mysql-5.1.60-linux-i686-glibc23 mysql in 32 bit system) (OR tar zxvf $CYN_DOWNLOAD/mysql-5.1. in 32 bit system) What’s more, we will use source code to install the left softwares.įile list You can find what’s in folder $CYN_DOWNLOAD in the appendix 6.3. Other softwares are the same in 32bit or 64bit, because the ruby is cross-platform. The only difference is the MySQL package, you should download a 32bit version, and the 32bit and 64bit version are in the same page of MySQL website. $CYN_DOWNLOAD is the folder where I downloaded executable files and packages.ģ2bit/64bit? The demo is tested under a 64bit operation system, and the 32bit operation system has the same steps. Steps 2.0 Add Environment Variable vim ~/.bashrcĪnd add the following lines: export CYN_USR="$HOME/usr"Īttention!!! You should NOT use $CYN_USR and $CYN_DOWNLOAD when you install redmine in your machine, it just an abbreviation of the full path, you should use the full path! $CYN_USR is the folder where the program installed, like the “Program Files” folder under Windows Opration System. You can chech your downloaded files with me, see appendix 6.3. Run the following commands to get some gem files: wget Red Hat Enterprise Linux AS release 4 (Nahant Update 3) 64bit Ruby on Rails, often shortened to Rails or RoR, is an open source web application framework for the Ruby programming language. Written using the Ruby on Rails framework, it is cross-platform and cross-database. Redmine is a flexible project management web application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |