In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
1. Create directories python and yum to store rpm packages:
Mkdir / usr/local/src/pythonmkdir / usr/local/src/yum
two。 Download the rpm package of python and yum using wget (note: be sure to correspond to the version number of the system) address: http://vault.centos.org
(1) download the rpm package of python:
Cd / usr/local/src/python wget http://vault.centos.org/7.2.1511/os/x86_64/Packages/python-2.7.5-34.el7.x86_64.rpmwget http://vault.centos.org/7.2.1511/os/x86_64/Packages/python-iniparse-0.4-9.el7.noarch.rpmwget http://vault.centos.org/7.2.1511/os/x86_64/Packages/python-pycurl-7. 19.0-17.el7.x86_64.rpmwget http://vault.centos.org/7.2.1511/os/x86_64/Packages/python-devel-2.7.5-34.el7.x86_64.rpmwget http://vault.centos.org/7.2.1511/os/x86_64/Packages/python-libs-2.7.5-34.el7.x86_64.rpmwget http://vault.centos.org/7.2.1511/os/x86_64 / Packages/python-urlgrabber-3.10-7.el7.noarch.rpmwget http://vault.centos.org/7.2.1511/os/x86_64/Packages/rpm-python-4.11.3-17.el7.x86_64.rpm
(2) download the rpm package of yum:
Cd / usr/local/src/yumwget http://vault.centos.org/7.2.1511/os/x86_64/Packages/yum-3.4.3-132.el7.centos.0.1.noarch.rpmwget http://vault.centos.org/7.2.1511/os/x86_64/Packages/yum-metadata-parser-1.1.4-10.el7.x86_64.rpmwget http://vault.centos.org/7.2.1511/os/x86_64 / Packages/yum-plugin-fastestmirror-1.1.31-34.el7.noarch.rpm
3. Install rpm packages for python and yum
(1) install python:
Rpm- ivh python-* rpm-python-*-- nodeps-- force--nodeps-- force is forced to be installed without considering dependent packages.
(2) install yum:
Cd / usr/local/src/yumrpm-ivh yum-*
Yum reinstalled successfully
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.