Koozali.org: home of the SME Server

where to place code

Offline fpcomputers

  • *
  • 8
  • +0/-0
    • http://www.fpcomputers.biz
where to place code
« on: March 09, 2011, 04:07:08 PM »
Can someone please tell me where I need to place the code fotr yum?
-- Pointing repositories to SME 8
Update the MirrorList property to point to the sme8 lists...

db yum_repositories print | grep '^sme' | cut -d= -f1 | while read repo
do
    db yum_repositories setprop $repo MirrorList \
    http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/$repo-8
done
Expand your yum.conf...

Regards,
Fred
...

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: where to place code
« Reply #1 on: March 09, 2011, 04:27:44 PM »
can you please tell us what are you trying to achieve?

Offline fpcomputers

  • *
  • 8
  • +0/-0
    • http://www.fpcomputers.biz
Re: where to place code
« Reply #2 on: March 09, 2011, 05:19:14 PM »
I've upgraded my 7.5.1 server to version 8 Beta 6.
When reading the installayion instructions I need to perform the above steps.
see the info below:

Yum
Check for known issues, here SME8.0 QA and at open bugs for SME 8 in bugzilla.

Note especially Bug 5316, detach all USB drives, ie your backup

Pointing repositories to SME 8
Update the MirrorList property to point to the sme8 lists...

db yum_repositories print | grep '^sme' | cut -d= -f1 | while read repo
do
    db yum_repositories setprop $repo MirrorList \
    http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/$repo-8
done
Expand your yum.conf...

/etc/e-smith/events/actions/generic_template_expand yum-modify

By the way my yum is not updating at the moment.
Fred
...

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: where to place code
« Reply #3 on: March 09, 2011, 05:30:17 PM »
ok

you need to log in via ssh using root user, then follow the howto