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

by
Share this Article: Facebook0Google+0Twitter0LinkedIn0Reddit0Pinterest0StumbleUpon0Digg

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}

For questions please refer to our Q/A forum at : http://ask.unixmen.com/

Share this Article: Facebook0Google+0Twitter0LinkedIn0Reddit0Pinterest0StumbleUpon0Digg