简体   繁体   English

在RedHat Enterprise Server 5.5上安装python26时出错

[英]Error when installing python26 on RedHat Enterprise Server 5.5

I'm trying to install GitLab community edition on a Linux server (Red Hat Enterprise Linux Server release 5.5) using following tutorial. 我正在尝试使用以下教程在Linux服务器(Red Hat Enterprise Linux Server版本5.5)上安装GitLab社区版。

Installing GitLab on RedHat Enterprise 5 RHEL 5 在RedHat Enterprise 5 RHEL 5上安装GitLab

But when I try to install python26 as per the tutorial, I'm getting following error. 但是,当我尝试按照教程安装python26时,出现以下错误。

# yum install python26
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
No package python26 available.
Nothing to do

I have some experience with Ubuntu, but I'm new to Red Hat. 我有一些使用Ubuntu的经验,但是我是Red Hat的新手。 Does anyone know how to fix this problem? 有谁知道如何解决这个问题?

Since you are not registered with RHN, you can use alternative Repository for install this package. 由于您尚未在RHN中注册,因此可以使用备用存储库来安装此软件包。 One such repository is geekymedia.com centos repository. 这样的存储库之一就是geekymedia.com centos存储库。

To add repository to your system, 要将存储库添加到您的系统,

cd /etc/yum.repos.d
wget http://mirrors.geekymedia.com/centos/geekymedia.repo

To install python26 package, 要安装python26软件包,

yum install python26
unlink /usr/bin/python2
cd /usr/bin/
ln -s python26 python2

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM