[golang streaming media online live broadcast system] 3. Publish the Golang cloud live broadcast code to the remote server, configure domain name resolution, and configure HTTPS to play videos

1. Publish the Golang cloud live broadcast code to the remote server

1.Method

method 1

Download the live.exe binary file , upload the live.exe binary fileto the remote server, double- click to run it in Windows environment, and run ./livego.exe in Linux environment.

(1). By downloading the compiled binary file

(2). Decompress and run 

After unzipping, double-click on Windows to install. This will set up a streaming media server. Run ./livego.exe in the Linux environment .

 Method 2

Download the source code package for installation. Here you can modify the port number in the source code package. After modification, package it into an exe file and run it.

(1). Install by downloading the source code package

Can be downloaded using git: git clone https://github.com/gwuhaolin/livego.git

(2). Unzip the downloaded livego package

After downloading the livego source code package, open it through the editor. The directory is as follows:

(3). Modify Livego configuration

Make modifications in livego.yaml, and then repackage it into an exe file, or run it by go run ./main.go

 

Method 3

There is another simple method, which is to open the downloaded livego package and modify the relevant configuration of livego.yaml.

Guess you like

Origin blog.csdn.net/zhoupenghui168/article/details/132865052