Koozali.org: home of the SME Server

I want 2 configure the yum.conf file in SME 7 pre1

Offline fixit

  • *
  • 216
  • +0/-0
    • http://www.fixitcomputers.com.au
I want 2 configure the yum.conf file in SME 7 pre1
« on: January 12, 2006, 12:22:25 PM »
How do I configure the yum.conf file in SME 7 pre1 to pick up files such as gcc, ImageMagick & netpbm, which also included dependencies as was done in previousebeta versions of 7

or how would I go about creating my own yum repository with files that I backed up from previouse beta 7 releases. If I do a yum install ImageMagick for example, from my own server locally, will it also include dependencies.

Thank, Russell
.........

Offline stefan24

  • *****
  • 483
  • +0/-0
    • www.sme-server.de
I want 2 configure the yum.conf file in SME 7 pre1
« Reply #1 on: January 12, 2006, 02:24:30 PM »
Code: [Select]
db yum_repositories setprop base status enabled
db yum_repositories setprop addons status enabled
db yum_repositories setprop base Visible yes
db yum_repositories setprop addons Visible yes

expand-template /etc/yum.conf


Afterwards you might want to disable these repositories again:

Code: [Select]
db yum_repositories setprop base status disabled
db yum_repositories setprop addons status disabled
expand-template /etc/yum.conf

Offline fixit

  • *
  • 216
  • +0/-0
    • http://www.fixitcomputers.com.au
I want 2 configure the yum.conf file in SME 7 pre1
« Reply #2 on: January 12, 2006, 03:02:09 PM »
Thank you, that worked, but tell me, why do i need to turn it back off after????

Thanks, Russell
.........

Offline stefan24

  • *****
  • 483
  • +0/-0
    • www.sme-server.de
I want 2 configure the yum.conf file in SME 7 pre1
« Reply #3 on: January 12, 2006, 09:36:55 PM »
The devs left out these repositories in the latest betas, so that a daily update cannot kill the current configuration.

Just imagine, that a new apache version is not fully compatible with the template system of the SME server and you will kill your server (or at least the access to it).

Offline fixit

  • *
  • 216
  • +0/-0
    • http://www.fixitcomputers.com.au
I want 2 configure the yum.conf file in SME 7 pre1
« Reply #4 on: January 13, 2006, 12:47:31 AM »
Thanks Stefan, I will turn them back off soon.

do you know how to create your own yum repositories, I want to store and backup all cached yum downloads, in the past I have been just been restoring the yum downloads to their original dirs\

Thanks, Russell
.........