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

by

Please shareShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInShare on RedditDigg thisShare on StumbleUpon

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


#!/bin/bash
urpmi --auto-update --update  --auto

3- Make it executable :

chmod 755 /etc/cron.daily/mandriva_update

{loadposition user9}

Related Articles By Tags:

{loadposition user1}