Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: wallyrp on July 22, 2006, 07:20:22 PM
-
Good Afternoon,
I was wondering if anyone had successfully installed Metadot on SME7 yet? I've attempted to follow ergozd's excellent how-to ( http://mirror.contribs.org/smeserver/contribs/ergozd/HowTos/metadot/metadot6x.htm ) that he made for SME6 but am running into some difficulties with files no longer being here or there. Anyone?
-
Looks like Russel made a script for it
http://www.fixitcomputers.com.au/downloads/metadot6.4.5_install.sh
I haven't tried it myself so use it AT YOUR OWN RISK. 8-)
-
Hi
I'm not getting past this point.
the default_dat is not in this locations, however I've created it
I'm not sure I understand these lines as I'm getting errors like no such file or directory etc.
Here is part of the instruction for installing this script which I'm stuck on
Create a Metadot Database
cd /home/e-smith/files/ibays/Primary/html/default_data/
[root@server default_data]# mysql -uroot mysql < createdbanduser4x.sql
[root@server default_data]# mysql -uroot mysql
mysql> update user set password = password('yourpassword') where user = 'metadot';
mysql > flush privileges;
mysql > quit
Next, load the default data into the database.
mysql -umetadot -pyourpassword metadotdb < sampledata.sql
I'm likely not inputing the information correctly
Please clarrify this subject
Thanks
-
These are the commands I use to load Metadot into the database, If you are using MySQL 5, modifications need to be applied to the Metadot DB.
If you are still getting errors when loading database could you post them here, we might be able to help you better if we have a error message.
Try these commands below, remember to change "yourpassword" to the password of your chioce.
cd /home/e-smith/files/ibays/Primary/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
Good Luck, Russell
P.S. Working on an updated Metadot Howto, hopefully should be finished soon
-
Thanks for the help
I'm curious before I do this process.
Can this be done in an ibay instead? I'm haveing second thought about using my Primary for this ?
Please advise with further instructions if known ?
Thanks
-
Can this be done in an ibay instead? I'm haveing second thought about using my Primary for this ?
You can put this in an ibay of your choice
-
Thanks this helps
So now what do I do with my partially installed Metadot that was installed using the script, that has installed into ?
I think the script just installs it into the main parts of the SME box and not really into my Primary or other ibay.
I'm guess I'm trying to figure out if I should complete the install into my primary ibay as the script is trying to do or should I start over and attempt to install into an ibay ?
I'm confused on how I should proceed ?
Thanks
-
What script version are you using.
If you don't want to install Metadot into primary ibay than do not use the script. Do a manual install of Metadot into the ibay of your choice
What ibay do you want to install metadot into, I might be able to help you out by providing you with a custom installation howto.
I would recomment to download this file from Metadot to help with your installation, it will check for modules and download required dependencies needed for Metadot on SME 7.
Note: This does not install Metadot, only downloads required files.
http://www.metadot.com/public/smeserver-metadot.6.4.5.4.sh
or wget from command console
wget http://www.metadot.com/public/smeserver-metadot.6.4.5.4.sh
Russell
-
http://www.metadot.com/public/smeserver-metadot.6.4.5.4.sh
Curious. Your script requests users to reboot at completion yet you issue a post-upgrade event automatically? I'd suggest you leave both events up to the user and request a signal-event post-upgrade; reboot together at the end. Similar to what yum does by SME default.
Darrell
-
And better would be to not enable and then disable the config settings for yum, simply...
yum --enablerepo=base yum --enablerepo=addons install...etc
-
and also,
/etc/rc.d/init.d/httpd-admin restart
/etc/rc.d/init.d/httpd-e-smith restart
should be...
svc -t /service/httpd-admin
svc -t /service/httpd-e-smith
you run the risk of starting unsupervised services