
- #Yum groupinstall mysql database server how to#
- #Yum groupinstall mysql database server install#
- #Yum groupinstall mysql database server download#
#Yum groupinstall mysql database server how to#
If you are interested in installing the full LAMP stack, refer to our earlier article on how to install/upgrade LAMP using yum.
#Yum groupinstall mysql database server install#
Instead of searching and installing mysql and related packages one-by-one, it is better to install MySQL using yum groups. In this article, let us review how to install MySQL on CentOS using yum. Rename dispatch CGI files in /var/www/redmine/public/ ¶Īpache Settings ¶ Edit. Uncomment the following line in file redmine/config/environment.rb: ENV ||= 'production' Generate the session store ¶ RAILS_ENV=production bundle exec rake generate_session_store Migrate the database models ¶ RAILS_ENV=production bundle exec rake db:migrate Load default data (optional) ¶ RAILS_ENV=production bundle exec rake redmine:load_default_dataįollow instructions. Install the provided dependencies: ¶ bundle install OPTIONAL: Set the production environment ¶ Gem "RedCloth", "~>4.2.3", :require => "redcloth" # for CodeRay Put the following into the file you just opened: Nano /var/www/redmine/Gemfile Register gems ¶ You can of course use vi/vim as your editor of choice, if you know what you are doing. Install ¶ gem install bundler Create Gemfile ¶ Rails Settings ¶ Dependency management with bundler ¶įor more info go to the bundler site. Also the user has the rights to work on the database that was created. Now the database is created and a user to be used with it. Skip the 'create user' step and do instead: grant all privileges on redmine.* to identified by 'my_password' Grant all privileges on redmine.* to For versions of MySQL prior to 5.0.2 ¶ Start the mysql client ( mysql -u root -p) and enter the following commands: create database redmine character set utf8 Ĭreate user identified by 'my_password' usr/bin/mysql_secure_installation Create a MySQL database to use with Redmine ¶ Latest MySQL Version ¶ More information can be found here: HowTo configure Apache to run Redmine Link Redmine to the Database ¶ Install MySQL DB Server ¶ yum install mysql-server wget # GET LATEST VERSION ON RUBYFORGE Untar ¶ tar zxvf redmine-1.3.2.tar.gz Copy the folder to its HTTP document root folder ¶ mkdir /var//var/www/redmine Configure Apache to host the documents ¶
#Yum groupinstall mysql database server download#
Yum install mod_passenger Restart Apache ¶ service httpd restart Install Redmine ¶ Download ¶ Install mod_passenger RPM for Apache from the following location: The install process is interactive and you wil be told what to do. So you can execute it like /usr/local/bin/passenger-install-apache2-module. If the second line does not work, do whereis passenger to find out where it is installed.

the solution is again creating a symlink, analogical like described in the ruby section above. Ruby setup.rb Check installation ¶ gem -v In case this does not work. Ruby -v # NOW IT MUST RETURN RUBY VERSION, ELSE SOMETHING ELSE IS BROKENĭoes not work with Gems 1.5! Download ¶ wget Untar ¶ tar zxvf rubygems-1.4.2.tgz Setup ¶ cd rubygems-1.4.2 Which returns like /usr/bin/ along with other directories (where ruby is expected to be), and whereis returns like /usr/local/bin/ruby (thats where ruby actually lies). Whereis ruby # TO CHECK WHERE IT IS INSTALLED Ruby -v Fix dependencies with a symlink ¶ If it works, skip directly to "Get Gems 1.4.2".

If this does not work, it is probably because there is no ruby at /usr/bin to be found. Things after *#* are comments, and it is no use to type this stuff in )įtp> 'none', just hit Enter # NO PASSWORDįtp> get ruby-1.8.7. # XXX is currently 358, as of 03/2012įtp> bye Untar ¶ tar zxvf ruby-1.8.7. Install ¶ cd ruby-1.8.7.pXXX

Install pre-dependencies ¶ yum -y install zlib-devel curl-devel openssl-devel httpd-devel apr-devel apr-util-devel mysql-devel Ruby ¶
