Install Yeastar P-Series Software Edition on Hyper-V using Debian ISO

You can install Yeastar P-Series Software Edition on Debian 12 in Hyper-V, during which you can manually partition disk according to your needs.

Prerequisites

Procedure

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. Based on your computer's network environment, you need to create one or two virtual switches.
Create a virtual switch on a computer with single NIC
  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.
Create two virtual switches on a computer with dual NIC
  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.
  5. Repeat Step 3 and Step 4 to create another virtual switch, and select the other physical network card.

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.
    Note: If you computer has dual NIC, you just select either one of the virtual switches that you have created, as you will need to add another network adapter for the other virtual switch later.

  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.

    The virtual machine is created and displayed on the virtual machine list.

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

  10. If your computer has dual NIC, you need to add another network adapter for the other virtual switch.
    1. Click Add Hardware, select Network Adapter, then click Add.

      The network adapter is added successfully.

    2. In the Virtual switch drop-down list, select the other virtual switch, then click Apply and OK.

Step 4. 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. Select Start installer, then press Enter.

  4. Select localization options.
    1. Select a language to be used for the installation process, then click Continue.

    2. Select a location to be used to set the correct time zone, then click Continue.

  5. Select a keyboard, then click Continue.

  6. Skip network setup.
    Note: By default, debian-installer tries to configure your computer's network automatically as far as possible. If the automatic configuration fails, you will be asked if you want to retry, or if you want to perform a manual setup. Skip network setup as shown below.
    1. Select Continue.

    2. Select Do not configure the network at this time, then click Continue.

    3. Retain the default hostname, then click Continue.

  7. Set up users and passwords.
    1. Set root password, then click Continue.

    2. Create an ordinary user.

  8. Configure clock and time zone, then click Continue.

  9. Manually partition the disk.
    1. Select Manual, then click Continue.

    2. Select the disk that you want to partition, then click Continue.

    3. Select Yes to create a new partition table, then click Continue.

    4. Create the required partitions and custom partitions according to your needs.
      Note: The following partitions are required.
      Partition Name Description Format Recommended Partition Space
      / The slash / alone stands for the root of the file system tree. ex4 Minimum 10 GB
      /swap This is where you extend the system memory by dedicating part of the hard drive to it. swap Minimum 10 GB
      /home This holds all the home directories for the users. ex4 Remaining Free Space after other partitions created or second drive.
      1. Select pri/log FREE SPACE, then create a / partition.

      2. Select pri/log FREE SPACE, then create a /swap partition.

      3. Select pri/log FREE SPACE, then create a /home partition.

        Partitions are created successfully and displayed on the list.

    5. Click Finish partitioning and write changes to disk, then click Continue.

    6. Select Yes to write the changes to the selected disk, then click Continue.

  10. Select No to choose not to use a network mirror, then click Continue.

  11. Install the GRUB boot loader on the drive.
    1. Select Yes to install GRUB boot loader, then click Continue.

    2. Select a device to install GRUB boot loader, then click Continue.

  12. Click Continue to reboot the system.

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