1. Install CentOS 7 x86_64 to the server that matches the following minimum specifications:
- 2 gigabytes of RAM
- 10 gigabytes of disk space
- 1 CPU core
or use a VPS with similar characteristics.
2. Specify the name of the server in /etc/host and check its availability using the command
Code Block | ||||
---|---|---|---|---|
| ||||
ping $HOSTNAME |
3. Install wget
Code Block | ||
---|---|---|
| ||
yum install wget |
4. Install java
Code Block | ||||
---|---|---|---|---|
| ||||
yum install java |
5. Install epel-release and haveged
Code Block | ||||
---|---|---|---|---|
| ||||
yum install epel-release
yum install haveged
haveged chkonfig on
haveged |
6. Download the installation package of WebCallServer, for example, from here:
Code Block | ||||
---|---|---|---|---|
| ||||
wget https://flashphoner.com/downloads/builds/WCS/5.1/FlashphonerWebCallServer-5.1.3061.tar.gz |
7. Install WCS:
Code Block | ||||
---|---|---|---|---|
| ||||
tar -xvzf FlashphonerWebCallServer-5.1.3061.tar.gz
cd FlashphonerWebCallServer-5.1.3061
./install.sh |
8. Activate a commercial or a 30-days trial license:
Code Block | ||||
---|---|---|---|---|
| ||||
cd /usr/local/FlashphonerWebCallServer/bin
./activation.sh |
9. Configure the firewall of the server and NAT (if available):
Type | Protocol | Port Range | Source |
---|---|---|---|
Custom UDP Rule | UDP | 30000-33000 | 0.0.0.0/0 |
Custom TCP Rule | TCP | 8888 | 0.0.0.0/0 |
Custom TCP Rule | TCP | 8443 | 0.0.0.0/0 |
Custom TCP Rule | TCP | 30000-33000 | 0.0.0.0/0 |
Custom TCP Rule | TCP | 1935 | 0.0.0.0/0 |
10. Run WCS
Code Block | ||||
---|---|---|---|---|
| ||||
service webcallserver start |
11. Open the link https://yourserver:8888/ in a browser and confirm the security exception, set a password for the admin user.
12. Login to the WCS web interface:
By default, the Embed Player application opens
Select "Two-Way Streaming". The corresponding web application opens:
Click the Connect button, then the Publish button to verify stream publishing from a web camera.
Click Play to check if the stream is played from the server
If all steps were successful, WebCallServer is installed and is ready to work.