2015-01-15 1 views
1

최근에 컴퓨터를 Ubuntu 14.04으로 다시 설치했습니다.Apache 2.4.7 mod-mono는 우분투를 설치하지 않습니다. 14.04

이 PC는 ASP.NET 모노 응용 프로그램을 개발하는 데 사용됩니다.

그래서 Mono의 최신 3.12.0 버전을 설치했습니다.

Apache2 (2.4.7이 최신 버전 임)를 설치했습니다.

마지막으로 Mod_Mono를 설치합니다. 이것이 실패한 곳입니다.

sudo apt-get install libapache2-mod-mono 
Reading package lists... Done 
Building dependency tree  
Reading state information... Done 
Some packages could not be installed. This may mean that you have 
requested an impossible situation or if you are using the unstable 
distribution that some required packages have not yet been created 
or been moved out of Incoming. 
The following information may help to resolve the situation: 

The following packages have unmet dependencies: 
libapache2-mod-mono : Depends: apache2.2-common but it is not installable 
E: Unable to correct problems, you have held broken packages. 

그래서 나는 apache2.2-common를 설치하려고하지만 존재하지 않는, 단지 apache2.2-bin있다. 나는 그것을 설치했지만 여전히 내 문제를 해결하지 못했습니다.

sudo apt-get install apache2.2-common 
Reading package lists... Done 
Building dependency tree  
Reading state information... Done 
Package apache2.2-common is not available, but is referred to by another package. 
This may mean that the package is missing, has been obsoleted, or 
is only available from another source 
However the following packages replace it: 
    apache2-bin:i386 apache2:i386 apache2-data apache2-bin apache2 

E: Package 'apache2.2-common' has no installation candidate 

내가 할 수있는 것에 대한 제안은 apache2를 통해 Mono 응용 프로그램을 호스팅 할 수 있습니까?

+0

잘 모르겠지만, 내가 왜 의견을 말하고 있지만 mod-mono처럼 보입니까? Apache2.2-common에 의존하고 Apache 2.4.7을 설치했습니다. 아파치 릴리스를 내려야 할 수도 있습니다. 또한 Mod_Mono는 Apache 1.3/2.0/2.2/2.4 모듈입니다. Apache2.4.7에서 작동하지 않는 또 다른 이유 – apesa

+0

2.2를 어떻게 설치합니까? 나는 좋은 모습을 보였고 해결책을 찾지 못했습니다. 나는'apt-cache'를했지만 2.2 버전은 없다. –

+0

Apt는 지원되는 패키지 만 가져올 것입니다. Ubuntu 14.04에서는 Apache 2.2 또는 수동으로 2.4를 설치해야 할 수도 있습니다. 그게 잘 작동하고 일반적인 라이브러리와 빈 같은 라이브러리를 지원합니다. 이 모든 것은 아파치를 어떻게 설치 했느냐에 달려있다. – apesa

답변

1

Apache 2.2.22를 설치하여이 문제를 해결했습니다.

이 작업을 수행하는 데 약간의 문제가 있었지만 마침내이 명령을 실행하여 설치했습니다.

sudo apt-get install apache2=2.2.22-1ubuntu1.7 apache2.2-common=2.2.22-1ubuntu1.7 apache2.2-bin=2.2.22-1ubuntu1.7 apache2-mpm-worker=2.2.22-1ubuntu1.7

참고 : 다른 설치에 사용할 수있는 패키지를 필요가 없습니다, 소프트웨어 소스에 정확한 저장소를 추가해야합니다.

+2

Apache 2.4에서 작동하려면 mod_mono에 대한 호환성 저장소를 추가해야합니다. http://www.mono-project.com/docs/getting-started/install/linux/#modmono-ubuntu-1310-and-later-debian -80-and-later –

+0

내가 그걸 추가 했는데도 여전히 불평하고, 다른 상자를 설정하고이 링크의 지침에 따라 작동하는지 다시 한 번 확인하십시오. Btw 감사합니다. –

+0

Cool 그냥 다시 시도하고이 시간 근무 :) –