Flussonic Media Server documentation

Flussonic Media Server Migration

Important! When migrating Flussonic Media Server settings from the server to the server, executable files and installed libraries can not be migrated. Use the batch manager to install on the new server. Only the configuration and the license are transferred.

List of files to migrate:

  • /etc/flussonic/flussonic.conf — the main configuration file.
  • /etc/flussonic/license.txt — license.
  • /opt/flussonic/priv/iptv.db — IPTV plugin database file.

Copying of configuration files is possible only with root-rights.

Ways to transfer files:

Transferring the configuration using SCP Anchor Anchor x2

SCP (Secure CoPy) is a program for remote copying of files over a network between hosts. It uses SSH for data transfer, including authentication and security measures that are implemented for SSH.

To copy a file from one remote server "remote.host1" to another remote server "remote.host2", execute the command of the form:

$ scp user@remote.host1:/directory/file.txt user@remote.host2:/some/directory/

Install Flussonic Media Server to the new server:

curl -sSf https://flussonic.com/raw/install.sh | sh

After that, transfer the configuration files to the new server:

scp user@remote.host1:/etc/flussonic/flussonic.conf user@remote.host2:/etc/flussonic/
scp user@remote.host1:/etc/flussonic/license.txt user@remote.host2:/etc/flussonic/
scp user@remote.host1:/opt/flussonic/priv/iptv.db user@remote.host2:/opt/flussonic/priv/

Start Flussonic Media Server:

/etc/init.d/flussonic start

Done!

ransferring a Configuration Using USB Media Anchor Anchor x2

If you want to transfer configuration files using any USB media, use the following instruction.

Mounting USB

First, create the directory to be mounted:

mkdir -p /mnt/usb

Insert the USB flash drive into the USB port and find out the name of the device:

fdisk -l

The result of this command is:

Disk /dev/sdb: 4008 MB, 4008706048 bytes
118 heads, 53 sectors/track, 1251 cylinders, total 7829504 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x74a37a4d

Device    Boot      Start         End      Blocks   Id  System
/dev/sdb1   *          63     7829503     3914720+   b  W95 FAT32

Here is the device name:/dev/sdb1.

We use it to mount:

mount /dev/sdb1 /mnt/usb

Copying the configuration

cp /etc/flussonic/flussonic.conf /mnt/usb/flussonic.conf
cp /etc/flussonic/license.txt /mnt/usb/license.txt
cp /opt/flussonic/priv/iptv.db /mnt/usb/iptv.db

After copying, do not forget to unmount the drive:

sudo umount /dev/sdb1

Installing the configuration on a new server

Install Flussonic Media Server to the new server:

curl -sSf https://flussonic.com/raw/install.sh | sh

Create a directory in which to mount the USB-drive:

mkdir -p /mnt/usb

Insert the media into the USB port and find out the name of the device:

fdisk -l

Mount:

mount /dev/sdb1 /mnt/usb

Transfer the configuration files:

cp /mnt/usb/flussonic.conf /etc/flussonic/flussonic.conf
cp /mnt/usb/license.txt /etc/flussonic/license.txt
cp /mnt/usb/iptv.db /opt/flussonic/priv/iptv.db

Запустите Flussonic Media Server:

Start Flussonic Media Server:

Done!