Changes

Jump to navigation Jump to search
94 bytes removed ,  16:41, 22 November 2007
Line 24: Line 24:       −
==== Setup CentOS Testing Repository ====
+
==== Download Ruby 1.8.6 ====
   −
{{Warning box|The CentOS testing repository contains bleeding edge packages which are not released as stbale and are still subject to testing.}}
+
wget http://ajay.ws/assets/2007/4/7/ruby-1.8.6-1.i386.rpm \
  db yum_repositories set centos-testing repository \
+
  http://ajay.ws/assets/2007/4/7/ruby-devel-1.8.6-1.i386.rpm \
  BaseURL http://dev.centos.org/centos/4.3/testing/i386/ \
+
  http://ajay.ws/assets/2007/4/7/ruby-docs-1.8.6-1.i386.rpm \
  Name 'CentOS - testing' \
+
  http://ajay.ws/assets/2007/4/7/ruby-irb-1.8.6-1.i386.rpm \
  Visible yes \
+
  http://ajay.ws/assets/2007/4/7/ruby-libs-1.8.6-1.i386.rpm\
  GPGKey http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing \
+
  http://ajay.ws/assets/2007/4/7/ruby-mode-1.8.6-1.i386.rpm \
  GPGCheck yes \
+
  http://ajay.ws/assets/2007/4/7/ruby-ri-1.8.6-1.i386.rpm \
  status disabled
+
  http://ajay.ws/assets/2007/4/7/ruby-tcltk-1.8.6-1.i386.rpm
   −
Regenerate the '''yum.conf''' file:
+
  yum localinstall ruby*
 
  −
expand-template /etc/yum.conf
  −
 
  −
  yum --enablerepo=centos-testing install ruby*.*
      
== Ruby Gems Installation ==
 
== Ruby Gems Installation ==
Line 49: Line 45:  
  cd /downloads
 
  cd /downloads
   −
  wget http://rubyforge.org/frs/download.php/20989/rubygems-0.9.4.tgz
+
  wget http://rubyforge.org/frs/download.php/28174/rubygems-0.9.5.tgz
   −
  tar xzvf rubygems-0.9.4.tgz
+
  tar xzvf rubygems-0.9.5.tgz
   −
  cd /downloads/rubygems-0.9.4
+
  cd /downloads/rubygems-0.9.5
    
  ruby setup.rb
 
  ruby setup.rb
Line 75: Line 71:  
  gem install mongrel --include-dependencies
 
  gem install mongrel --include-dependencies
   −
'''Select 2'''
  −
   
  Select which gem to install for your platform (i386-linux)
 
  Select which gem to install for your platform (i386-linux)
1. mongrel 1.0.1 (mswin32)
+
  1. mongrel 1.1.1 (java)
'''2. mongrel 1.0.1 (ruby)'''
+
  '''2. mongrel 1.1.1 (ruby)'''
3. mongrel 1.0 (mswin32)
+
  3. mongrel 1.1.1 (mswin32)
4. mongrel 1.0 (ruby)
+
  4. mongrel 1.1 (java)
5. Skip this gem
+
  5. mongrel 1.1 (ruby)
6. Cancel installation
+
  6. mongrel 1.1 (mswin32)
 +
  7. Skip this gem
 +
  8. Cancel installation
 
  > 2
 
  > 2
  −
'''Select 1'''
   
    
 
    
  Select which gem to install for your platform (i386-linux)
+
  Select '''2. mongrel 1.1.1 (ruby)'''
''' 1. fastthread 1.0 (ruby)'''
  −
2. fastthread 1.0 (mswin32)
  −
3. fastthread 0.6.4.1 (mswin32)
  −
4. fastthread 0.6.4.1 (ruby)
  −
5. Skip this gem
  −
6. Cancel installation
  −
> 1
      
  gem install mongrel_cluster --include-dependencies
 
  gem install mongrel_cluster --include-dependencies
Line 110: Line 97:     
  ruby setup.rb config
 
  ruby setup.rb config
ruby setup.rb setup
   
  ruby setup.rb install
 
  ruby setup.rb install
   Line 126: Line 112:     
To install metadot 7, we need to get the root password. copy and past the root password using the following commands
 
To install metadot 7, we need to get the root password. copy and past the root password using the following commands
 +
 +
chown -R www.www /opt/metadot7
 +
 +
chmod 750 /opt/metadot7
 +
 +
chmod 755 install
    
   
 
   
 +
Example:
 +
'''./install --no-tests metadot metadotuser metadotpass'''
 +
 +
Note: If the databases exists, they will be dropped first and then created again.
   −
./install --no-tests '''mwiki''' '''xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'''
      
  cd /opt/metadot7/metadot-rails
 
  cd /opt/metadot7/metadot-rails
Line 145: Line 140:     
[mailto:russell@fixitcomputers.com.au?subject=Metadot Russell Taihn]
 
[mailto:russell@fixitcomputers.com.au?subject=Metadot Russell Taihn]
  −
  −
[[Category:Howto]]
 
276

edits

Navigation menu