{"id":2092,"date":"2020-12-10T20:32:17","date_gmt":"2020-12-10T18:32:17","guid":{"rendered":"https:\/\/upcloud.com\/global\/us\/resources\/tutorials\/install-wordpress-cyberpanel-ubuntu\/"},"modified":"2026-04-23T14:24:21","modified_gmt":"2026-04-23T13:24:21","slug":"install-wordpress-cyberpanel-ubuntu","status":"publish","type":"tutorial","link":"https:\/\/upcloud.com\/global\/resources\/tutorials\/install-wordpress-cyberpanel-ubuntu\/","title":{"rendered":"How to install WordPress with CyberPanel on Ubuntu"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Cyberpanel is a free web hosting control panel and a great cPanel alternative that works on top of the OpenLiteSpeed server. You can deploy several web applications with CyberPanel such as WordPress, Magento, Prestashop, and Opencart to name a few.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Furthermore, on CyberPanel you can also manage SSL certificates, use a user-friendly file manager, and configure the web application firewall. With a ton of features and a powerful server stack, CyberPanel is the control panel loved by modern developers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this tutorial, we will install the CyberPanel with OpenLiteSpeed server on a simple cloud server running Ubuntu 20.04 or 18.04.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Deploying Cloud Server<\/li>\n\n\n\n<li>Installing CyberPanel<\/li>\n\n\n\n<li>Accessing the admin panel<\/li>\n\n\n\n<li>Setting up a hostname domain and SSL<\/li>\n\n\n\n<li>Accessing CyberPanel on secure URL<\/li>\n\n\n\n<li>Creating a website in CyberPanel<\/li>\n\n\n\n<li>Installing WordPress with LSCache<\/li>\n<\/ol>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/signup.upcloud.com\/\">Test hosting on UpCloud!<\/a><\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Deploying Cloud Server<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Go ahead and deploy a new UpCloud server with Ubuntu 20.04 or 18.04 by logging in to your&nbsp;<a href=\"https:\/\/hub.upcloud.com\/\" target=\"_blank\" rel=\"noopener\">UpCloud Control Panel<\/a>&nbsp;and clicking <em>Deploy server<\/em>. If you are new to UpCloud, you can get started with the free trial by <a href=\"https:\/\/signup.upcloud.com\/\" target=\"_blank\" rel=\"noopener\">signing up<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The deployment page shows a number of options for customizing a new Cloud Server.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Choose the server location from the available data centres<\/li>\n\n\n\n<li>Pick a configuration, the $5 per month plan is a&nbsp;good starting point<\/li>\n\n\n\n<li>Select Ubuntu 20.04 or 18.04 for the operating system<\/li>\n\n\n\n<li>Add any SSH keys you want to use<\/li>\n\n\n\n<li>Give your server a hostname and description<\/li>\n\n\n\n<li>Deploy!<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">You can find more detailed instructions on server deployment at the <a href=\"https:\/\/upcloud.com\/global\/docs\/guides\/deploy-server\/\" target=\"_blank\" rel=\"noreferrer noopener\">UpCloud newcomer\u2019s tutorials<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once you\u2019ve deployed your server, <a href=\"https:\/\/upcloud.com\/global\/docs\/guides\/connecting-to-your-server\/\" target=\"_blank\" rel=\"noreferrer noopener\">connect to your cloud server<\/a>\u00a0using your preferred SSH client.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installing CyberPanel<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">When logging into a fresh deployment for the first time, it\u2019s always recommended to make sure you are running the latest software and security patches. Update and upgrade the packages list on the server with the following command.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt-get update &amp;&amp; sudo apt-get upgrade -y<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Next, to install CyberPanel you\u2019ll need to download the installation script. You can do this for example in the <em>\/tmp<\/em> folder which is cleaned up automatically at each reboot. Change into the directory then use wget to down the install script with the commands below.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd \/tmp<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">wget -O installer.sh https:\/\/cyberpanel.net\/install.sh<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The installation script needs to be made executable. Change the file permissions of the script we just downloaded using <em>chmod<\/em> as shown underneath.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">chmod +x installer.sh<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Then run the installer using the next command.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sh installer.sh<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Once you run the script, the shell will take you through the installation and ask to input preferences. You can do that as below.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">~~~~~~~~~~\nGithub URL: github.com\/usmannasir\/cyberpanel\nGithub Content URL: raw.githubusercontent.com\/usmannasir\/cyberpanel\nGithub Branch: v2.0.3\n~~~~~~~~~~\n\nInitializing...\nValid IP detected...\nChecking server...\nChecking OS...\nDetecting Ubuntu 20.04 ...\nChecking virtualization type...\nChecking root privileges...\nYou are runing as root...\n\nCyberPanel Installer v2.03\n\n  1. Install CyberPanel.\n  2. Addons and Miscellaneous\n  3. Exit.\n\n  Please enter the number[1-3]: 1<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Type 1 and press enter to select to Install CyberPanel.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">CyberPanel Installer v2.03\n\n  RAM check : 152\/981MB (15.49%)\n  Disk check : 2\/25GB (10%) (Minimal 10GB free space)\n  1. Install CyberPanel with OpenLiteSpeed.\n  2. Install Cyberpanel with LiteSpeed Enterprise.\n  3. Exit.\n\n  Please enter the number[1-3]: 1<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To install CyberPanel with OpenLiteSpeed (free version), choose 1. In case you have a license of the LiteSpeed Enterprise server, feel free to choose 2 instead.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you\u2019re not sure which one you should select, simply choose 1 and fill up the license later.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Afterwards, answer the remaining questions as shown below.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Install Full service for CyberPanel? This will include PowerDNS, Postfix and Pure-FTPd.\nFull installation [Y\/n]: Y<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Type Y and press enter to install full-service CyberPanel that will include DNS Manager, File Manager, Database manager, and Email server as well.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Do you want to setup Remote MySQL? (This will skip installation of local MySQL)\n(Default = No) Remote MySQL [y\/N]: &nbsp;N<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Remote MySQL is used very rarely. In most cases, you have the database server on the same machine called the localhost. To choose localhost for your database, Type N and press enter.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Press Enter key to continue with the latest version or Enter a specific version such as: 1.9.4 , 2.0.1 , 2.0.2 ...etc.\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">When asked to select the installed version, simply press enter to use the latest version.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Please choose to use default admin password 1234567, randomly generate one (recommended) or specify the admin password?\nChoose [d]fault, [r]andom or [s]et password: [d\/r\/s] : S<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Setting a unique password is recommended for better security. Type S, press enter. You\u2019ll be prompted to enter a password twice.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Do you wish to install Memcached extension and backend?\nPlease select [Y\/n]: y\n\nDo you wish to install Redis extension and backend?\nPlease select [Y\/n]: y\n\nWould you like to set up a WatchDog (beta) for Web service and Database service?\nThe watchdog script will be automatically started up after installation and server reboot\nIf you want to kill the watchdog, run watchdog kill\nPlease type Yes or no (with capital Y, default Yes):\nYes<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">After you answer all the questions in the installation wizard the script will take care of the rest. Hold tight for 5-10 minutes as the installer will install and set up CyberPanel for you. Once the installation finishes, you\u2019ll see an output similar to the example below.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">CyberPanel Successfully Installed\nCurrent Disk usage : 7\/25GB (33%)\n\nCurrent RAM &nbsp;usage : 288\/981MB (29.36%)\n\nInstallation time &nbsp;: 0 hrs 7 min 16 sec\n\nVisit: https:\/\/94.237.110.25:8090\nPanel username: admin\nPanel password: *****\nWebAdmin console username: admin\nWebAdmin console password: mSlj3t7lzFIJKwx7<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Right after the completion output, the shell asks you to restart the server or continue without restarting the server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Simply type N and press enter to continue without a restart.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Would you like to restart your server now? [y\/N]: N<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">At this point, you have installed all the required packages and their extensions to host a website with the OpenLiteSpeed server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Accessing the Admin Panel<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">CyberPanel is managed through their easy-to-use but powerful web dashboard. By default, the admin dashboard is accessible via the port 8090. You can visit your admin panel by entering your server IP address in your browser followed by the port number.<\/p>\n\n\n\n<figure class=\"wp-block-embed\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/94.237.110.25:8090\n<\/div><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Replace 94.237.110.25 with your server\u2019s public IP address.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/1-cyberpanel-login.png\" alt=\"CyberPanel login\" class=\"wp-image-19006\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The administrator dashboard gives you access to manage everything on the server. You can even use the inbuilt terminal to execute your SSH commands.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/2-cyberpanel-dashboard-1.png\" alt=\"CyberPanel dashboard\" class=\"wp-image-19154\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Feel free to have a look around the dashboard before continuing with the next steps.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Creating the HostName Domain<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">At this stage, you can access the admin panel using your server\u2019s IP address followed by the port number. However, when you log in to your administrator panel, you will see the unsecured page warning due to the self-signed SSL certificates installed by default.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We can fix this by obtaining SSL certificates from a trusted certificate authority such as Let\u2019s Encrypt. To do so will require an FQDN, fully qualified domain name. You\u2019ll need to have a registered domain name and set up an A record that points the domain to the public IP address of your Cloud Server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 1.<\/strong> Add an A record in your domain\u2019s DNS zone.<br><strong>Step 2.<\/strong> Create a subdomain, e.g. \u201cserver\u201d and set the server\u2019s public IP address as the destination.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This can generally be done at your domain registrar&#8217;s service. Read more about <a href=\"https:\/\/upcloud.com\/global\/blog\/domain-name-system\/\" target=\"_blank\" rel=\"noreferrer noopener\">DNS and how to configure DNS records<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 3.<\/strong> Login to your Admin dashboard and use the main menu on the left to go to:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Websites &gt; Create Website<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/3-cyberpanel-create-website-1.png\" alt=\"CyberPanel create website\" class=\"wp-image-19155\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 4.<\/strong> In the website details, choose the default <em>Package<\/em> and <em>admin<\/em> as the owner. Add your domain or subdomain that you configured above, e.g. <em>server.example.com<\/em> then select the PHP version and click on <em>Create Website.<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/4-cyberpanel-configuring-website-1.png\" alt=\"CyberPanel configuring website\" class=\"wp-image-19156\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 5.<\/strong> Once the site is created, install the hostname SSL to enable the secure HTTPS on your CyberPanel dashboard. Go to:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>SSL &gt; Hostname SSL<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/5-cyberpanel-hostname-ssl-1.png\" alt=\"CyberPanel hostname SSL\" class=\"wp-image-19157\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 6.<\/strong> Choose the <em>Website<\/em> you want to use as the dashboard URL and click on <em>Issue SSL<\/em>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/6-cyberpanel-issuing-hostname-ssl-1.png\" alt=\"CyberPanel issuing hostname SSL\" class=\"wp-image-19158\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">CyberPanel will then use Let\u2019s Encrypt to obtain free certificates for your dashboard domain.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Access CyberPanel on Secure URL<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">At this point, you can access the CyberPanel dashboard on your very own domain name securely.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Type the domain name followed by the port number <em>8090<\/em> in your browser and the login screen should open now.<\/p>\n\n\n\n<figure class=\"wp-block-embed\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/server.example.com:8090\n<\/div><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Remember to replace <em>example.com<\/em> with your domain name.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Creating a Website in CyberPanel<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">CyberPanel with OpenLiteSpeed server is the best way to host multiple websites on a cloud server. It all starts with your first website.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Note that you\u2019ll need to create another A record which can be done at your domain registrars service. Read more about <a href=\"https:\/\/upcloud.com\/global\/blog\/domain-name-system\/\" target=\"_blank\" rel=\"noreferrer noopener\">DNS and how to configure DNS records<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once your domain name is all set, create a new website just like when adding the hostname site. Go to:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Websites &gt; Create Website<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/7-cyberpanel-creating-website-1.png\" alt=\"CyberPanel creating website\" class=\"wp-image-19159\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Again, choose the default <em>Package<\/em>, select <em>admin<\/em> as the owner and type your domain name. Type your email address and select the PHP version \u2013 PHP 7.4 (recommended)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Check all the additional features and click the <em>Create Website<\/em>&nbsp;button.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You should now be able to visit CyberPanel\u2019s default page when you visit your domain name in the browser.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/8-cyberpanel-default-page.png\" alt=\"CyberPanel default page\" class=\"wp-image-19013\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">If you are seeing the page like above, your new website is ready to start hosting actual content. Continue below with steps on how to install WordPress on CyberPanel.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installing WordPress with LSCache<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The best thing about CyberPanel is that you do not need to mess with the database shell and the SSH console much. It comes packed with an auto-installer that you can use to install any script.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Not just WordPress, you can also install Joomla, Prestashop or Magento. Go to the following section:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Websites &gt; List Websites<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Next, select your domain name for which you want to install the WordPress site.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/9-cyberpanel-managing-website-1.png\" alt=\"CyberPanel managing website\" class=\"wp-image-19161\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Then scroll down to the list of installable applications and start the configuration by clicking the <em>WP + LSCache<\/em> icon.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/10-cyberpanel-install-wordpress-1.png\" alt=\"CyberPanel install WordPress\" class=\"wp-image-19162\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">You\u2019ll then be presented with the WordPress installation wizard. Fill up the form as follows:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Blog Title \u2013 The brand name with Capitalization<\/li>\n\n\n\n<li>Login user \u2013 Type an administrator username. Make sure it is unique to enhance security<\/li>\n\n\n\n<li>Login Password \u2013 Choose a login password for the administrator user<\/li>\n\n\n\n<li>Email \u2013 Type the administrator email address<\/li>\n\n\n\n<li>Path \u2013 Leave it blank<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Once all set, click the <em>Install Now<\/em> button and wait for a few seconds as it installs the WordPress CMS and LiteSpeed Cache plugin.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/11-cyberpanel-configuring-wordpress-1.png\" alt=\"CyberPanel configuring WordPress\" class=\"wp-image-19163\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Congratulations! You should now be able to visit your brand new WordPress site in your browser.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/12-cyberpanel-wordpress-default-page.png\" alt=\"CyberPanel WordPress default page\" class=\"wp-image-19017\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">If you see the WordPress default page, your installation was successful and you can get started customising your page.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion and next steps<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">WordPress runs lightning quick on the top of the OpenLiteSpeed web server with little left to be desired.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You might want to begin configuring your new site by using the following menus.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Databases &gt; PHPMYadmin<\/li>\n\n\n\n<li>Users &gt; Create New User<\/li>\n\n\n\n<li>PHP &gt; Edit PHP Configs<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Happy coding!<\/p>\n","protected":false},"author":47,"featured_media":19006,"comment_status":"open","ping_status":"closed","template":"","community-category":[223,250,277],"class_list":["post-2092","tutorial","type-tutorial","status-publish","has-post-thumbnail","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/tutorial\/2092","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/tutorial"}],"about":[{"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/types\/tutorial"}],"author":[{"embeddable":true,"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/comments?post=2092"}],"version-history":[{"count":1,"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/tutorial\/2092\/revisions"}],"predecessor-version":[{"id":6456,"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/tutorial\/2092\/revisions\/6456"}],"wp:attachment":[{"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/media?parent=2092"}],"wp:term":[{"taxonomy":"community-category","embeddable":true,"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/community-category?post=2092"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}