{"id":19383,"date":"2023-08-18T08:10:01","date_gmt":"2023-08-18T08:10:01","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=19383"},"modified":"2023-10-18T08:12:58","modified_gmt":"2023-10-18T08:12:58","slug":"how-to-uninstall-plesk-on-ubuntu","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/how-to-uninstall-plesk-on-ubuntu\/","title":{"rendered":"How to Uninstall Plesk on Ubuntu"},"content":{"rendered":"<p><img decoding=\"async\" data-src=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/10\/How-to-Uninstall-Plesk-on-Ubuntu-1024x878.jpg\" alt=\"How to Uninstall Plesk on Ubuntu\" width=\"1024\" height=\"878\" class=\"alignnone size-large wp-image-19384 lazyload\" data-srcset=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/10\/How-to-Uninstall-Plesk-on-Ubuntu-1024x878.jpg 1024w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/10\/How-to-Uninstall-Plesk-on-Ubuntu-300x257.jpg 300w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/10\/How-to-Uninstall-Plesk-on-Ubuntu-128x110.jpg 128w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/10\/How-to-Uninstall-Plesk-on-Ubuntu-420x360.jpg 420w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/10\/How-to-Uninstall-Plesk-on-Ubuntu-540x463.jpg 540w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/10\/How-to-Uninstall-Plesk-on-Ubuntu-720x617.jpg 720w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/10\/How-to-Uninstall-Plesk-on-Ubuntu-960x823.jpg 960w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/10\/How-to-Uninstall-Plesk-on-Ubuntu-1140x977.jpg 1140w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/10\/How-to-Uninstall-Plesk-on-Ubuntu-1166x999.jpg 1166w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/10\/How-to-Uninstall-Plesk-on-Ubuntu-840x720.jpg 840w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/10\/How-to-Uninstall-Plesk-on-Ubuntu-1260x1080.jpg 1260w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/10\/How-to-Uninstall-Plesk-on-Ubuntu.jpg 1400w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/878;\" \/><\/p>\n<p>Plesk is a popular web hosting control panel that allows webmasters and system administrators to manage websites and servers with ease. However, there might be instances where you need to uninstall Plesk, perhaps to free up resources or switch to another control panel.<\/p>\n<p>In this guide, we&#8217;ll walk you through the step-by-step process of uninstalling Plesk on an Ubuntu server. Before proceeding, it&#8217;s essential to back up any critical data, as this process will remove all Plesk-related files and configurations. <\/p>\n<p>Let&#8217;s get started.<\/p>\n<h2>Step 1: Backup Your Data<\/h2>\n<p>Before making any significant changes to your server, always ensure you have a backup of your data. This includes website files, databases, emails, and any other essential data managed by Plesk.<\/p>\n<h2>Step 2: Access Your Server<\/h2>\n<p>Log in to your Ubuntu server using SSH. You can do this using the following command:<\/p>\n<pre>ssh username@your_server_ip<\/pre>\n<p>Replace username with your server&#8217;s username and your_server_ip with your server&#8217;s IP address.<\/p>\n<h2>Step 3: Stop Plesk Services<\/h2>\n<p>Before uninstalling, ensure that all Plesk services are stopped:<\/p>\n<pre>sudo service psa stopall<\/pre>\n<h2>Step 4: Remove Plesk Packages<\/h2>\n<p>Use the following command to remove all Plesk packages:<\/p>\n<pre>sudo apt-get purge `dpkg -l | grep psa- | awk '{print $2}'`<\/pre>\n<p>This command searches for all packages related to Plesk (those starting with psa-) and purges them.<\/p>\n<h2>Step 5: Remove Plesk Directories<\/h2>\n<p>After uninstalling the packages, remove all Plesk-related directories:<\/p>\n<pre>\r\nsudo rm -rf \/etc\/psa\r\nsudo rm -rf \/usr\/local\/psa\r\nsudo rm -rf \/var\/lib\/psa\r\n<\/pre>\n<h2>Step 6: Clean Up Remaining Dependencies<\/h2>\n<p>To ensure no residual packages are left, you can use the autoremove command:<\/p>\n<pre>sudo apt-get autoremove<\/pre>\n<h2>Step 7: Restart Your Server<\/h2>\n<p>After successfully uninstalling Plesk, restart your server to ensure all changes take effect:<\/p>\n<pre>sudo reboot<\/pre>\n<h2>Commands Mentioned<\/h2>\n<ul>\n<li><span class=\"fw-bold\">ssh username@your_server_ip<\/span> \u2013 Used to access your server via SSH.<\/li>\n<li><span class=\"fw-bold\">sudo service psa stopall<\/span> \u2013 Stops all Plesk services.<\/li>\n<li><span class=\"fw-bold\">sudo apt-get purge<\/span> \u2013 Purges specified packages.<\/li>\n<li><span class=\"fw-bold\">sudo rm -rf<\/span> \u2013 Removes directories and their contents.<\/li>\n<li><span class=\"fw-bold\">sudo apt-get autoremove<\/span> \u2013 Removes unnecessary packages.<\/li>\n<li><span class=\"fw-bold\">sudo reboot<\/span> \u2013 Restarts the server.<\/li>\n<\/ul>\n<h2>FAQ<\/h2>\n<ol itemscope itemtype=\"https:\/\/schema.org\/FAQPage\">\n<li itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\">\n<p class=\"fw-bold\" itemprop=\"name\">Why would I need to uninstall Plesk?<\/p>\n<p itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n                <span itemprop=\"text\">There could be various reasons, such as switching to another control panel, freeing up server resources, or troubleshooting specific issues related to Plesk.<\/span>\n            <\/p>\n<\/li>\n<li itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\">\n<p class=\"fw-bold\" itemprop=\"name\">Is it safe to uninstall Plesk?<\/p>\n<p itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n                <span itemprop=\"text\">Yes, but always ensure you have backed up essential data before proceeding, as the uninstallation process will remove all Plesk-related files and configurations.<\/span>\n            <\/p>\n<\/li>\n<li itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\">\n<p class=\"fw-bold\" itemprop=\"name\">Can I reinstall Plesk after uninstalling it?<\/p>\n<p itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n                <span itemprop=\"text\">Yes, you can reinstall Plesk after uninstalling it. Ensure you follow the official installation guidelines for a smooth reinstallation process.<\/span>\n            <\/p>\n<\/li>\n<li itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\">\n<p class=\"fw-bold\" itemprop=\"name\">Will uninstalling Plesk affect my websites?<\/p>\n<p itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n                <span itemprop=\"text\">Yes, uninstalling Plesk will remove all configurations and data related to the websites managed by Plesk. Ensure you have backups before proceeding.<\/span>\n            <\/p>\n<\/li>\n<li itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\">\n<p class=\"fw-bold\" itemprop=\"name\">Are there alternatives to Plesk?<\/p>\n<p itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n                <span itemprop=\"text\">Yes, there are several alternatives to Plesk, such as cPanel, DirectAdmin, and Webmin. The choice depends on your specific requirements and preferences.<\/span>\n            <\/p>\n<\/li>\n<\/ol>\n<h2>Conclusion<\/h2>\n<p>Uninstalling Plesk from your Ubuntu server is a straightforward process when you follow the steps outlined in this guide. Always remember to back up your data before making significant changes to your server.<\/p>\n<p>If you&#8217;re considering other hosting solutions after uninstalling Plesk, be sure to explore options like <a href=\"https:\/\/webhostinggeeks.com\/blog\/what-is-dedicated-server-hosting\/\">dedicated server hosting<\/a>, <a href=\"https:\/\/webhostinggeeks.com\/blog\/what-is-vps-hosting\/\">VPS server hosting<\/a>, <a href=\"https:\/\/webhostinggeeks.com\/blog\/what-is-cloud-hosting\/\">cloud hosting<\/a>, and <a href=\"https:\/\/webhostinggeeks.com\/blog\/what-is-shared-hosting\/\">shared hosting<\/a> to find the best fit for your needs.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Plesk is a popular web hosting control panel that allows webmasters and system administrators to manage websites and servers with ease. However, there might be instances where you need to&#8230;<\/p>\n","protected":false},"author":6,"featured_media":19384,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[1073],"tags":[2210,1856],"class_list":["post-19383","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu","tag-plesk","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/19383","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/comments?post=19383"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/19383\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media\/19384"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media?parent=19383"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=19383"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=19383"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}