LiteSpeed cPanel

Deploy LiteSpeed cPanel, a web hosting control panel for managing websites, DNS, databases, email, and more through a browser-based interface. The app installs cPanel, LiteSpeed Web Server, and the WHM/cPanel LiteSpeed plug-in, with the necessary settings configured automatically.

📘

cPanel requires a valid license to use the software beyond the initial 15-day free trial period. To purchase a license, visit cPanel’s website and select a plan that fits your needs.

LiteSpeed offers both free and paid plans. Visit LiteSpeed’s website to view available plans and pricing information.

Licenses aren't available directly through Akamai.

1. Deploy LiteSpeed cPanel

 Estimated deployment time: 10–20 minutes

Follow the deployment instructions from the Get started section to configure the app, deploy it, and verify software installation.

For information on the app-specific configurations, see the Configuration options section.

Base distribution and plan

  • Supported distribution: AlmaLinux 10
  • Recommended plans: All plan types and sizes can be used.

Configuration options

Configure the required options to deploy your instance. For additional customization, add advanced options.

The table maps the Cloud Manager UI fields to their corresponding API/CLI keys (stackscript_data) required for automated deployments.

StackScript ID: 923032

UI fieldAPI/CLI keyDescription
Required options
Limited sudo useruser_nameYour preferred username for the limited sudo user entered without any capital letters, spaces, or special characters.
When adding a limited sudo user, the user is created with a strong generated password for your new Linode instance, and the account is assigned to the sudo group, which provides elevated permissions when running commands with the sudo prefix.
Note: For easier and more secure access with the sudo user, add an account SSH key for the Cloud Manager user during deployment and select that user as an authorized_user. Their SSH pubkey will be assigned to both the root and limited user.

Verify installation

To determine if the installation has completed successfully, log in to your instance through SSH or Lish and run the tail -3 /var/log/stackscript.log command.

The output should confirm the successful installation and provide you with an auto-generated password. You must reset it before accessing the LiteSpeed WebAdmin panel.

**LITESPEED AUTOINSTALLER COMPLETE**
Install finished! Your randomly generated admin password for the LiteSpeed WebAdmin interface on port 7080 is [p@ssw0rd]
Please make sure to save this password.

Use API, CLI, or Terraform

In addition to deploying the app to a new Linode instance via Cloud Manager, you can also use the Linode API, CLI, or Terraform. When running the operation, you need to provide the StackScript ID, supported Linux distribution, and app-specific fields along with the standard Linode deployment configurations.

Note: Generate a personal access token to authenticate your API, CLI, or Terraform requests.

curl --location 'https://api.linode.com/v4/linode/instances' \
    --header 'Content-Type: application/json' \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer abc123def456hij789klm' \
    --data-raw '{
        "region": "us-east",
        "type": "g6-standard-2",
        "image": "linode/almalinux10",
        "label": "my-litespeed-cpanel-one-click-app",
        "root_pass": "@C0mpl3x#P@ssw0rd",
        "stackscript_id": 923032,
        "stackscript_data": {
            "user_name": "jsmith"
        }
    }'
linode-cli linodes create \
    --region us-east \
    --type g6-standard-2 \
    --label my-litespeed-cpanel-one-click-app \
    --image linode/almalinux10 \
    --root_pass @C0mpl3x#P@ssw0rd \
    --stackscript_id 923032 \
    --stackscript_data '{"user_name":"jsmith"}'
resource "linode_instance" "my-linode" {
    region         = "us-east"
    type           = "g6-standard-2"
    label          = "my-litespeed-cpanel-one-click-app"
    image          = "linode/almalinux10"
    root_pass      = "@C0mpl3x#P@ssw0rd"
    stackscript_id = 923032
    stackscript_data = {
        "user_name" = "jsmith"
    }
}

2. Access WHM/cPanel

  1. Open your web browser and navigate to http://[ip-address]:2087, replacing [ip-address] with your Linode instance’s IPv4 address. See the Manage IP addresses on a Linode guide for information on viewing your IP address.

  2. On the WHM login page, enter root as the username and the root password you created when deploying your instance. Click the Log in button to continue.

  3. Read through cPanel and WHM’s terms and click Agree to All if you agree and would like to continue.

  4. You're then prompted to log in to cPanel’s website and obtain a license or activate a free 15-day trial license.

  5. On the next page, provide an email address to receive status and error notifications.

    You're also prompted to provide nameservers for your cPanel instance. By default, cPanel fills in these values for you. Update the values with the nameservers you'd like to use. If you're managing your own nameservers, enter them in the form. If you're using Linode’s DNS manager, provide Linode’s nameservers. Click Finish to complete the initial login process.

    📘

    Linode’s nameservers

    Linode’s nameservers are the following:

    ns1.linode.com
    ns2.linode.com
    ns3.linode.com
    ns4.linode.com
    ns5.linode.com

    See our How do I set up DNS on cPanel? community question-and-answer for details on cPanel and Linode nameservers.

  6. You're then redirected to the WHM’s home page where you can continue configuring your cPanel instance.

3. Access LiteSpeed WebAdmin UI

  1. Log in to your instance through SSH or Lish.
  2. Run the /usr/local/lsws/admin/misc/admpass.sh script to reset your password.
  3. When requested, enter admin as the username and set your desired password.
  4. Once finished, open your web browser and navigate to http://[ip-address]:7080, replacing [ip-address] with your Linode instance’s IPv4 address. See the Manage IP addresses on a Linode guide for information on viewing your IP address.
  5. On the LiteSpeed WebAdmin Console login prompt, enter admin as the username and use the password you set in the previous step.
  6. After logging in, the LiteSpeed WebAdmin Console appears.

Additional resources

For more information about the installed packages, see their official documentation.

📘

Note that we can't vouch for the accuracy or timeliness of externally hosted resources.


Did this page help you?