{"id":19956,"date":"2023-04-05T18:35:54","date_gmt":"2023-04-05T18:35:54","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=19956"},"modified":"2023-10-21T18:39:20","modified_gmt":"2023-10-21T18:39:20","slug":"how-to-uninstall-cyberpanel-on-ubuntu","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/how-to-uninstall-cyberpanel-on-ubuntu\/","title":{"rendered":"How to Uninstall CyberPanel on Ubuntu"},"content":{"rendered":"<p><img decoding=\"async\" data-src=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/10\/How-to-Uninstall-CyberPanel-on-Ubuntu-1024x878.jpg\" alt=\"How to Uninstall CyberPanel on Ubuntu\" width=\"1024\" height=\"878\" class=\"alignnone size-large wp-image-19957 lazyload\" data-srcset=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/10\/How-to-Uninstall-CyberPanel-on-Ubuntu-1024x878.jpg 1024w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/10\/How-to-Uninstall-CyberPanel-on-Ubuntu-300x257.jpg 300w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/10\/How-to-Uninstall-CyberPanel-on-Ubuntu-128x110.jpg 128w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/10\/How-to-Uninstall-CyberPanel-on-Ubuntu-420x360.jpg 420w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/10\/How-to-Uninstall-CyberPanel-on-Ubuntu-540x463.jpg 540w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/10\/How-to-Uninstall-CyberPanel-on-Ubuntu-720x617.jpg 720w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/10\/How-to-Uninstall-CyberPanel-on-Ubuntu-960x823.jpg 960w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/10\/How-to-Uninstall-CyberPanel-on-Ubuntu-1140x977.jpg 1140w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/10\/How-to-Uninstall-CyberPanel-on-Ubuntu-1166x999.jpg 1166w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/10\/How-to-Uninstall-CyberPanel-on-Ubuntu-840x720.jpg 840w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/10\/How-to-Uninstall-CyberPanel-on-Ubuntu-1260x1080.jpg 1260w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2023\/10\/How-to-Uninstall-CyberPanel-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>CyberPanel is a popular web hosting control panel that offers a range of features for managing websites, databases, and email accounts. However, there might be situations where you need to uninstall it from your <a href=\"https:\/\/webhostinggeeks.com\/blog\/what-are-web-servers-and-why-are-they-needed\/\">web server<\/a>.<\/p>\n<p>Whether you&#8217;re migrating to another control panel, troubleshooting issues, or simply cleaning up, this guide will walk you through the process of uninstalling CyberPanel on an <a href=\"https:\/\/webhostinggeeks.com\/blog\/what-is-ubuntu-beginners-guide-ubuntu-linux-distro\/\">Ubuntu<\/a> system.<\/p>\n<p>Let&#8217;s get started.<\/p>\n<h2>Step 1: Backup Your Data<\/h2>\n<p>Before uninstalling any software, especially a control panel, ensure you have backed up all your websites, databases, emails, and any other critical data. This step is crucial as the uninstallation process will remove all associated data.<\/p>\n<h2>Step 2: Stop All CyberPanel Services<\/h2>\n<p>Before uninstalling, it&#8217;s a good practice to stop all running services related to CyberPanel.<\/p>\n<pre>\r\nsudo systemctl stop lscpd\r\nsudo systemctl stop lshttpd\r\n<\/pre>\n<h2>Step 3: Remove CyberPanel Packages<\/h2>\n<p>Use the package manager to remove CyberPanel and its associated packages.<\/p>\n<pre>\r\nsudo apt-get purge cyberpanel\r\nsudo apt-get autoremove\r\n<\/pre>\n<h2>Step 4: Remove CyberPanel Directories<\/h2>\n<p>After uninstalling the packages, ensure that all directories associated with CyberPanel are removed.<\/p>\n<pre>\r\nsudo rm -rf \/usr\/local\/CyberPanel\r\nsudo rm -rf \/usr\/local\/lsws\r\n<\/pre>\n<h2>Step 5: Clean Up Databases<\/h2>\n<p>If you&#8217;re sure you won&#8217;t need them in the future, you can also remove databases created by CyberPanel.<\/p>\n<pre>\r\nsudo mysql -u root -p\r\nDROP DATABASE cyberpanel;\r\nEXIT;\r\n<\/pre>\n<h2>Step 6: Remove Firewall Rules<\/h2>\n<p>CyberPanel might have added specific firewall rules. Ensure you remove or adjust them as needed.<\/p>\n<pre>\r\nsudo ufw delete allow 8090\/tcp\r\n<\/pre>\n<h2>Commands Mentioned<\/h2>\n<ul>\n<li><span class=\"fw-bold\">sudo systemctl stop lscpd<\/span> \u2013 Stops the lscpd service<\/li>\n<li><span class=\"fw-bold\">sudo systemctl stop lshttpd<\/span> \u2013 Stops the lshttpd service<\/li>\n<li><span class=\"fw-bold\">sudo apt-get purge cyberpanel<\/span> \u2013 Removes CyberPanel packages<\/li>\n<li><span class=\"fw-bold\">sudo apt-get autoremove<\/span> \u2013 Removes unused packages<\/li>\n<li><span class=\"fw-bold\">sudo rm -rf \/usr\/local\/CyberPanel<\/span> \u2013 Deletes the CyberPanel directory<\/li>\n<li><span class=\"fw-bold\">sudo rm -rf \/usr\/local\/lsws<\/span> \u2013 Deletes the lsws directory<\/li>\n<li><span class=\"fw-bold\">DROP DATABASE cyberpanel;<\/span> \u2013 Deletes the cyberpanel database<\/li>\n<li><span class=\"fw-bold\">sudo ufw delete allow 8090\/tcp<\/span> \u2013 Removes the firewall rule for port 8090<\/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 want to uninstall CyberPanel?<\/p>\n<p itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n                <span itemprop=\"text\">There could be multiple reasons, such as migrating to another control panel, troubleshooting specific issues, or performing a clean installation.<\/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 CyberPanel?<\/p>\n<p itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n                <span itemprop=\"text\">Yes, but always ensure you have backed up all critical data before proceeding with the uninstallation.<\/span>\n            <\/p>\n<\/li>\n<li itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\">\n<p class=\"fw-bold\" itemprop=\"name\">Will uninstalling CyberPanel remove my websites?<\/p>\n<p itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n                <span itemprop=\"text\">Yes, uninstalling CyberPanel will remove all associated data, including websites. Always backup before proceeding.<\/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 CyberPanel after uninstalling?<\/p>\n<p itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n                <span itemprop=\"text\">Yes, you can reinstall CyberPanel anytime after uninstalling it. Ensure you follow the official installation guide for a smooth process.<\/span>\n            <\/p>\n<\/li>\n<li itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\">\n<p class=\"fw-bold\" itemprop=\"name\">What should I do after uninstalling CyberPanel?<\/p>\n<p itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n                <span itemprop=\"text\">After uninstalling, you can either install another control panel, set up your server manually, or leave it as it is, depending on your requirements.<\/span>\n            <\/p>\n<\/li>\n<\/ol>\n<h2>Conclusion<\/h2>\n<p>Removing CyberPanel on Ubuntu is a straightforward process, but it&#8217;s essential to approach it with caution. By following the steps outlined in this guide, you can safely remove CyberPanel from your server.<\/p>\n<p>Always ensure that you have backed up all your critical data before starting the uninstallation.<\/p>\n<p>If you&#8217;re looking for alternative hosting solutions or platforms, consider exploring <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 hosting<\/a>, <a href=\"https:\/\/webhostinggeeks.com\/blog\/what-is-cloud-hosting\/\">cloud hosting<\/a>, or <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>CyberPanel is a popular web hosting control panel that offers a range of features for managing websites, databases, and email accounts. However, there might be situations where you need to&#8230;<\/p>\n","protected":false},"author":6,"featured_media":19957,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[1073],"tags":[2286,1856],"class_list":["post-19956","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu","tag-cyberpanel","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/19956","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=19956"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/19956\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media\/19957"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media?parent=19956"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=19956"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=19956"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}