Difference between revisions of "Metadot"
From SME Server
Jump to navigationJump to searchLine 58: | Line 58: | ||
#Metadot | #Metadot | ||
− | + | ||
ServerName www.fixitcomputers.com.au | ServerName www.fixitcomputers.com.au | ||
DocumentRoot "/home/e-smith/files/ibays/Primary/html/metadot/" | DocumentRoot "/home/e-smith/files/ibays/Primary/html/metadot/" | ||
Line 69: | Line 69: | ||
Alias /private/ /home/e-smith/files/ibays/Primary/html/sitedata/private/ | Alias /private/ /home/e-smith/files/ibays/Primary/html/sitedata/private/ | ||
Alias /userchannel.pl /home/e-smith/files/ibays/Primary/html/metadot/userchannel.pl | Alias /userchannel.pl /home/e-smith/files/ibays/Primary/html/metadot/userchannel.pl | ||
− | + | ||
<Directory "/home/e-smith/files/ibays/Primary/html/metadot"> | <Directory "/home/e-smith/files/ibays/Primary/html/metadot"> | ||
− | + | Options +Indexes +Includes +FollowSymLinks -MultiViews | |
− | + | AllowOverride All | |
− | + | SetHandler cgi-script | |
− | + | PerlHandler speedy::Registry | |
− | + | PerlSendHeader On | |
− | + | Options +ExecCGI | |
− | + | AddType application/.html .pl .pm .cgi | |
− | + | DirectoryIndex index.pl | |
</Directory> | </Directory> | ||
[[Category:Howto]] | [[Category:Howto]] |
Revision as of 15:25, 10 April 2007
Metadot 6.4.5.4 for SME Server 7
This How to is currently under construction
will continue soon
wget http://download.metadot.com/Metadot6.4.5.4.tar.gz
tar xvzf Metadot6.4.5.4.tar.gz
Setup Dag Repositories
/sbin/e-smith/db yum_repositories set dag repository \ Name 'Dag - EL4' \ BaseURL 'http://apt.sw.be/redhat/el4/en/$basearch/dag' \ EnableGroups no \ GPGCheck yes \ GPGKey http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt \ Visible yes \ Exclude freetype,htop,iptraf,rsync,syslinux \ status disabled
expand-template /etc/yum.conf
Installing Required Modules
yum -y --enablerepo=updates --enablerepo=addons install mod_perl gd ImageMagick ImageMagick-perl netpbm config setprop modPerl status enabled signal-event post-upgrade
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 -y
Create Database
cd /home/e-smith/files/ibays/youribay/html/default_data/
mysql -uroot mysql < createdbanduser4x.sql mysql -e "grant all privileges on metadotdb.* to metadot@localhost identified by 'yourpassword'" mysql -e "flush privileges" mysql -umetadot -pyourpassword metadotdb < sampledata.sql
Create a Template Fragement
pico 87Metadot
#Metadot ServerName www.fixitcomputers.com.au DocumentRoot "/home/e-smith/files/ibays/Primary/html/metadot/" Alias /images/ /home/e-smith/files/ibays/Primary/html/images/ Alias /js/ /home/e-smith/files/ibays/Primary/html/js/ Alias /index.pl /home/e-smith/files/ibays/Primary/html/metadot/index.pl Alias /public/ /home/e-smith/files/ibays/Primary/html/sitedata/public/ Alias /skins/ /home/e-smith/files/ibays/Primary/html/sitedata/skins/ Alias /htmlarea3/ /home/e-smith/files/ibays/Primary/html/js/htmlarea3/ Alias /private/ /home/e-smith/files/ibays/Primary/html/sitedata/private/ Alias /userchannel.pl /home/e-smith/files/ibays/Primary/html/metadot/userchannel.pl <Directory "/home/e-smith/files/ibays/Primary/html/metadot"> Options +Indexes +Includes +FollowSymLinks -MultiViews AllowOverride All SetHandler cgi-script PerlHandler speedy::Registry PerlSendHeader On Options +ExecCGI AddType application/.html .pl .pm .cgi DirectoryIndex index.pl </Directory>