Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-28-2012, 08:49 PM   #1
Registered: Oct 2010
Posts: 57

Rep: Reputation: 0
uninstall apache for nginx

i installed apache on my ubuntu laptop but now i want to try out nginx instead.
can anyone point out how to make this switch?
how would i uninstall apache?
Old 01-29-2012, 01:54 AM   #2
Registered: Oct 2004
Location: USA
Distribution: Ubuntu-Server, Mac OS X, Arch Linux
Posts: 354

Rep: Reputation: 48
To completely uninstall apache and install nginx, do this:

sudo apt-get purge apache2; apt-get -y install nginx
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache optimization with nginx Ricky Linux - Server 1 11-14-2011 01:22 PM
Equivalent of NGINX proxy_intercept_errors with Apache mod_proxy samarudge Linux - Server 2 04-06-2011 12:53 AM
Apache rewrites to nginx taara Linux - Newbie 2 03-14-2011 11:07 AM
LXer: Configuring Apache and Nginx LXer Syndicated Linux News 0 07-22-2010 12:10 PM
Nginx like as a reverse proxy for Apache Abadon_ Linux - Server 0 11-13-2009 05:53 AM

All times are GMT -5. The time now is 12:14 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration