Install Yeastar P-Series Software Edition on Infomaniak

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

Step 1. Purchase a server

  1. Access Infomaniak, then click My account at the top-right corner to log in.

  2. On the left navigation bar, click Cloud Computing, then click VPS.

  3. Under VPS tab, click Order.

  4. Choose the desired server type.

    In this example, we choose VPS Lite.

  5. Enter a name to help you identify the server, then click Approve.

  6. Choose Linux as the operating system.

  7. Select the server 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.
  8. Select Ubuntu 20.04 lts 64-bits, then click Approve.

  9. Choose an SSH key for the server.

    In this example, we choose to generate a new key.

    1. Click Choose on Generate new key.

    2. Enter a name to help you identify the key, then click SAVE.

      An SSH key pair is generated and displayed on the page; The private key is automatically downloaded to your computer as a .txt file.

    3. Click Approve.
  10. Choose the desired billing cycle.

  11. Proceed to complete payment.

Step 2. Install Yeastar P-Series Software Edition on the server

  1. Obtain the IP address of the server.

    1. Click TRACK MY ORDER.

    2. At the bottom-left corner, click ACCESS.

    3. Under INFORMATION tab, copy and note down the IPv4 address.

  2. Connect to the server via SSH.
    Tip: For more information, see Running a command with root privileges.
    Scenario Instruction
    Connect to the server via SSH on macOS or Linux In this example, we open Terminal on Mac and run the following commands:

    1. Run vi {key_filename}.pem to create a .pem file and paste the private key.
    2. Run chmod 400 {key_filename}.pem to grant the read permission.
    3. Run ssh -i {key_filename}.pem ubuntu@{ipv4_address_of_the_server} -p22 to connect to the server.

    If the connection is established, the following result will be printed in Terminal.

    Connect to the server via SSH on Windows In this example, we use PuTTYgen to convert the private key file, then open PuTTY to perform the following operations:

    1. Enter the server's IPv4 address and port 22.
    2. Upload the converted private key file.
    3. Enter ubuntu.

    If the connection is established, the following result will be printed in PuTTY.

  3. Run commands as an administrator and change root password.

    1. Run sudo -i to switch to the root user.
    2. Run passwd and change the password on the server.
  4. Run the following commands to install Yeastar P-Series Software Edition.

    1. wget https://update-ys2015-alicloud.oss-cn-hongkong.aliyuncs.com/YeastarSupport/pseinstallscripts/vpslite-install-pse.sh
    2. chmod +x vpslite-install-pse.sh
    3. ./vpslite-install-pse.sh
  5. Wait for the installation process to complete.

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

Step 3. Set up firewall

  1. On Infomaniak, go to the Firewall configuration page of your server.

  2. Add a firewall to open the required ports.

    1. Click ADD A RULE.
    2. Open the ports 80,8088,5061,21.
    3. Click CONFIRM.

Result

Yeastar P-Series Software Edition is installed successfully and can be accessed.

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 Control panel > INFORMATION > IPv4 on Infomaniak.

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).