我试图在一个新鲜的红帽子服务器上安装一个LAMP栈,但百胜餐厅行事不端。 由于linux不识字,我不知所措。
$yum install httpd Loaded plugins: security Setting up Install Process No package httpd available. Nothing to do
我的百胜configuration
$ cat /etc/yum.conf [main] cachedir=/var/cache/yum keepcache=0 debuglevel=2 logfile=/var/log/yum.log distroverpkg=redhat-release tolerant=1 exactarch=1 obsoletes=1 gpgcheck=1 plugins=1 # Note: yum-RHN-plugin doesn't honor this. metadata_expire=1h # Default. # installonly_limit = 3 # PUT YOUR REPOS HERE OR IN separate files named file.repo # in /etc/yum.repos.d
其他东西在yum.repos.d dir
$ ls -lah /etc/yum.repos.d/ total 12K drwxr-xr-x 2 root root 4.0K Feb 4 01:15 . drwxr-xr-x 59 root root 4.0K Feb 4 01:28 .. -rw-r--r-- 1 root root 561 Mar 10 2010 rhel-debuginfo.repo
可能会发生什么? 我认为“开箱即用”RHEL5.5会更友好:)
我想到了。 由于这个服务器是使用云中的图像自动创build的,因此永远不会在红帽networking上注册。 做完之后,yum又开始行动了。
您是否检查RPM是否位于您的CD或ISO?
RHEL Server 5.5有一个文件/Server/httpd-2.2.3-43.el5.x86_64.rpm