2015-03-16 3 views
0

Я только что установил Oracle Linux (который, как я понимаю, является своего рода подрывной деятельностью RedHat), и, как гласит название, у меня проблемы, когда я пытаюсь настроить Apache.Не удалось установить Apache на Oracle Linux (RedHat)

Когда я печатаю эту команду (авторизовано как корень):

yum install httpd 

Я получаю ответ:

Loading "Installonlyn" plugin 
Setting up Install Process 
Setting up repositories 
No Repositories Available to Set Up 
Reading repository metadata in from local files 
Parsing package install arguments 
Setting up repositories 
No Repositories Available to Set Up 
Reading repository metadata in from local files 
No Match for argument: httpd 
Nothing to do 

UPDATE: Выхода для ня repolist Команды:

[[email protected] suurp6der]# yum repolist 
Loading "installonlyn" plugin 

usage: yum [options] < grouplist, localinstall, groupinfo, localupdate, resolvedep, erase, deplist, groupremove, makecache, upgrade, provides, shell, install, whatprovides, groupinstall, update, groupupdate, info, search, check-update, list, remove, clean, grouperase > 

options: 
    -h, --help   show this help message and exit 
    -t, --tolerant  be tolerant of errors 
    -C     run entirely from cache, don't update cache 
    -c [config file]  config file location 
    -R [minutes]   maximum command wait time 
    -d [debug level]  debugging output level 
    -e [error level]  error output level 
    -y     answer yes for all questions 
    --version    show Yum version and exit 
    --installroot=[path] set install root 
    --enablerepo=[repo] enable one or more repositories (wildcards allowed) 
    --disablerepo=[repo] disable one or more repositories (wildcards allowed) 
    -x [package], --exclude=[package] 
         exclude package(s) by name or glob 
    --obsoletes   enable obsoletes processing during updates 
    --noplugins   disable Yum plugins 

Как я могу исправить эту проблему?

спасибо.

+0

что вывод команды "ни repolist" я n ваша ОС ?? – Rups

+0

где выводится ?? – Rups

+0

Это было слишком большим для раздела комментариев. Я добавил его выше. – user2266705

ответ

0

Потому что здесь уже ясно «Нет Хранилища Доступно для настройки» Первоначальная настройка локальной и удалить хранилище и выполнить ниже Comman:

yum list | grep httpd

Тогда вы получите httpd- *

и установить:

yum install httpd