<\/span><\/h2>\r\n\r\n\r\n\r\nSince CyberPanel has its own structure and relays on the OpenLiteSpeed server, we need to remove the default web server, database server, the default mail transfer agent, and default IMAP and POP3 server if they are already installed and their services are up and running. First, you need to stop the services before you remove them.<\/p>\r\n\r\n\r\n\r\n
sudo systemctl stop mysql.service\r\nsudo systemctl stop apache2.service\r\nsudo systemctl stop dovecot.service\r\nsudo systemctl stop postfix.service\r\n<\/pre>\r\n\r\n\r\n\r\nOnce, you stop them, you can remove the installations with the commands below:<\/p>\r\n\r\n\r\n\r\n
sudo apt-get remove -y mysql-server apache2 dovecot-core postfix<\/pre>\r\n\r\n\r\n\r\nAfter removing the unnecessary installations, reboot the system in order for the changes to take effect.<\/p>\r\n\r\n\r\n\r\n
shutdown -r now<\/pre>\r\n\r\n\r\n\r\n<\/span>Step 3.Install CyberPanel with OpenLiteSpeed<\/span><\/h2>\r\n\r\n\r\n\r\nFirst, we need to download the installation script.<\/p>\r\n\r\n\r\n\r\n
cd \/opt\r\nwget -O installer.sh https:\/\/cyberpanel.net\/install.sh\r\n<\/pre>\r\n\r\n\r\n\r\nOnce, the installations script is downloaded we need to make it executable.<\/p>\r\n\r\n\r\n\r\n
chmod +x installer.sh<\/pre>\r\n\r\n\r\n\r\nFinally, we can run the script with the command below:<\/p>\r\n\r\n\r\n\r\n
sh installer.sh<\/pre>\r\n\r\n\r\n\r\nOnce, the installer script is executed, you will need to select the available options while installing the panel:<\/p>\r\n\r\n\r\n\r\n
Select the option Install CyberPanel by entering 1<\/b> on the prompt.<\/p>\r\n\r\n\r\n\r\nroot@vps:\/opt# sh installer.sh\r\ncurl is already the newest version (7.68.0-1ubuntu2.7).\r\nwget is already the newest version (1.20.3-1ubuntu2).\r\nThe following packages were automatically installed and are no longer required:\r\n apache2-data apache2-utils libexttextcat-2.0-0 libexttextcat-data liblua5.3-0 ssl-cert\r\nUse 'apt autoremove' to remove them.\r\n0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.\r\nInitializing...\r\nFetching latest data from CyberPanel server...\r\nThis may take few seconds...\r\nBranch name fetched...v2.1.2\r\nChecking root privileges...\r\nYou are runing as root...\r\nValid IP detected...\r\nChecking server location...\r\nDesktop OS not detected. Proceeding\r\nSystem: Ubuntu 20 detected...\r\n\r\nChecking virtualization type...\r\nSynchronizing state of named.service with SysV service script with \/lib\/systemd\/systemd-sysv-install.\r\nExecuting: \/lib\/systemd\/systemd-sysv-install disable named\r\nRemoved \/etc\/systemd\/system\/multi-user.target.wants\/named.service.\r\nRemoved \/etc\/systemd\/system\/bind9.service.\r\nCreated symlink \/etc\/systemd\/system\/named.service \u2192 \/dev\/null.\r\n\r\nnamed process detected, disabling...\r\n\r\n\r\nInitialized...\r\n\r\nCyberPanel Installer v2.1.2\r\n\r\n1. Install CyberPanel.\r\n\r\n2. Exit.\r\n\r\n Please enter the number[1-2]: 1<\/b>\r\n<\/pre>\r\n\r\n\r\n\r\nOn the next step select the Install CyberPanel with OpenLiteSpeed option by entering 1<\/b> on the prompt.<\/p>\r\n\r\n\r\n\r\nCyberPanel Installer v2.1.2\r\n\r\nRAM check : 125\/3931MB (3.18%)\r\n\r\nDisk check : 3\/29GB (11%) (Minimal 10GB free space)\r\n\r\n1. Install CyberPanel with OpenLiteSpeed.\r\n\r\n2. Install Cyberpanel with LiteSpeed Enterprise.\r\n\r\n3. Exit.\r\n\r\n\r\nPlease enter the number[1-3]: 1<\/b>\r\n<\/pre>\r\n\r\n\r\n\r\nThe next step is to install the Full service for CyberPanel.<\/p>\r\n\r\n\r\n\r\n
Install Full service for CyberPanel? This will include PowerDNS, Postfix and Pure-FTPd.\r\n\r\nFull installation [Y\/n]: Y<\/b>\r\n<\/pre>\r\n\r\n\r\n\r\nFor Remote MySQL, enter N<\/b><\/p>\r\n\r\n\r\n\r\nDo you want to setup Remote MySQL? (This will skip installation of local MySQL)\r\n\r\n(Default = No) Remote MySQL [y\/N]: N<\/b>\r\n<\/pre>\r\n\r\n\r\n\r\nPress, Enter to select the latest version available.<\/p>\r\n\r\n\r\n\r\n
Press Enter key to continue with latest version or Enter specific version such as: 1.9.4 , 2.0.1 , 2.0.2 ...etc\r\n<\/pre>\r\n\r\n\r\n\r\nEnter s<\/b> to set your own strong password, for the admin user.<\/p>\r\n\r\n\r\n\r\nPlease choose to use default admin password 1234567, randomly generate one (recommended) or specify the admin password?\r\nChoose [d]fault, [r]andom or [s]et password: [d\/r\/s] s<\/b>\r\n<\/pre>\r\n\r\n\r\n\r\nPlease enter your password: YourStrongPassword<\/b>\r\nPassword: Confirm Password: YourStrongPassword<\/b>\r\n<\/pre>\r\n\r\n\r\n\r\nIn the next step, select to install the Memcached process.<\/p>\r\n\r\n\r\n\r\n
Do you wish to install Memcached process and its PHP extension?\r\nPlease select [Y\/n]: Y<\/b>\r\n<\/pre>\r\n\r\n\r\n\r\nAfter Memcached, select to install the Redis process as well.<\/p>\r\n\r\n\r\n\r\n
Do you wish to install Redis process and its PHP extension?\r\nPlease select [Y\/n]:Y<\/b>\r\n<\/pre>\r\n\r\n\r\n\r\nSelect Yes, to set up a WatchDog. After this step, the installation process of CyberPanel will start automatically, and you will need to allow some time for completion. Usually, it takes up to 30 minutes.<\/p>\r\n\r\n\r\n\r\n
Would you like to set up a WatchDog (beta) for Web service and Database service ?\r\nThe watchdog script will be automatically started up after installation and server reboot\r\nIf you want to kill the watchdog , run watchdog kill\r\nPlease type Yes or no (with capital Y, default Yes): Y<\/b>\r\n<\/pre>\r\n\r\n\r\n\r\nOnce, the installation is completed you should receive the following output. After the installation, it is recommended to restart the server.<\/p>\r\n\r\n\r\n\r\n
###################################################################\r\n CyberPanel Successfully Installed\r\n\r\n Current Disk usage : 8\/29GB (31%)\r\n\r\n Current RAM usage : 325\/3931MB (8.27%)\r\n\r\n Installation time : 0 hrs 49 min 0 sec\r\n\r\n Visit: https:\/\/YourServerIpAdress:8090\r\n Panel username: admin\r\n Panel password: *****<\/b>\r\n---------------------------------------------------------------------------------\r\n Visit: https:\/\/YourServerIpAdress:7080\r\n WebAdmin console username: admin\r\n WebAdmin console password: qYqJCl7pq58Uh<\/b>\r\n---------------------------------------------------------------------------------\r\n Visit: https:\/\/YourServerIpAdress:8090\/rainloop\/?admin\r\n Rainloop Admin username: admin\r\n Rainloop Admin password: KviPafcVSCl<\/b>\r\n---------------------------------------------------------------------------------\r\n Run cyberpanel help to get FAQ info\r\n Run cyberpanel upgrade to upgrade it to latest version.\r\n Run cyberpanel utility to access some handy tools .\r\n\r\n Website : https:\/\/www.cyberpanel.net\r\n Forums : https:\/\/forums.cyberpanel.net\r\n Wikipage: https:\/\/docs.cyberpanel.net\r\n Docs : https:\/\/cyberpanel.net\/docs\/\r\n\r\n Enjoy your accelerated Internet by\r\n CyberPanel & OpenLiteSpeed\r\n###################################################################\r\nIf your provider has a network-level firewall\r\nPlease make sure you have opened following port for both in\/out:\r\nTCP: 8090 for CyberPanel\r\nTCP: 80, TCP: 443 and UDP: 443 for webserver\r\nTCP: 21 and TCP: 40110-40210 for FTP\r\nTCP: 25, TCP: 587, TCP: 465, TCP: 110, TCP: 143 and TCP: 993 for mail service\r\nTCP: 53 and UDP: 53 for DNS service\r\nWould you like to restart your server now? [y\/N]: y<\/b>\r\n<\/pre>\r\n\r\n\r\n\r\n