Difference between revisions of "Metadot-7-beta"

From SME Server
Jump to navigationJump to search
 
(17 intermediate revisions by 3 users not shown)
Line 24: Line 24:
  
  
==== Setup CentOS Testing Repository ====
+
==== Download Ruby 1.8.6 ====
  
 +
wget http://ajay.ws/assets/2007/4/7/ruby-1.8.6-1.i386.rpm \
 +
http://ajay.ws/assets/2007/4/7/ruby-devel-1.8.6-1.i386.rpm \
 +
http://ajay.ws/assets/2007/4/7/ruby-docs-1.8.6-1.i386.rpm \
 +
http://ajay.ws/assets/2007/4/7/ruby-irb-1.8.6-1.i386.rpm \
 +
http://ajay.ws/assets/2007/4/7/ruby-libs-1.8.6-1.i386.rpm\
 +
http://ajay.ws/assets/2007/4/7/ruby-mode-1.8.6-1.i386.rpm \
 +
http://ajay.ws/assets/2007/4/7/ruby-ri-1.8.6-1.i386.rpm \
 +
http://ajay.ws/assets/2007/4/7/ruby-tcltk-1.8.6-1.i386.rpm
  
  db yum_repositories set centos-testing repository \
+
  yum localinstall ruby*
BaseURL http://dev.centos.org/centos/4.3/testing/i386/ \
 
Name 'CentOS - testing' \
 
Visible yes \
 
GPGKey http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing \
 
GPGCheck yes \
 
status disabled
 
 
 
Regenerate the '''yum.conf''' file:
 
 
 
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
  
 
== Downlaoding & Installing Metadot 7 ==
 
== Downlaoding & Installing Metadot 7 ==
  
  mkdir /usr/local/src/metadot7
+
  mkdir /opt/metadot7
  
  cd /usr/local/src/metadot7
+
  cd /opt/metadot7
  
  wget http://www.fixitcomputers.com.au/downloads/metadot_7/testing/metadot-sme-linux-7.0.1.tar.gz
+
  wget http://www.fixitcomputers.com.au/downloads/metadot_7/sme-metadot.7.1.0.tar.gz
  
  tar xzvf metadot-sme-linux-7.0.1.tar.gz
+
  tar xzvf sme-metadot.7.1.0.tar.gz
  
mv /usr/local/src/metadot7/ /opt/metadot7/
+
== Install Metadot 7 ==
  
== Database Setup ==
+
To install metadot 7, we need to get the root password. copy and past the root password using the following commands
  
  mysqladmin create mwiki
+
  chown -R www.www /opt/metadot7
  
  mysql -e "grant all privileges on mwiki.* to mwikiuser@localhost identified by 'mwikipass'"
+
  chmod 750 /opt/metadot7
  
  mysqladmin create mwiki_development
+
  chmod 755 install
  
  mysql -e "grant all privileges on mwiki_development.* to mwikiuser@localhost identified by 'mwikipass'"
+
   
 +
Example:
 +
'''./install --no-tests metadot metadotuser metadotpass'''
  
mysqladmin create mwiki_production
+
Note: If the databases exists, they will be dropped first and then created again.
  
mysql -e "grant all privileges on mwiki_production.* to mwikiuser@localhost identified by 'mwikipass'"
 
 
mysqladmin create mwiki_test
 
 
mysql -e "grant all privileges on mwiki_test.* to mwikiuser@localhost identified by 'mwikipass'"
 
 
== Install Metadot 7 ==
 
 
./install --no-tests mwiki mwikiuser mwikipass
 
  
 
  cd /opt/metadot7/metadot-rails
 
  cd /opt/metadot7/metadot-rails
Line 151: Line 130:
 
  ruby script/server
 
  ruby script/server
  
go to http://192.168.1.1:3000/
+
go to http://servername-or-192.168.1.1:3000/
  
 
Initial login:
 
Initial login:
Line 161: Line 140:
  
 
[mailto:russell@fixitcomputers.com.au?subject=Metadot Russell Taihn]
 
