Question

Nginx error on vestacp installation

Posted December 12, 2014 5.1k views

Hello,

I am trying to install vestacp on Ubuntu 14.04 Droplet with previous nginx installed, when i try following command…

bash vst-install.sh

It gives following error…

Following packages are already installed:
nginx

It is highly recommended to remove them before proceeding.
If you want to force installation run this script with -f option:
Example: bash vst-install-ubuntu.sh --force

While i have already removed nginx using following…

sudo apt-get remove nginx

sudo apt-get purge nginx

sudo apt-get autoremove

Please help me to resolve this issue. thanks

2 comments
  • If you are confident you have removed nginx and all it’s configuration files you can either use the -f flag mentioned by the installer or rebuild your droplet from the control panel using a stock OS image. With any web hosting control panel it is always recommended to start from a completely clean server rather than trying to clean it or remove packages.

  • Thanks for your reply. Which Control Panel do you suggest - Vesta CP or Webmin? Easier to use and powerful in features.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
3 answers

Just like @ryanpq mentioned is better to start with a clean server. Destroy that droplet create a new one with ubuntu image only and then run the vesta cpanel script. Vesta will install all the necessary software including nginx.

if you need a control panel that will nicely fit into your current install, use webmin with nginx module http://www.justindhoffman.com/project/nginx-webmin-module , it even has a very beautiful theme now - http://theme.winfuture.it/

Run:
dpkg --get-selections

You will see that nginx-commom is listed as deinstall state.

Just run:

sudo apt-get purge $(dpkg -l | grep '^rc' | awk '{print $2}')
Submit an Answer