Deleting a virtual host site: Difference between revisions

From Edgar BV Wiki
Jump to navigation Jump to search
Created page with "<pre> delete users from /home/sites/SITENAME/users/ delete user from /var/spool/mail delete group rm -R /home/sites/SITENAME/ rm /opt/weblog/etc/*SITENAME* rm /etc/awstats/aws..."
 
No edit summary
 
Line 6: Line 6:
rm /opt/weblog/etc/*SITENAME*
rm /opt/weblog/etc/*SITENAME*
rm /etc/awstats/awstats.SITENAME.conf
rm /etc/awstats/awstats.SITENAME.conf
rm -R /home/sites/tripghost.tripany.com/site/sitestats/SITENAME
rm -R /home/sites/edgarghost.tripany.com/site/sitestats/SITENAME
rm /var/log/apache/awstats/*SITENAME*
rm /var/log/apache/awstats/*SITENAME*
rm /etc/logrotate.d/site.SITENAME*
rm /etc/logrotate.d/site.SITENAME*

Latest revision as of 19:58, 18 January 2017

delete users from /home/sites/SITENAME/users/
delete user from /var/spool/mail
delete group
rm -R /home/sites/SITENAME/
rm /opt/weblog/etc/*SITENAME*
rm /etc/awstats/awstats.SITENAME.conf
rm -R /home/sites/edgarghost.tripany.com/site/sitestats/SITENAME
rm /var/log/apache/awstats/*SITENAME*
rm /etc/logrotate.d/site.SITENAME*
a2dissite SITENAME
rm /etc/apache2/sites-available/SITENAME
delete users from /etc/postfix/virtual
delete users from /usr/lib/cgi-bin/.htpasswd
delete SITENAME from /etc/postfix/virtual-domains
delete SITENAME entries from /opt/triphost/sitestatistics.sh
delete SITENAME from /etc/apache/listvirts