2012-05-17 4 views
8

우분투 11.04에서 승객 설치의 일부로 설치된 nginx를 어떻게 제거합니까?여객이 설치 한 nginx를 제거하십시오

gem uninstall passenger해야하나요? 그게 nginx도 제거할까요? 당신이 가장 가능성이 그것을 설치하는 passenger-install-nginx-module을 사용

sudo apt-get remove nginx-common nginx-full 
Reading package lists... Done 
Building dependency tree  
Reading state information... Done 
**Package nginx-common is not installed, so not removed 
Package nginx-full is not installed, so not removed** 
The following packages were automatically installed and are no longer required: 
    nspluginwrapper linux-headers-2.6.38-13-generic libmysqlclient-dev libaprutil1-ldap libaprutil1-dev libmysqlclient16 libdb4.8-dev libaprutil1-dbd-sqlite3 
    apache2.2-bin linux-headers-2.6.38-14-generic linux-headers-2.6.38-12 linux-headers-2.6.38-13 linux-headers-2.6.38-14 mysql-common linux-headers-2.6.38-12-generic 
Use 'apt-get autoremove' to remove them. 
+0

이 오류 메시지에 따르면, 적어도 aptitude를 통해 nginx가 설치되어 있지 않습니다. 너는 왜 그렇게 생각하니? – Veraticus

+4

'sudo apt-get purge nginx- *','sudo apt-get autoremove'. –

+0

승객이 nginx를 컴파일하고 설치하는 데 사용하는 메커니즘이 무엇인지는 확실치 않지만 존재하지 않습니다. 나는 서비스 nginx 상태 또는 /etc/init.d/nginx 상태를 볼 때 실행되는 것을 볼 수 있습니다. – thanikkal

답변

2

:

이 내가 apt-get remove을 실행할 때 내가 볼 것입니다. gem uninstall passenger을 실행하면 종속 모듈도 제거됩니다.

+0

이것은 나타나지 않습니다. http://www.modrails.com/documentation/Users%20guide%20Nginx. html # uninstalling –

1

제거 방법은 공식 설명서 "Phusion Passenger users guide, Nginx version"에 나와 있습니다.

+0

이것은 'passenger-install-nginx-module'과 함께 다운로드되었을 수도있는 nginx를 제거하는 것을 의미하지 않습니다. –

+0

* * * 토론하고 있습니다. "Nginx는 Phusion Passenger를 제거한 후에 다시 컴파일 할 필요가 없습니다 .Nginx에는 Phusion Passenger Nginx 모듈이 포함되지만 모든 Phusion Passenger 구성 지시문을 제거하면 모듈에서 아무런 작업도 수행하지 않습니다." –

관련 문제