index.php file

Simplified VPS Management: Installing LiteSpeed and CyberPanel Made Easy!

– A guide for non-technical users

What is a VPS?

A VPS, or Virtual Private Server, is like having a condo in a building. Even though you share the building with others, you have your own space that you can decorate and use however you like. Similarly, a VPS shares a physical computer with other VPSs, but you get your own portion of that computer that no one else can touch. This gives you more control and room to do things compared to sharing a space, like in shared hosting, which is more like living in a crowded dorm room.

Typically, this does not come with a control panel like cPanel. You will have to install and set up everything from scratch, including control panels like cPanel or CyberPanel.

Most VPS providers offer CentOS as the default operating system installed on their servers. When you receive your VPS, it will already be running CentOS within a Linux environment. This setup is where you’ll need to install applications like CyberPanel.

This is a fresh VPS account with CentOS installed.

This is a fresh VPS account with CentOS installed

What is a CyberPanel?

CyberPanel is a web hosting control panel, much like a dashboard that helps you manage websites on your server easily, without needing to use complex command lines. Think of it as a remote control for your TV, but instead of controlling a TV, it controls your server.

With CyberPanel, you can create and manage websites, set up and manage email accounts, handle domains, secure your websites with free SSL certificates, and more, all through a simple, user-friendly interface. This makes it an excellent tool for people who aren’t very technical but need to manage web hosting or servers.

If you look at the screenshot in the previous section, you can see there is no control panel to manage or create websites. Therefore, we will need to install CyberPanel.

Why CyberPanel? Not cPanel?

Choosing between CyberPanel and cPanel for managing a VPS can be compared to choosing between different types of remote controls based on what features they offer and how easy they are to use. Here’s a simplified explanation focusing on CyberPanel, especially considering its compatibility with LiteSpeed, Linux, and VPS:

CyberPanel:

cPanel:

In summary, if you are using a VPS with Linux and LiteSpeed, CyberPanel offers a cost-effective, user-friendly, and well-integrated solution for managing your server and websites, making it a compelling choice over cPanel for many users, especially those looking for a budget-friendly option.

What is LiteSpeed?

LiteSpeed is a type of web server software, which is a program that helps deliver content from websites to your browser. Think of it like a waiter at a restaurant. When you order a dish, the waiter goes to the kitchen to get it and then brings it to your table. Similarly, when you request a webpage, LiteSpeed retrieves the website’s data (like text, pictures, and videos) and sends it to your internet browser so you can see the website.

LiteSpeed is known for being very fast and efficient, which means it can serve up web pages quicker than some other web servers. It’s particularly good at handling lots of visitors at the same time, making it a popular choice for websites that expect a lot of traffic or want to load quickly for their visitors.

For setting up CyberPanel on a VPS with Ubuntu and LiteSpeed, you’ll need to have a few prerequisites in place. Here’s a detailed list of what you should have ready before starting the installation process:

Prerequisites for Installing CyberPanel in LiteSpeed Server:

  1. A VPS with an Operating System Installed:
    • Litespeed server can be installed on Linux kernels 3.0 or higher, CentOS 7 or later, Ubuntu 18.04 or later, Debian 9 or later, and FreeBSD 12.04 or later. However, the latest version of CyberPanel does not support CentOS 7 (as of the time I am writing this, Apr 2024). Therefore, for compatibility with both LiteSpeed and the latest CyberPanel, I am installing Ubuntu as my operating system for the VPS. You can refer to the following links for more information on the system requirements:


LiteSpeed requirements: https://docs.litespeedtech.com/lsws/#operating-system
CyberPanel requirements: https://community.cyberpanel.net/docs?topic=82

Option to install an OS in a famous VPS hosting plan backend

  1. Root Access:
    • You will need root access to your VPS. This allows you to perform administrative tasks and install software. You should have the root username and password ready. You can find that in the email that you received during your VPS purchase.
  2. SSH Client:
    • For Windows Users: Download and install an SSH client like PuTTY. This will allow you to securely connect to your VPS from your Windows computer. You can download PuTTY from https://www.putty.org/, but I will be using MobaXterm throughout this tutorial, which is available at https://mobaxterm.mobatek.net/. The Bash commands are the same for both.
    • For macOS Users: macOS comes with a Terminal application that can be used to SSH directly into your VPS.
  3. Stable Internet Connection:
    • A reliable internet connection is necessary to download CyberPanel and other necessary software updates during the installation process.
  4. LiteSpeed License (Optional):
    • If you plan to use the enterprise version of LiteSpeed Web Server, you need to purchase a license. However, CyberPanel works with both OpenLiteSpeed, which is free, and the enterprise version of LiteSpeed.
  5. At least 2 GB of RAM:
    • Your VPS should have a minimum of 2 GB of RAM to run CyberPanel effectively, although more may be recommended based on your expected server load and the number of websites you plan to host.
  6. Minimum 10 GB of Disk Space:
    • Ensure that your VPS has at least 10 GB of available disk space. This is necessary to install CyberPanel and any websites or applications you want to host.


