How to disable DVD and enable the Mandriva online repositories| Mandriva2010


Please shareShare on Facebook0Share on Google+0Tweet about this on Twitter0Share on LinkedIn0Share on Reddit0Digg thisShare on StumbleUpon0Share on VKBuffer this page

By default, Mandriva 2010.0 uses the installation DVD as its only software repository which is inconvenient if the server is in a remote location.    
1- Therefore we disable the DVD and enable the Mandriva online repositories:

urpmi.removemedia -a && urpmi.addmedia --distrib --mirrorlist

2- Now we create a script /etc/cron.daily/mandriva_update that will autmatically be run by cron daily and looks for and installs the latestsoftware updates on your Mandriva 2010.0 system. The script looks like this:

vi /etc/cron.daily/mandriva_update

urpmi --auto-update --update  --auto

3- Make it executable :

chmod 755 /etc/cron.daily/mandriva_update

{loadposition user9}

Related Articles By Tags:

{loadposition user1}