Install Yeastar P-Series Software Edition on OVHcloud via Command Line

You can host and manage Yeastar P-Series Software Edition on OVHcloud using command line and leverage your OVHcloud knowledge to stay in full control of your PBX deployment.

FrançaisFR

Note: If you are a Yeastar partner, you can deploy Yeastar P-Series Software Edition on OVHcloud via Yeastar Partner Portal, eliminating the need for complex instance setup and command-line operations. For more information, see Install Yeastar P-Series Software Edition on OVHcloud from Yeastar Partner Portal.

Prerequisites

You have created an SSH key pair on OVHCloud.

Note: Note down the SSH key pair, as it is required for instance configuration and SSH connection.

Step 1. Create an OVHcloud instance

  1. Log in to OVHcloud Control Panel by clicking on one of the links below, depending on the region where your OVHcloud account is hosted.
  2. On the top navigation bar, click Public Cloud.

  3. Create a new project.
    1. In the Project name field, enter a name to help you identify the project, confirm agreement on the terms of the contracts, then click Continue.

    2. On the bottom of the page, click Create my project.

  4. Create an instance.

    1. On the left navigation bar, click Instances.
    2. On the instances page, click Create an instance.

Step 2. Set up the instance

  1. In the Select a model section, select instance type and specifications.

    1. Select the General Purpose type.
    2. Select the instance specifications based on the Extensions (EXT) and Concurrent Calls (CC) of your PBX system.
      1-20 EXT

      (1-5 CC)

      21-50 EXT

      (6-13 CC)

      51-250 EXT

      (14-63 CC)

      251-500 EXT

      (64-125 CC)

      501-1000 EXT

      (126-250 CC)

      EXT > 1000

      (CC > 250)

      vCPU 2 2 4 6 8 Contact Yeastar
      Memory 2 GB 4 GB 4 GB 8 GB 16 GB
      Storage Call Recording Disabled 40 GB 40 GB 50 GB 100 GB 200 GB
      Call Recording Enabled Recommended: 1 TB
      Tip: 1 GB of storage holds approximately 1000 minutes of recorded calls. You can set up the storage based on your recording usage.
    3. Click Next.
  2. Select a region closest to you, then click Next.
  3. In the Select an image section, choose an image and add an SSH key.
    1. Under Unix distributions tab, select Ubuntu 20.04.

    2. In the SSH key section, add the public key of the SSH key pair, and specify the key name.

    3. Click Next.
  4. Specify the instance name.

    1. In the Instance name field, enter a name to help you identify the instance.
    2. Click Next.
  5. In the Configure your network section, select a network connection type according to your need, then click Next.

    In this example, we select Public mode.

  6. Select a billing period according to your need, then click Create an instance.
  7. Wait for the instance launching process to complete.

    The system will prompt you that the instance has been added, and the instance Status will display as Creation.

  8. Click to refresh the instance status.

    When the instance status changes to Enabled, it indicates that the instance is ready.

  9. Click on the created instance, go to Dashboard > Networks to check and note down the Login information.
    Note: The Login information will be required for SSH connection later.

Step 3. Change the root password on the instance

  1. Connect to the instance via SSH.
    1. Open a terminal on your Linux server.
    2. Run ssh -p22 {login_information} to connect to the instance.

      In this example, run ssh -p22 ubuntu@57.129.32.158.

  2. Run the following commands to change the root password for security.

    1. sudo -i

    2. passwd root
Note: Note down the password, as it will be required to access the instance later.

Step 4. Install Yeastar P-Series Software Edition on the instance

  1. On OVHcloud, click on the created instance and go to VNC console, then access the instance with the username root and your password.

  2. Run the following commands sequentially to install Yeastar P-Series Software Edition.

    1. wget https://update-ys2015-alicloud.oss-cn-hongkong.aliyuncs.com/YeastarSupport/pseinstallscripts/ovh-install-pse.sh
    2. chmod +x ovh-install-pse.sh
    3. ./ovh-install-pse.sh

  3. Wait for the installation process to complete.

    If a IPPBX login prompt is displayed, it indicates that P-Series Software Edition is installed.

Result

Yeastar P-Series Software Edition is installed successfully.

Open a web browser, enter the PBX's IP address in the address bar, and press Enter.

Note: You can obtain the PBX's IP address on Dashboard > Networks > IPv4 on OVHcloud.

You will access the PBX web portal and enter the installation wizard of Yeastar P-Series Software Edition.

What to do next

Yeastar P-Series Software Edition is inactivated and not ready for use. To activate the PBX, see Activate and Initially Set up Yeastar P-Series Software Edition.
Important: With P-Series Software Edition activated, next time you want to access the PBX via SSH, you should use the username support and the console password configured on PBX web portal (Security > Security Settings > Console/SSH Access > Console > Console Password).