Changes

Jump to navigation Jump to search
114 bytes added ,  21:05, 2 November 2013
Line 1: Line 1: −
== Metadot 6.4.5.4 for SME Server 7 ==
  −
  −
'''This How to is currently under construction'''
  −
  −
will continue soon
  −
   
== Maintainer ==
 
== Maintainer ==
   Line 20: Line 14:  
It runs primarily on Linux, Apache, MySQL and Perl and supports Sun Solaris, Windows OSes and Oracle database.
 
It runs primarily on Linux, Apache, MySQL and Perl and supports Sun Solaris, Windows OSes and Oracle database.
   −
  −
'''NOTE''', for this howto I am using '''youribay''' as an example, replace youribay with your own choice
      
russell@fixitcomputers.com.au
 
russell@fixitcomputers.com.au
    +
[http://forums.contribs.org/index.php?topic=36617.0 Forum Discussion]
      Line 50: Line 43:     
== Setup Dag Repositories ==
 
== Setup Dag Repositories ==
{{Repository|Dag}}
+
You need to activate the [[Dag]] reposity before installing this contrib.<br />
 +
 
 +
see [[dag|dag repository]] <br />
    
== Installing Required Modules ==
 
== Installing Required Modules ==
Line 63: Line 58:  
== Installing Required Perl Modules ==
 
== Installing Required Perl Modules ==
   −
  yum --enablerepo=base --enablerepo=updates --enablerepo=addons --enablerepo=dag install perl-GD perl-GD-Graph perl-GD-Graph3d perl-GD-Text-Util perl-Date-Pcalc perl-Email-Valid perl-Apache-DBI perl-AppConfig perl-Archive-Tar perl-Archive-Zip perl-Bit-Vector perl-CGI-SpeedyCGI perl-Compress-Zlib perl-Data-Compare perl-Date-Calc perl-ExtUtils-PkgConfig perl-File-Find-Rule perl-File-HomeDir perl-HTML-Format perl-HTML-Template perl-HTML-Tree perl-Image-Base perl-Image-Size perl-Lingua-EN-NameParse perl-LWP-UserAgent-Determined perl-Mail-POP3Client perl-MailTools perl-HTTP-BrowserDetect perl-HTTP-Server-Simple perl-HTTP-Request-Form perl-HTTP-DAV perl-MIME-tools perl-Number-Compare perl-Number-Format perl-OLE-Storage_Lite perl-Parse-RecDescent perl-Pod-POM perl-Spreadsheet-WriteExcel perl-Template-Toolkit perl-Test-Builder-Tester perl-Test-Manifest perl-Test-Simple perl-Test-SimpleUnit perl-Text-Autoformat perl-Text-CSV_XS perl-Unicode-String perl-XML-Dumper perl-XML-RSS perl-XML-Simple
+
  yum install\
 +
--enablerepo=base \
 +
--enablerepo=updates \
 +
--enablerepo=addons \
 +
--enablerepo=dag install \
 +
perl-GD perl-GD-Graph perl-GD-Graph3d perl-GD-Text-Util \
 +
perl-Date-Pcalc perl-Email-Valid perl-Apache-DBI \
 +
perl-AppConfig perl-Archive-Tar perl-Archive-Zip \
 +
perl-Bit-Vector perl-CGI-SpeedyCGI perl-Compress-Zlib \
 +
perl-Data-Compare perl-Date-Calc perl-ExtUtils-PkgConfig \
 +
perl-File-Find-Rule perl-File-HomeDir perl-HTML-Format \
 +
perl-HTML-Template perl-HTML-Tree perl-Image-Base \
 +
perl-Image-Size perl-Lingua-EN-NameParse \
 +
perl-LWP-UserAgent-Determined perl-Mail-POP3Client \
 +
perl-MailTools perl-HTTP-BrowserDetect perl-HTTP-Server-Simple \
 +
perl-HTTP-Request-Form perl-HTTP-DAV \
 +
perl-MIME-tools perl-Number-Compare perl-Number-Format \
 +
perl-OLE-Storage_Lite perl-Parse-RecDescent perl-Pod-POM \
 +
perl-Spreadsheet-WriteExcel perl-Template-Toolkit \
 +
perl-Test-Builder-Tester perl-Test-Manifest perl-Test-SimpleUnit \
 +
perl-Text-Autoformat perl-Text-CSV_XS perl-Unicode-String \
 +
perl-XML-Dumper perl-XML-RSS perl-XML-Simple
    
== Create Database ==
 
== Create Database ==
Line 111: Line 127:  
  </Directory>
 
  </Directory>
 
   
 
   
Save by pressing Ctrl x, press y to save changes and press enter
  −
  −
expand-template /etc/httpd/conf/httpd.conf
  −
  −
/etc/rc.d/init.d/httpd-e-smith restart
  −
  −
== Adding index.pl to DirectoryIndex ==
  −
  −
modify 50DirectoryIndex00 to include index.pl
  −
  −
cp /etc/e-smith/templates/etc/httpd/conf/httpd.conf/50DirectoryIndex00 /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
  −
  −
cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
  −
  −
pico 50DirectoryIndex00
  −
Add '''index.pl'''
  −
# DirectoryIndex: Name of the file or files to use as a pre-written HTML
  −
# directory index.  Separate multiple entries with spaces.
  −
  −
DirectoryIndex index.htm index.html index.shtml index.cgi '''index.pl'''
  −
   
Save by pressing Ctrl x, press y to save changes and press enter
 
Save by pressing Ctrl x, press y to save changes and press enter
   Line 152: Line 147:  
  Line 108 change to /opt/metadot/sitedata/skins
 
  Line 108 change to /opt/metadot/sitedata/skins
   −
== WARNING Performance configuration ==
+
== Performance configuration ==
   −
'''If you don't do this configuration, your metadot site will be extremely poor.'''
+
{{Warning box|If you don't do this configuration, your metadot site will be extremely poor.}}
    
  cd /opt/metadot/metadot
 
  cd /opt/metadot/metadot
    
edit index.pl and change the top line from #!/usr/bin/perl to #!/usr/bin/speedy. This needs to be done to all .pl files in the metadot/
 
edit index.pl and change the top line from #!/usr/bin/perl to #!/usr/bin/speedy. This needs to be done to all .pl files in the metadot/
 +
 +
index.pl
 +
 +
md_clean.pl
 +
 +
metadotd.pl
 +
 +
soap.pl
 +
 +
startup.pl
 +
 +
userchannel.pl
 +
 +
smoke
    
'''Example'''
 
'''Example'''
Line 202: Line 211:  
[[Image:Metadot_config.png]]
 
[[Image:Metadot_config.png]]
   −
then select modify params
+
then select, Modify next to the System params as seen in screen shot
    
[[Image:Metadot_params.png]]
 
[[Image:Metadot_params.png]]
Line 214: Line 223:  
scroll down to bottom of page and press save
 
scroll down to bottom of page and press save
   −
Russell Taihn
+
Your Metadot Portal is now ready for to use, '''Enjoy'''
email: russell@fixitcomputers.com.au
+
 
 +
== Note ==
 +
 
 +
I will add instruction on how to add a virtual host for Metadot soon, some hints if you are attempting virtual host, you will need to modify createdbanduser4x.sql & sampledata.sql found in the /metadot/default_data
 +
 
 +
edit createdbanduser4x.sql and change create database metadotdb; to create database metadotvhdb; save changes
 +
 
 +
mysql -uroot mysql < createdbanduser4x.sql
 +
 
 +
mysql -e "grant all privileges on metadotvhdb.* to metadotvh@localhost identified by 'yourpassword'"
 +
 
 +
mysql -e "flush privileges"
 +
 
 +
mysql -umetadotvh -pyourpassword metadotvhdb < sampledata.sql
 +
 
 +
 
 +
 
 +
 
 +
[mailto:russell@fixitcomputers.com.au?subject=Metadot Russell Taihn]
 +
 
    
[[Category:Howto]]
 
[[Category:Howto]]
 +
[[Category:CMS]]

Navigation menu