Tag: etc/sysconfig/rhn/sources

Help me to edit my /etc/sysconfig/rhn/sources file on a Godaddy dedicated server?

Posted by – Juni 24, 2010

Hi, I am trying to edit a file on the root directory on my server. It is a dedicated server on godaddy. I have version CentOS release 4.4 (Final) i686 i386 GNU/Linux and the kernel is 2.6.9-42.0.10.EL and Apache (web server)
Version: 2.0.52-28.ent.centos4

I have PuttY and CuteFTP Pro as well as the Simple Control Panel (Godaddy’s Simple Control Panel)

How can I gain permissions to edit that source file (or any other file in the root)?

I am familiar with the su – root command but I can’t find where to use it in CuteFTP.

In PuttY I can gain root permissions but don’t see a feature to edit and save a file like the FTP view of CuteFTP.

In Godaddy’s Simple Control Panel I don’t see any option to let me do any sort of an edit and save the changes I made to a file.

Help please, I am just learning!

Please help me with my centOS server file etc/sysconfig/rhn/sources ?

Posted by – Juni 18, 2010

Hi, I am trying to run an up2date command in PuttY via SSH logged on under root permissions. I looked in my etc/sysconfig/rhn/sources file and it has http://mirror.centos.org/centos/4/os/$ARCH/ for the base and similar URL’s for updates, addons and extras. My question is what do I put in the sources file in place of those URL’s? And where it says $ARCH what do I put there? I am trying to do a YUM update via the up2date command and it says no packages available.I know there are security patches, extras and addons. I have version CentOS release 4.4 (Final) i686 i386 GNU/Linux and the kernel is 2.6.9-42.0.10.EL and Apache (web server)
Version: 2.0.52-28.ent.centos4

Can someone please show me what to put in here or how to do an RPM update for all updates needed and a list of mirrors to the repositories?

Thank you sooooooooo much !


Powered by Yahoo! Answers