[mailto:russell@fixitcomputers.com.au?subject=Metadot Russell Taihn]
 
 
[[Category:Howto]]
 

Latest revision as of 15:41, 22 November 2007

Warning.png Warning:
Be aware: This HowTo installs a beta packages, only do this if you would like to test the application. It will also configure the CentOS-testing repository. Packages from this repository are not considered to be stable.



Incomplete.png Incomplete:
This article or section needs to be expanded. Please help to fill the gaps or discuss the issue on the talk page


Metadot v7 is a complete rewrite in Ruby on Rails

Metadot 7 is the easiest-to-use, most intuitive content management system, portal server, wiki or site builder that you can find (or whatever the latest name is) and also the most fit for work group collaboration and organizations of all sizes.

• Clean and clear interface • Content drag and drop • Easy theme (skin) editing for professional looking web sites • Powerful permission system • Search engine friendliness • RSS for most functionalities

Metadot 7 is open source as before and will be available to download in the near future.

This is still in Beta, I will be posting the installation methodes soon


Important.png Note:
This is work in progress


Ruby Installation

yum install gcc-c++ libxml2-devel bzip2-devel curl-devel


Download Ruby 1.8.6

wget http://ajay.ws/assets/2007/4/7/ruby-1.8.6-1.i386.rpm \
http://ajay.ws/assets/2007/4/7/ruby-devel-1.8.6-1.i386.rpm \
http://ajay.ws/assets/2007/4/7/ruby-docs-1.8.6-1.i386.rpm \
http://ajay.ws/assets/2007/4/7/ruby-irb-1.8.6-1.i386.rpm \
http://ajay.ws/assets/2007/4/7/ruby-libs-1.8.6-1.i386.rpm\
http://ajay.ws/assets/2007/4/7/ruby-mode-1.8.6-1.i386.rpm \
http://ajay.ws/assets/2007/4/7/ruby-ri-1.8.6-1.i386.rpm \
http://ajay.ws/assets/2007/4/7/ruby-tcltk-1.8.6-1.i386.rpm
yum localinstall ruby*

Ruby Gems Installation

Create a downloads directory

mkdir downloads
cd /downloads
wget http://rubyforge.org/frs/download.php/28174/rubygems-0.9.5.tgz
tar xzvf rubygems-0.9.5.tgz
cd /downloads/rubygems-0.9.5
ruby setup.rb
gem install rails --include-dependencies

Note, the above command may need to be run more than once if the below error message is displayed, could be 3 times if required

Bulk updating Gem source index for: http://gems.rubyforge.org ERROR: While executing gem ... (Gem::GemNotFoundException) Could not find rails (> 0) in any repository

Check to see if rails installed succesfully

rails -v

if Rails 1.2.3, then proceed to install other required gems

gem install capistrano --include-dependencies
gem install mongrel --include-dependencies
Select which gem to install for your platform (i386-linux)
 1. mongrel 1.1.1 (java)
 2. mongrel 1.1.1 (ruby)
 3. mongrel 1.1.1 (mswin32)
 4. mongrel 1.1 (java)
 5. mongrel 1.1 (ruby)
 6. mongrel 1.1 (mswin32)
 7. Skip this gem
 8. Cancel installation
> 2
 
Select 2. mongrel 1.1.1 (ruby)
gem install mongrel_cluster --include-dependencies
gem install --remote rake
cd ..
wget http://rubyforge.org/frs/download.php/12368/dbi-0.1.1.tar.gz 
tar xzvf dbi-0.1.1.tar.gz
cd ruby-dbi
ruby setup.rb config
ruby setup.rb install

Downlaoding & Installing Metadot 7

mkdir /opt/metadot7
cd /opt/metadot7
wget http://www.fixitcomputers.com.au/downloads/metadot_7/sme-metadot.7.1.0.tar.gz
tar xzvf sme-metadot.7.1.0.tar.gz

Install Metadot 7

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.


cd /opt/metadot7/metadot-rails
ruby script/server

go to http://servername-or-192.168.1.1:3000/

Initial login:

email: admin@yoursite.com

password: admin123


Russell Taihn