Google Plus

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

Written by Mel Kham on . Posted in Linux tutorials

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

Mel Kham

Founder of Unixmen, Living in Amsterdam. Am working in my free time to help people to understand the Opensource and to explain them in easy way how to make the fist steps to the the light. Working day and night with my Co-founder Zinovsky to keep this website live even with less resources.

Like us on Facebook

This week Top Posts

Write for us

Recent Comments

Lolman

|

in cmd

Oliver

|

Do you think that it works on a Macbook Air 1,1?… ohh and, it must be installed in a different partition than Mac OS X, right?… can´t have i installed only Ubuntu on my hard drive?

Nova

|

I wonder if there is a way to create your own themes.

Red Adaya

|

Thank you! This worked for me!!!

 
IDG Tech Network
Copyright © 2008-2013 Unixmen.com .
Maintained by Anblik .