Once these prerequisites are in place, you can proceed with the installation of CyberPanel, setting up a stable and powerful hosting environment on your VPS.

Step 1: Connect to Your VPS

Start Local terminal in MobaXterm

ssh root@your_vps_ipssh root@your_vps_ip

Step 2: Update the Packages

yum check-update
yum update

Wait until the system finishes updating the packages. During this process, it may prompt you for confirmations and ask you to choose ‘yes’ or ‘no.’ Simply type ‘Y’ or ‘N’ and press the Enter key when prompted

Step 3: Run the Installation Script

Now that you are logged in to your server and updated the necessary packages you can install CyberPanel and LiteSpeed.

Type in the command below. It will start an automatic installation process. You’ll be asked some questions about which LiteSpeed version and extras you want to install. This command checks if curl is installed; if not, it tries wget to download and run the CyberPanel installation script.

sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)

Step 4: LiteSpeed Version

Choose the LiteSpeed version you want to install. If you choose LiteSpeed Enterprise, make sure you have a license key. While it’s free for one domain, you still need to get the key. Check the pricing table to decide on your preferred plan: https://litespeedtech.com/products
If you choose LiteSpeed Enterprise, you will be prompted to enter your serial number. If you don’t have a license, you can use a trial license by typing ‘TRIAL’ if the server hasn’t used one before. 


I’m choosing OpenLiteSpeed because it’s sufficient for demonstrating the tutorial steps and is ideal for beginners.

Step 5: Select Options and Add-ons

You will be presented with a series of prompts for different options and add-ons that are available. These include:

For all subsequent prompts, you can choose the ‘Default’ option. When prompted for the CyberPanel version, simply press the ‘Enter’ key to install the latest version. You don’t need to specify a particular version unless you have a specific requirement.

Step 6: Installation

The installation process will kick off automatically and will take approximately 5-10 minutes. The speed of your server will determine how quickly this will be completed.

By the end of the installation process, you will get the details to log in to your CyberPanel including your randomly generated Cyber Panel password.

Let’s say your IP address of the VPS is  12.12.12.21then your CyberPanel login URL will be 12.12.12.21:8090
You can log in there using the panel username and panel password that you get in the last step of the installation. 

Step 7: Restart the Server

After entering the login details, you’ll be prompted:

Would you like to restart your server now? [y/N]:

Enter ‘y’ to restart immediately. Alternatively, you can enter ‘reboot’ later after completing any other desired operations.

Step 8: How to Confirm LiteSpeed was installed correctly or not.

  1. Log in to the cyber panel using the credentials you got by the end of the installation
  2. Scroll down to the section Server > Server Status
  3. Click on LiteSpeed Staus 

  1. You can see your LiteSpeed server status there

If you’re still connected to SSH and want to use another one-liner of Bash code to check this, run the following command:

/usr/local/lsws/bin/lswsctrl status

This command will display the current status of the LiteSpeed web server. If LiteSpeed is running, it will show as “running”; if it’s stopped, it will show as “stopped”.
If you see any of these messages that means your VPS has LiteSpeed webserver now.

Congratulations! You have successfully installed CyberPanel on your Ubuntu or on the the OS you’ve selected with LiteSpeed. You are now ready to host your websites, set up email accounts, and much more. CyberPanel makes web hosting easy and efficient, even for non-technical users, while LiteSpeed helps deliver website resources faster.

Step 9: How to make the most from LiteSpeed Web Server?

Once you’ve successfully installed the LiteSpeed webserver along with CyberPanel, there are several steps you can take to ensure that you are making the most out of its capabilities. LiteSpeed is known for its performance and efficiency, especially in handling high traffic and reducing server load. Here are some recommendations to optimize and secure your setup. These steps may require further explanation for better understanding. I plan to create additional blog posts and tutorials soon to explain these concepts in an easier way for non-technical users

1. Enable LSCache

LiteSpeed’s caching solution, LSCache, is one of the most effective tools to enhance your website’s loading speed. If you are using CMSs like WordPress, Joomla, or Drupal, make sure to install the respective LSCache plugins for those applications.

You can read more here: https://docs.litespeedtech.com/lscache/ 

2. Optimize PHP Settings

Adjust the PHP settings through CyberPanel to match the needs of your applications:

3. Configure SSL/TLS

Securing your website with HTTPS is crucial. LiteSpeed makes it easy to set up SSL/TLS:

4. Set Up HTTP/3

LiteSpeed supports HTTP/3, the latest version of the HTTP protocol, which provides improved performance. Make sure it’s enabled to enhance the loading times for users on supported browsers.

5. Utilize Web Server Security Features

LiteSpeed has built-in security features that help protect your server:

6. Implement Content Delivery Network (CDN)

Integrating a CDN can significantly reduce the load on your LiteSpeed server and improve global access speeds:

You can read further here: https://www.quic.cloud/ 

7. Enable GZIP/Brotli Compression

LiteSpeed supports both GZIP and Brotli compression. Enabling these can reduce the size of the data sent from your server to the user, which improves load times and reduces bandwidth usage.

8. Monitor Server Performance

