Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: fpcomputers on March 09, 2011, 04:07:08 PM

Title: where to place code
Post by: fpcomputers 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
Title: Re: where to place code
Post by: Stefano on March 09, 2011, 04:27:44 PM
can you please tell us what are you trying to achieve?
Title: Re: where to place code
Post by: fpcomputers 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
Title: Re: where to place code
Post by: Stefano on March 09, 2011, 05:30:17 PM
ok

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