Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: moo2 on August 08, 2012, 11:09:59 AM

Title: Newbiequesten about "db yum_repositories"
Post by: moo2 on August 08, 2012, 11:09:59 AM
Hi guys,

I read the wiki of how to install sogo on sme server 8.
http://wiki.contribs.org/Sogo

It says:

Quote
db yum_repositories set sogo repository \
     BaseURL http://inverse.ca/downloads/SOGo/RHEL5/i386 \
     EnableGroups yes \
     GPGCheck no \
     Name "Inverse SOGo Repository" \
     Visible yes \
     status disabled

But I don't understand where I can find those entries after I wrote them down on the command line.
What if I accidently make a typo - how could I correct my mistake?

Sorry I'm not familiar with databases and I'm not even sure if the instuctions above make a database entry somewhere.

OK, maybe I shouldn't do something I don't even know I'm doing - but that's the reason I'm asking :)

Does the sample above create a "textfile" somewhere (if so where) I can later edit via VI or how can I make changes later?

Sorry for that stupid qustion but I wasn't able to answer the question myself and didn't find the answer while searching. Maybe someone could explain it, or give me a link to an explanation :)

Thank you.
Title: Re: Newbiequesten about "db yum_repositories"
Post by: _alex on August 08, 2012, 11:30:42 AM
Code: [Select]
db yum_repositories get sogo
Have a look here:
http://wiki.contribs.org/SME_Server:Documentation:Developers_Manual:Section2 (http://wiki.contribs.org/SME_Server:Documentation:Developers_Manual:Section2)
Title: Re: Newbiequesten about "db yum_repositories"
Post by: janet on August 08, 2012, 12:22:56 PM
moo2

Also see
http://wiki.contribs.org/Db_command_tutorial

and this (which is applicable to sme7 but the same concepts still apply to sme8)
http://wiki.contribs.org/SME_Server:Documentation:FAQ#Adding.2C_removing_or_disabling_repositories

Quick starter for you, use these commands

db yum_repositories show |more
(then press space or enter to scroll down)

db yum_repositories show sogo

To correct any mistake use the delete or delprop option and then re-enter the command CORRECTLY

The documents you have been referred to should answer your questions.
Title: Re: Newbiequesten about "db yum_repositories"
Post by: moo2 on August 08, 2012, 01:21:22 PM
Thank you very much for your help and the links :)

Sorry for not finding the right Documentations myself :(