forked from OpenVisualCloud/CDN-Transcode-Sample
-
Notifications
You must be signed in to change notification settings - Fork 0
Steps
Andrea Araldo edited this page Sep 11, 2020
·
8 revisions
These are the steps we follow to deploy our instance of the CDN. They are all taken from the original project's documentation.
We are using an Ubuntu Server 18.04 virtual machine with 8 cpu cores, 8GB of RAM and no graphics card. We are executing these steps from a sudo-authorized user named media, created by the root user like so.
adduser media
[indicate password and user info]
adduser media sudoWe did it from the user's directory (/home/media).
git clone git@github.com:Ressource-Allocation/CDN-Transcode-Sample.gitcd ~/CDN-Transcode-Sample
sudo -E ./script/install_dependency.shIf this does not work, try to manually install Docker, before launching the commands above.
This may take a while.
cd ~/CDN-Transcode-Sample
mkdir build && cd build
cmake ..
makecd ~/CDN-Transcode-Sample
sudo -E ./script/Kubernetes_setup_master.sh
sudo sed -i '/- kube-apiserver/a\\ - --service-node-port-range=1-65535' /etc/kubernetes/manifests/kube-apiserver.yaml
mkdir ~/.kube &>/dev/null
sudo chown -R $USER:$USER ~/.kube/cd ~/CDN-Transcode-Sample/build
sudo make start_kubernetesThe output we got from these operations can be found here.
cd ~/CDN-Transcode-Sample/build
sudo make stop_kubernetesAA: The information about how to launch the CDN and play a video is missing