LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   RH 7.3 server and Yum and or other package managers (https://www.linuxquestions.org/questions/red-hat-31/rh-7-3-server-and-yum-and-or-other-package-managers-4175669603/)

alexsolus 02-14-2020 09:00 AM

RH 7.3 server and Yum and or other package managers
 
Hello,
I have RH 7.3 production server no GUI and it does not have yum. I though that was removed, but I installed one myself and it is also does not have yum. Installing packages using rpm is a paint to resolve dependencies. How can I install Yum on the server? Also if not yum what other options are out there to manage/install packages?
Thanks,

smallpond 02-14-2020 09:32 AM

The only time I haven't seen yum on a RHEL server is when they want to only run python3 and not jump through hoops to have both versions installed. Does "python -V" give a python 2.7 version? If so, you can just install the yum rpm.

alexsolus 02-14-2020 10:57 AM

The command did not work, but in the /usr/lib folder there are 2 folder python2.2 python1.5, so I assume this is what they are. For the Yum rpm, which version should I install and where to get it. There is no yum rpm om the cd, or maybe I was not looking into right place? I tried downloading yum rpm and tried to install it but it is asking for additional packages ans trying to install those require more, fills like endless process. Am I missing something or is there an easier way to do that? Thanks!!!

knudfl 02-14-2020 01:40 PM

Post #3, @alexsolus.
Quote:

in /usr/lib/ there are 2 folder python2.2 python1.5
Are you sure you installed RHEL 7.3 ?
RHEL 7 has python 2.7 and yum by default.

The old Redhat 7.3 Valhalla, released `6 May 2002´ had python-1.5.2 and python2-2.2 ! And no yum.
ftp://archive.download.redhat.com/pu...os/i386/SRPMS/

-

alexsolus 02-14-2020 06:15 PM

My mistake, yes it is old RedHat 7.3 Valhalla, for some reason I though RHEL 7.3 and Valhalla are the same thing apparently it is not. is there a way to install yum on Valhalla?

teckk 02-14-2020 06:36 PM

If that is what you have then you are 18 years out of date. Dont't do that. Install a modern os with current software, kernel, security updates. If you don't want to pay for it then use centos.

michaelk 02-14-2020 06:45 PM

No...

A production server still running RH 7.3? Not good, I hope your not using special software that only runs on 7.3 and suggest upgrading to CentOS. 7.3 used a a 2.4 kernel with different libraries so no recent software will likely run. The repositories for RH 7.3 no longer exist and about the only thing you can do is install software via rpms if they exist from the old archives.

alexsolus 02-15-2020 04:32 PM

Thank you guys, I will check what apps we are running on next week and see how portable they are. Sounds like we are out of luck to do pretty much anything with this server.

alexsolus 02-17-2020 08:15 AM

I wonder if there is a possibility to virtualize RH 7.3 at all. That was my goal in the first place and also if any of current online backup solutions like Datto or Veeam cloud would work on this 18 years young machine?

TB0ne 02-19-2020 07:14 AM

Quote:

Originally Posted by alexsolus (Post 6091042)
I wonder if there is a possibility to virtualize RH 7.3 at all. That was my goal in the first place and also if any of current online backup solutions like Datto or Veeam cloud would work on this 18 years young machine?

Maybe, but you really should not. If you're the administrator, think about what you're doing.

At some point, you are going to HAVE TO upgrade things, period. Using the mindset of 'we MUST HAVE program xxx', is an exercise in futility. Things need to get upgraded, hardware ages, and an 18 year old OS is HORRIBLY insecure and unstable, not to mention unpatchable/upgradable. Why continue in that environment??? Upgrade, move forward; how many people do you see running Windows 3.1 because they 'MUST HAVE' Wordperfect or some such program?? Whatever you're trying to run is the same ...it's old, and there are probably a dozen programs or more than do the same things, that are current and most probably better.

alexsolus 02-19-2020 03:05 PM

Well, I fully understand that. In my case this is an archive server that is required to be saved for another 5 years. It uses tape backups and is not used as current database. To migrate data to anything new will cost $20K+ which none will let me spend. I have an option o leave it like it is with the hope that hardware would not fail, or virtualize it and have at list a modern backup and ability to restore quickly. So I am trying to do what I can with the exciting system. My next try is to use dd to create and image of the system and try to virtualize that image with vmdk image converter tool.


All times are GMT -5. The time now is 12:31 PM.