LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to make Repository file in Red Hat Enterprise Linux 6.4 for running of yum (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-make-repository-file-in-red-hat-enterprise-linux-6-4-for-running-of-yum-4175533700/)

najamzia 02-11-2015 06:53 AM

How to make Repository file in Red Hat Enterprise Linux 6.4 for running of yum
 
Hello
I am working on Red Hat 6.4 Enterprise Server.Here commands systemctl and systemd are not working.Error comes command not found.I am using service command in place of systemctl to start,stop,enable and disable service etc.
example service httpd start
Also I am not able to install any software or package by using yum command.Whenever I try to install a package through yum the below error comes
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Repository 'repository_url': Error parsing config: Error parsing "baseurl = 'repository_url'": URL must be http, ftp, file or https not ""
Setting up Install Process
Nothing to do
Please advice some other commands or what to do.Regards Najam

jpollard 02-11-2015 08:16 AM

You will need to post the repository definition - it appears an error in the URL reference...

michaelk 02-11-2015 08:26 AM

RHEL 6.4 does not use systemd.

RHEL is not free. In order to install software you need to purchase a subscription.


All times are GMT -5. The time now is 01:22 AM.