Skip to content

Install package

Alexandr Topilski edited this page Jan 9, 2024 · 33 revisions

Install FastoCloud service from packages

Clone environment scripts:

git clone https://github.com/fastogt/fastocloud_env.git
cd fastocloud_env

Start script to build environment:

  • For media (Community/PRO/ML) service ./fast_build_fastocloud_env_for_dev.sh

Request a license key:

FastoGT license server

Download and install package:

https://fastocloud.com/downloads.html

Config example (COM/etc/fastocloud.conf) service:

[settings]
log_path=~/fastocloud.log
log_level=INFO
host=127.0.0.1:6317
alias=you.crocott.com

hls_host=http://0.0.0.0:8000
vods_host=http://0.0.0.0:7000
cods_host=http://0.0.0.0:6000

hls_dir=~/streamer/hls
vods_dir=~/streamer/vods
cods_dir=~/streamer/cods
timeshifts_dir=~/streamer/timeshifts
feedback_dir=~/streamer/feedback
proxy_dir=~/streamer/proxy
data_dir=~/streamer/data

cods_ttl=600
pyfastostream_path=/usr/local/bin/pyfastostream
files_ttl=604800

Config example (PRO/ML /etc/fastocloud_pro.conf /etc/fastocloud_pro_ml.conf) service:

log_path: ~/fastocloud_pro.log
log_level: DEBUG
host: 127.0.0.1:6317
alias: you.crocott.com

hls_host: https://[::]:8000
vods_host: http://0.0.0.0:7000
cods_host: http://0.0.0.0:6000

hls_dir: ~/streamer/hls
vods_dir: ~/streamer/vods
cods_dir: ~/streamer/cods
timeshifts_dir: ~/streamer/timeshifts
feedback_dir: ~/streamer/feedback
proxy_dir: ~/streamer/proxy
data_dir: ~/streamer/data

cods_ttl: 600
pyfastostream_path: /usr/local/bin/pyfastostream
files_ttl: 604800
report_node_stats: 10

hls_nodes:
  - host: https://[::]:8055

vods_nodes:
  - host: http://0.0.0.0:7055

cods_nodes:
  - host: http://0.0.0.0:6055

https:
  key: /etc/letsencrypt/live/you.crocott.com/privkey.pem
  cert: /etc/letsencrypt/live/you.crocott.com/fullchain.pem

Enable and start media (COM/PRO/ML) service:

systemctl enable fastocloud|fastocloud_pro|fastocloud_pro_ml
systemctl start fastocloud|fastocloud_pro|fastocloud_pro_ml

After that you need to setup FastoCloud Backend API for managing this service.

P.S If you setup by self we not provide WARRANTY that soft will work properly. Our company provide paid setup via SSH or Anydesk like softwares.