dpkg -l | grep ispmanager
root@server:/# dpkg -l | grep ispmanager
ii ispmanager-lite 5.55.1-trusty1 amd64 ISPmanager-Lite virtual meta package
ii ispmanager-lite-common 5.55.1-trusty1 amd64 ISPmanager-Lite
ii ispmanager-pkg-awstats 5.55.1-trusty1 all ISPmanager-pkg-awstats
ii ispmanager-pkg-bind 5.55.1-trusty1 all ISPmanager-pkg-bind
ii ispmanager-pkg-dovecot 5.55.1-trusty1 all ISPmanager-pkg-dovecot
ii ispmanager-pkg-exim 5.55.1-trusty1 all ISPmanager-pkg-exim
ii ispmanager-pkg-httpd 5.55.1-trusty1 all ISPmanager-pkg-httpd
ii ispmanager-pkg-logrotate 5.55.1-trusty1 all ISPmanager-pkg-logrotate
ii ispmanager-pkg-myadmin 5.55.1-trusty1 all ISPmanager-pkg-myadmin
ii ispmanager-pkg-mysql 5.55.1-trusty1 all ISPmanager-pkg-mysql
ii ispmanager-pkg-nginx 5.55.1-trusty1 all ISPmanager-pkg-nginx
ii ispmanager-pkg-php 5.55.1-trusty1 all ISPmanager-pkg-php
ii ispmanager-pkg-proftpd 5.55.1-trusty1 all ISPmanager-pkg-proftpd
ii ispmanager-pkg-roundcube 5.55.1-trusty1 all ISPmanager-pkg-roundcube
ii ispmanager-pkg-sieve 5.55.1-trusty1 all ISPmanager-pkg-sieve
ii ispmanager-plugins 5.55.1-trusty1 amd64 Plugins for ISPmanager
sudo aptitude purge package_name
sudo aptitude purge ispmanager-lite
sudo aptitude purge ispmanager-lite-common
sudo aptitude purge ispmanager-pkg-awstats
sudo aptitude purge ispmanager-pkg-bind
sudo aptitude purge ispmanager-pkg-dovecot
sudo aptitude purge ispmanager-pkg-exim
sudo aptitude purge ispmanager-pkg-httpd
sudo aptitude purge ispmanager-pkg-logrotate
sudo aptitude purge ispmanager-pkg-myadmin
sudo aptitude purge ispmanager-pkg-mysql
sudo aptitude purge ispmanager-pkg-nginx
sudo aptitude purge ispmanager-pkg-php
sudo aptitude purge ispmanager-pkg-proftpd
sudo aptitude purge ispmanager-pkg-roundcube
sudo aptitude purge ispmanager-pkg-sieve
sudo aptitude purge ispmanager-plugins
rm -rf /usr/local/mgr5
server {
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;
root /var/www/Site1.ru/html;
index index.html index.htm;
server_name Site1.ru www.Site1.ru;
location / {
try_files $uri $uri/ =404;
}
}
server {
listen 80;
listen [::]:80;
root /var/www/site2.ru/html;
index index.html index.htm;
server_name site2.ru www.site2.ru;
location / {
try_files $uri $uri/ =404;
}
}
sudo ln -s /etc/nginx/sites-available/site1.ru/etc/nginx/sites-enabled/
sudo ln -s /etc/nginx/sites-available/site2.ru/etc/nginx/sites-enabled/
sudo rm /etc/nginx/sites-enabled/default
sudo nano /etc/nginx/nginx.conf
server_names_hash_bucket_size: 64;
sudo service nginx restart