Regular monitoring of your server’s performance can help identify potential issues before they become serious problems:

9. Keep Software Up to Date

Ensure that your LiteSpeed server, CyberPanel, and all applications (especially CMSs) are regularly updated to the latest versions. This helps in maintaining security and performance.

10. Configure Backups

Set up regular backups for your server to prevent data loss in case of hardware failure or security breaches. CyberPanel offers easy options for scheduling backups.

Implementing these steps will help you maximize the efficiency, performance, and security of your LiteSpeed webserver. Each step contributes to a robust and responsive web hosting environment, providing a better experience for both you and your visitors.


Ps:

If you’re interested in my expertise for your business or projects, or if you would like to hire me full-time or part-time you can reach me using the contact form located at the bottom of this site.

How WordPress Expertise Can Elevate Your Digital Marketing Game!

If you’re a digital marketer working in a small or startup company, you might find yourself handling everything from graphic design and #scriptwriting to video shooting and editing, not to mention creating SEO-friendly #websites. Essentially, you’re doing the work of an entire team or department on your own. Yet, often, you’re compensated with a salary that reflects just a single role. But that’s a story for another time. 🙂

Normally, creating a #website or outsourcing the task can be quite costly. However, if you have at least a basic understanding of how to create a WordPress site, you can reallocate that budget elsewhere.

I’m here to help you grasp the fundamentals of #WordPress site creation, and I’ll guide you through crafting the perfect WordPress site. To achieve this, I will be creating a series of tutorial blog posts dedicated to WordPress websites.

In this post, we’ll explore how mastering WordPress can benefit a digital marketer or enhance your skills in the digital marketing field.

Diving into WordPress might just be the game-changer you need, even if you’re not a coding guru. Let’s explore how adding WordPress skills to your repertoire can skyrocket your credibility and value in the digital #marketing sphere.

1. Beyond the Developer Tag

It’s an open secret in our industry: some web designers and WordPress agencies boast about being engineers and developers when, in reality, they’re leveraging the same non-developer WordPress skills we’ll explore. These skills are powerful, enabling you to create, optimize, and manage websites without deep coding knowledge.

2. Empowerment and Independence

By mastering these WordPress skills, you’ll not only boost your marketing strategies but also bring significant cost savings and efficiency improvements to your organization. Imagine cutting down on external consultancy fees or reducing the time spent waiting for technical tweaks. Yes, these skills can make that possible!

3. A Bridge Between Technical and Creative

Understanding WordPress bridges the gap between technical know-how and creative marketing. You’ll gain insights into the nuts and bolts of web functionality, which can enrich your strategic thinking and enable you to craft more effective campaigns.

4. Enhanced Collaboration

When you speak the language of WordPress, you can communicate more effectively with developers and designers. This synergy can lead to more cohesive and innovative digital projects, amplifying your marketing results.

5. Trust and Credibility

When clients or employers know you can handle WordPress, they’ll see you as a versatile and resourceful digital marketer. This added layer of trust enhances your professional image and can open doors to new opportunities and collaborations.

6. Stay Ahead of the Curve

WordPress is ever-evolving, with new features and plugins constantly emerging. By staying up-to-date, you can harness the latest tools to keep your marketing strategies fresh and effective, setting you apart from the competition.

7. Cost-Effective

By managing WordPress sites, you can cut down on outsourcing costs for your clients or your organization, providing value and demonstrating your commitment to maximizing resources.

8. The SEO Advantage

A solid grasp of WordPress means you can directly implement SEO best practices, ensuring that your content reaches its target audience effectively and enhances your overall marketing efforts.

So, dear digital marketers, by embracing WordPress, you’re not just adding another skill to your CV—you’re empowering yourself with a versatile tool that can enhance every facet of your digital marketing strategy, making you a more autonomous, innovative, and valuable professional in the digital realm.

A Word of Encouragement

Now, here’s something important to remember: even if you arm yourself with these skills and start making a tangible impact, you might still encounter skepticism. Some bosses (not leaders), especially those fixated on numbers or lacking a deep understanding of digital marketing nuances, might not immediately see your value. If you find yourself in this situation, remember – their perception does not define your worth or the effectiveness of your skills.

Remember, in a world where some might not recognize your contributions, your knowledge, and ability to adapt and save resources are invaluable assets. If someone who’s more about spreadsheets than innovation fails to see your value know that it’s their limitation, not yours.

Stay empowered, stay innovative!

Are you a digital marketer or a WordPress expert? How are you utilizing these skills in the digital marketing realm? Let me know in the comments section.


Ps:

If you’re interested in my expertise for your business or projects, or if you would like to hire me full-time or part-time you can reach me using the contact form located at the bottom of this site.

Contact Me

Let's Connect

How can I be useful to you?

I am currently looking for a full-time remote job. In the meantime, I am also available for any freelancing work within my expertise, which you can find in my contact form

** If you are considering employing me for a traditional office job, I would be open to it if offered a fair salary and if the job is located in a country I prefer.


128 City Road, London, EC1V 2NX, UNITED KINGDOM.