Updated on 2024-09-27 GMT+08:00

Managing Servers Using the BT Panel

Application Scenario

The BT panel is a visualized server management software that supports more than 100 server management functions, such as one-click LAMP, LNMP, monitoring, website, FTP, database, and Java. Supported By FlexusL, the BT panel application image uses Ubuntu 22.04 and provides a web client for you to manage servers, such as website or file management, graphical monitoring, and task planning. You can use this application image to manage servers.

Resource Planning and Costs

Resource

Configuration

Description

Cloud server

  • vCPUs: 2
  • Memory: 2 GiB

A BT panel application image requires at least 2 vCPUs and 2 GiB of memory. Select appropriate instance specifications accordingly.

Image

BT panel

Select the BT panel application image.

Security group

Inbound rule:

  • Protocol/Application: TCP
  • Port: 80,443,8888,9090,3306
  • Source: 0.0.0.0/0
  • 80: Allows HTTP traffic to FlexusL instances.
  • 443: Allows HTTPS traffic to FlexusL instances.
  • 8888: Allows access to the BT panel.
  • 3306: Allows access to MySQL databases.
  • 9090: Allows access to the phpMyAdmin database management tool

Process

Procedure

Description

Step 1: Purchase a FlexusL Instance

Purchase a FlexusL instance and select the BT panel application image.

Step 2: Configure a Security Group

Add inbound security group rules to ensure that the application preinstalled in the image can be accessed.

Step 3: Initialize the BT Panel

Log in to the BT dashboard and install the basic software bundle.

Step 4: Deploy the BT Panel

On the dashboard, perform the following operations:

Step 1: Purchase a FlexusL Instance

  1. Log in to the FlexusLconsole and click Buy FlexusL.
  2. Specify required parameters for the FlexusL instance.

    Parameter

    Example

    Description

    Region

    CN-Hong Kong

    For low network latency and quick resource access, select the region nearest to your target users. After a FlexusL instance is created, the region cannot be changed. Exercise caution when selecting a region.

    Application Images

    BT panel

    Select the BT panel application image.

    Instance Specifications

    2 vCPUs | 2 GiB of memory and 60 GiB system disk

    Select instance specifications as needed.

    Instance Name

    BT-Example

    Customize an instance name that is easy to identify, for example, BT-Example.

    (Optional) Associated Services

    • Data disk: 10 GiB
    • Host security
    • Cloud backup vault: 70 GiB

    You can bundle any of the services to your FlexusL instances as needed: EVS, HSS (basic edition), and CBR and set specifications as needed.

    Required Duration

    1 month

    The minimum duration of a purchase is one month and the maximum duration is three years.

    Auto-renew is enabled by default, which means the purchased FlexusL instances will be automatically renewed before they expire. If you do not enable auto-renew during the purchase process, you can still enable it later after the instances are created. For more information about auto-renewal rules, see Auto-Renewal Rules.

    Quantity

    1

    Set the number of FlexusL instances to be purchased.

  3. Click Buy Now and complete the payment as prompted.
  4. Go back to the FlexusL console and view the purchased FlexusL instance.

    After a FlexusL instance is created using an application image, wait until the image with the pre-installed application is up and running. Then, you can perform operations such as restarting or stopping the instance, or resetting the password. Otherwise, the installation may fail and you cannot log in to the image application dashboard.

Step 2: Configure a Security Group

  1. Log in to the FlexusL console and click a resource card to go to the instance details page.
  2. In the navigation pane on the left, choose Cloud Servers. Locate the server and click its name.

  3. On the Security Groups tab, click Add Rule. In the displayed dialog box, add rules displayed in the following figure and click OK.

    The following figure only displays common rules. You can add more rules as needed.

    Table 1 Security group rules

    Priority

    Action

    Type

    Protocol & Port

    Source

    Description

    1

    Allow

    IPv4

    TCP: 3306

    0.0.0.0/0

    Allows access to MySQL databases.

    1

    Allow

    IPv4

    TCP: 9090

    0.0.0.0/0

    Allows access to the phpMyAdmin database management tool.

    1

    Allow

    IPv4

    TCP: 8888

    0.0.0.0/0

    Allows access to the BT panel dashboard.

    1

    Allow

    IPv4

    TCP: 443

    0.0.0.0/0

    Allows HTTPS traffic to FlexusL instances.

    1

    Allow

    IPv4

    TCP: 80

    0.0.0.0/0

    Allows HTTP traffic to FlexusL instances.

Step 3: Initialize the BT Panel

The image application dashboard needs to be initialized only when you log in for the first time.

  1. Obtain the administrator username and password for logging in to the BT panel.

    Log in to the server and run sudo cat /credentials/password.txt to obtain the username and password for logging in to the BT panel. The administrator username is administrator.

  2. On the Overview page, click Access in the Dashboard field in the Image area.

    If the dashboard of WordPress cannot be accessed, it may be because the port for accessing the dashboard is not allowed or the application has not been up and running. To solve this problem, see Why Can't I Open the Dashboard of the Application Pre-installed in the Application Image?

  3. Enter the username and password obtained in 1 and click Login.

    If a message is displayed indicating that the username or password you entered is invalid when you attempt to log in to the application dashboard, refer to Why Can't I Access the Dashboard of the Application Pre-installed in the Application Image After Entering the Initial Username and Password?

  4. Install the basic software bundle.

    You can select recommended software packages and click One-click to install them when you log in to the dashboard for the first time.

    You can also close the popup and select other software from App Store and install them afterwards.

Then, you have obtained a BT panel hosting server. You can use the BT panel or follow the instructions provided in Step 4: Deploy the BT Panel to manage software, files, logs, and databases.

Step 4: Deploy the BT Panel

If you want to use a domain name to access a website, add and resolve the domain name for the website.

  1. If the domain name is not registered with Huawei Cloud or not hosted on Huawei Cloud DNS, the domain name cannot be resolved. Use either of the following methods to resolve the issue:
  2. Configure the domain name on the application management page.

    If you had added a domain name to a cloud server, or removed a domain name from a cloud server and then add a new one, you need to configure the domain name on the application management page so that the domain name can be used to access the website.

    1. On the Overview page, click Access in the Dashboard field in the Image area.

      If the dashboard of WordPress cannot be accessed, it may be because the port for accessing the dashboard is not allowed or the application has not been up and running. To solve this problem, see Why Can't I Open the Dashboard of the Application Pre-installed in the Application Image?

    2. Choose Settings > Security, enter a domain name for Domain, for example, www.wpwebsite.com, and click Save.

      The BT panel uses port 8888 by default. If you want to use the domain name to access the website directly, you need to change the port number to the default HTTP or HTTPS port (80 or 443). If you do not change the port number, you need to access the website through http://Domain-name:8888 or https://Domain-name:8888.

BT panel uses HTTPS by default, and you do not need to install an SSL certificate.

In the software store, you can install, uninstall, and manage software.

You can search for the software by name or category. A PHP extension plugin is required to enhance PHP language functions. The following shows how to install a PHP extension:

  1. Choose App Store in the left navigation pane and search for PHP.
  2. Select the PHP version, click Install or Buy now in the Operation column of the target software and complete the installation.

In the Files menu, you can perform a range of operations on files, including copying, pasting, cutting, deleting, renaming, compressing, refreshing, or creating a file, and creating a directory for a file.

In the Logs menu, logs are classified by log type. You can click the tabs to view different types of logs and clear logs.