Install Yeastar P-Series Software Edition on Hyper-V

Hyper-V allows you to run multiple operating systems as virtual machines on Windows. This topic describes how to create a virtual machine on Hyper-V and install Yeastar P-Series Software Edition on the created virtual machine.

Prerequisites

  • Check if the version of Hyper-V is 10.0.17134.1 or later.
  • Download an image file of Yeastar P-Series Software Edition.
    Note: Based on the difference in installation methods, Yeastar provides two kinds of image file for P-Series Software Edition. Refer to the following table for details.
    Table 1.
    Item Automatic Installation Manual Installation
    Image File Name and Format Yeastar-P_SOFTWARE-auto-{version}.iso

    Example: Yeastar-P_SOFTWARE-auto-83.9.0.18.iso

    Yeastar-P_SOFTWARE-manual-{version}.iso

    Example: Yeastar-P_SOFTWARE-manual-83.9.0.18.iso

    Hard Disk Size Minimum 40 GB Minimum 40 GB
    Partition Method Automatic Manual
    Partition Rule

    The system automatically partitions a hard disk as follows:

    • /: 10 GB
    • /swap: 10 GB
    • /home: Remaining Free Space after space for / partition and /swap partition is excluded from the total size.
    You need to manually create the following required partitions, and then you can create others according to your needs.
    • /
    • /swap
    • /home

Procedure

Video Tutorial

Step 1. Enable Hyper-V on your PC

  1. On the desktop, right click and click Apps and Features.
  2. On the right of Settings page, click Programs and Features.

  3. On the left navigation bar, click Turn Windows Features on or off.
  4. In the pop-up window, select Hyper-V and click OK.

  5. Restart your computer after the installation is completed.

Step 2. Create a virtual switch

Create an external switch to share your computer's network with the virtual machine running on it.

  1. On your desktop, go to > Windows Administrative Tools > Hyper-V Manager.
  2. On Hyper-V Manager, click Action > Virtual Switch Manager to create a virtual switch.
  3. Create a virtual switch.

    1. Click New virtual network switch.
    2. In the What type of virtual switch do you want to create? section, select External.
    3. Click Create Virtual Switch.
  4. Set up the virtual switch.

    1. In the Name field, enter a name to help you identify the virtual switch.
    2. In the Connection type section, select External network, and select the physical network card to be paired with the virtual switch.
      Note: The network card must be the one that is physically connected to the network.
    3. Click Apply and Yes to create the virtual switch.
    4. Click OK to close the Virtual Switch Manager window.

Step 3. Create a virtual machine

  1. On Hyper-V Manager, go to Action > New > Virtual Machine.
  2. Review the Before You Begin content and click Next.
  3. Specify a name to help you identify the virtual machine, choose a location to store configuration files of the virtual machine, and click Next.

  4. Select a generation for the machine and click Next.

  5. Set the Startup Memory, select the checkbox of Use Dynamic Memory for this virtual machine, and click Next.

  6. In the drop-down list of Connection, select the virtual switch created for the virtual machine, and click Next.

  7. Specify a name for the virtual hard disk, select a location, specify a size, and click Next.

  8. Select Install an operating system from a bootable CD/DVD-ROM, select an .iso file, and then click Finish.

  9. Check and ensure that there is only one hard disk on the virtual machine, or an installation error may occur.
    1. Right click the virtual machine, click Settings to check.

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

Follow the instructions below based on different installation methods to install P-Series Software Edition.

Automatically install Yeastar P-Series Software Edition on the virtual machine
  1. Right click the virtual machine, click Start to start the virtual machine.

  2. Right click the virtual machine, click Connect to connect to the virtual machine.

  3. Wait till the installation process is not running, then press Enter.

    If IPPBX login is displayed and no errors like wait for basicsrv run ok occur, it indicates that P-Series Software Edition is installed.

Manually install Yeastar P-Series Software Edition on the machine
  1. Right click the virtual machine, click Start to start the virtual machine.

  2. Right click the virtual machine, click Connect to connect to the virtual machine.

  3. Select Continue without updating or wait for seconds to check if there is a new version of installer.

  4. Select Custom storage layout and select Done.

  5. In the AVAILABLE DEVICES section, select the local disk, then select Add GPT Partition.

  6. In the pop-up window, partition the hard disk according to your needs.
    Note: The following partitions are required. You can also add other partitions.
    Table 2.
    Partition Name Description Format Recommended Partition Space
    /swap This is where you extend the system memory by dedicating part of the hard drive to it. swap Minimum 10 GB
    / The slash / alone stands for the root of the file system tree. ex4 Minimum 10 GB
    /home This holds all the home directories for the users. ex4 Remaining Free Space after other partitions created or second drive.

  7. Select Done.
  8. In the pop-up dialog box, select Continue to start installing P-Series Software Edition.

  9. Wait till the installation process is not running, then press Enter.

    If a IPPBX login prompt is displayed and no errors like wait for basicsrv run ok occur, it indicates that P-Series Software Edition is installed.

(Optional) Step 5. Change the default IP address of Yeastar P-Series Software Edition

Now Yeastar P-Series Software Edition is installed with default IP address 192.168.5.150. If you prefer another IP address or your PC is on a different network segment such as 192.168.28.X, you can change the PBX's default IP address.
Important: PBX's IP address MUST be on the same network segment as your PC, or you can NOT access the PBX from your PC.

We assume that your PC is on the network segment 192.168.28.X and your desired PBX IP address is 192.168.28.45. Refer to the following instructions to change the PBX's IP address.

  1. Access the PBX via SSH.
    1. At the IPPBX login prompt, type support and press Enter.

    2. At the Password prompt, type QhcyaxsGcywymg2022 and press Enter.

      Note: Generally, you will NOT get any visual feedback from the screen when you type the password.

      You are presented with a prompt, displaying the Ubuntu information and system information. In the meanwhile, you are given the option to ping an IP address, view or update current network configuration, and log out the support account. You can type a specific number to run the command of the corresponding number.

  2. Type 1 and press Enter to update the network configuration.

  3. Change the IP address of Yeastar P-Series Software Edition as follows.

    1. At the Please enter IP address prompt, type the desired IP address and press Enter.

      In this example, type 192.168.28.45.

    2. At the Please enter netmask prompt, type the subnet mask and press Enter.

      In this example, type 255.255.255.0.

    3. At the Please enter gateway prompt, type the gateway address and press Enter.

      In this example, type 192.168.28.1.

      It takes about two minutes to change the PBX's IP address from 192.168.5.150 to your desired IP address.

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.

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