I have a test server using RedHat 7.2 "Basic web Server" option, no addon.
After installation things seems to work, except for the subscription, and without this I cannot do yum search somepackage or yum install somepackage.
I did
subscription-manager register --username MYEMAIL --password MYPASSWORD --auto-attach
That did not fix the issue.
[root#myserver~]# subscription-manager attach --auto
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux Server
Status: Not Subscribed
Unable to find available subscriptions for all your installed products.
I can tell from "https://access.redhat.com/management/consumers" that I have other Redhat systems which successfully subscribed to
"Red Hat Enterprise Linux Developer Suite" "Self-Support"
Any idea why?
Related
I'm currently trying to install a web solution on a RHEL 8 distribution.
But I can't install apache2 (httpd) :
I search on Google but didn't find anything, and I didn't know RHEL, it's the first time
Thanks
Your issue is not httpd, the issue is you have to register your system into Red Hat. See these instructions.
there is a step-by-step to register your RHEL
System Registration from the command line
In the terminal window, start a root shell:
$ sudo bash
Next, register your system with Red Hat Subscription Management:
# subscription-manager register --auto-attach
Enter your Red Hat username and password. When registration has completed, you’ll see:
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux for x86_64
Status: Subscribed
Check that you now have the BaseOS and AppStream repos enabled with yum repolist:
# yum repolist
Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)
Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)
Install updates
Once your system has been registered, you can use the command line or web console to install the latest updates.
Updating from the command line
use yum update form within a Terminal session to install the latest updates.
$ sudo yum update
If an updated kernel package is installed during updates, you should reboot your system:
$ reboot
After that you can install httpd
# yum install -y httpd
PRO TIP.
Register yourself as developer in Red Hat an redhat give you a subscription if you don't have one.This tip is for self study purposes I don't encourage you to use a developer subscription for production.
Good journey.
I am new to RedHat Linux and installed a 7.4 version on VirtualBox. According to the steps for RedHat installation, I need to first subscribe to RedHat for downloading on RedHat.
The command used is
subscription-manager register --username xxxxxxx --password xxxxxxx --auto-attach
and the output is
'NoneType' object has no attribute 'getitem'
The user and password are correct in the red hat website.
I had gone through RedHat Bugzilla tickets and solution provided by customer-support, but nothing worked for me.
Please help me to resolve this issue.
This will happen if you have another system registered (i.e. you stood up a VM, had issues, and destroyed it).
Go into your account on RedHat.com -> Customer Portal
Check two things:
Subscriptions - Make sure you have at least one active subscription
Systems - Select the systems, remove them.
Go back into your RHEL server and type subscription-manager register --auto-attach and you will be prompted for username/password for your RedHat account.
This should now work successfully.
This is an old question, but I had the same issue and did not find any helpful answers, so leaving this for any others that may have this issue in the future.
I solved it in my case with:
sudo subscription-manager clean
then registering again
RHEL 7.9
Error message when run yum on Centos 7
Loaded plugins: fastestmirror
There are no enabled repos.
Run "yum repolist all" to see the repos you have.
To enable Red Hat Subscription Management repositories:
subscription-manager repos --enable <repo>
To enable custom repositories:
yum-config-manager --enable <repo>
Your post indicates that you are using CentOS 7 but your code snippet implies you are actually using Red Hat Enterprise Linux.
RHEL does not ship with any usable package repositories by default. You don't need to update yum, you need to enable a software repository so you can use yum to download packages from it.
The proper way to resolve this is to either purchase a RHEL Subscription License to their Enterprise Software Repositories or sign up for a developer license, which is free with some small restrictions.
Alternatively, you can use this process to add the CentOS 7 repositories to RHEL 7. Which will allow you to get by for the most part.
I'm really stuck in installing services in Centos server. I almost browse all the pages in Google result. I'm a Windows user and very new in Linux environment, so it makes me difficult to understand all the results from Google.
The server doesn't have option to connect to the internet. Based on my research, my only way is to download all the RPM files in a machine with internet then transfer it to my server.
Problem: I cannot find the official package list of YUM so I can download it one by one like the https://bower.io/search/. There's a lot of downloadable files showing if I type in Google "YUM php7 rpm".
Edit: I am currently using YUM because I don't know any other way to install packages in Centos. I only want to install the following :
php7
nodejs
composer
supervisor
nginx
I don't have any access to any media. I just remotely access it via putty and Filezilla. But I have root access.
In my deep dive into the CentOS terminal, I was able to install and setup Jira, Confluence, and Bitbucket servers. However, the Hipchat Server seems to be based on something completely different.
Is there a step by step guide to installing Hipchat; From what's needed (dependencies) to installing (which I'm not even sure is part of the process) to seeing it work (log-in, etc.)?
Atlassian's official guide is written in such a way, that I look at it confused - as if it's a riddle that will never be solved. lol
By HipChat4, I'm assuming you refer to the HipChat Client. If so, have you tried the instructions outlined here?
sudo bash -c ‘cat > /etc/yum.repos.d/hipchat.repo << EOF_hipchat
[atlassian-hipchat]
name=Atlassian Hipchat
baseurl=https://atlassian.artifactoryonline.com/atlassian/hipchat-yum-client/
enabled=1
gpgcheck=0
EOF_hipchat’
sudo yum update
sudo yum install hipchat4
If what you're trying to install is the server, then keep in mind that HipChat Server is only supported on AWS (via the Atlassian provided AMI), or as a VM for private datacenters (via the Atlassian provided OVA). You can't install HipChat Server directly on a Linux box.
If your OS can run a virtualization platform (e.g. VirtualBox) then you can download the OVA from https://www.hipchat.com/server#get-hipchat-server, import it, start your VM and configure it. More thorough instructions are available here.