Archive for the tag 'remove'

How to customize or remove Panel License and Add-On Keys

In Server Administration Panel > Tools & Utilities > License Management, there are links that can be customize or remove:

If you need to customize these links so as to point at your company’s website, create a text file named panel.ini and place the following lines there:

[marketplace]
panelAndAddonsLicensesStore = “”

If you want to remove these links from the Panel, leave the URL empty:

[marketplace]
panelAndAddonsLicensesStore = “”

Save the file and place it in the following directory on the Panel-managed server:

On Unix/Linux: /usr/local/psa/admin/conf/

To undo the customization and return to default values, remove these strings from panel.ini.

Reference: http://parallels.net

How to remove the Register Domain Names button:

On Linux systems, issue the following command:

/usr/local/psa/bin/interface_template -p -domain_registration true

Reference: http://parallels.net/

SBDavid

Remove MailMan from Plesk

Remove MailMan from Plesk

Login to your Dedicated-Virtual Server using SSH as the root user. Now lets run the command to find what version of mailman is currently installed.

rpm -q mailman

You should find results similar to the following

mailman-2.1.1-5
mailman-2.1.1-7.legacy

Now we will use rpm to uninstall

rpm -e mailman-2.1.1-5
rpm -e mailman-2.1.1-7.legacy

How to remove a website manually in Ensim Pro Control Panel

Sometimes, the site is not fully removed from the server so it should be deleted manually. Here are all steps that should be done, but please note that after deleting the site can not be restored back.

Everything should be done from under root user.

Check which siteX the site corresponds to:

sitelookup -d domain.com site_handle

and what adminX is responsible for it:

sitelookup -d domain.com wp_user

Let’s say siteX is site handler for the necessary domain, and adminX is the owner.

Remove user content physically from the server:

rm -rf /home/virtual/siteX
rm -f /home/virtual/adminX
rm -f /home/virtual/domain.com
rm -f /etc/httpd/conf/virtual/siteX
rm -rf /etc/httpd/conf/siteX
rm -f /etc/webalizer/domain.com
userdel adminX

And remove the records from the system database:

psql appldb
delete from telnet where site_id = siteX;
delete from apache where site_id =site X;
delete from ssh where site_id = siteX;
delete from users where site_id = siteX;
delete from bandwidth_log where site_id = siteX;
delete from bandwidth_spans where site_id = siteX;
delete from bandwidth where site_id = siteX;
delete from free_uids where site_id = siteX;
delete from diskquota where site_id = siteX;
delete from ipinfo where site_id = siteX;
delete from ipinfo_ipaddrs where site_id = siteX;
delete from ipinfo_nbaddrs where site_id = siteX;
delete from reseller where site_id = siteX;
delete from siteinfo where site_id = siteX;

Finally, you need to go through all the files in /etc/virtualhosting/mappings and check if any of them refer to the site you’re deleting. You can use grep to quickly see if/which files might refer to the site to be deleted:

cd /etc/virtualhosting/mappings
grep -l siteX *

And finally - restart ensim CP:

/etc/init.d/epld stop
/etc/init.d/epld start

Reference and Credit : http://parallels.com/