This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart \ | |
| -activate -configure -access -on \ | |
| -configure -allowAccessFor -specifiedUsers \ | |
| -configure -users ec2-user \ | |
| -configure -restart -agent -privs -all | |
| sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart \ | |
| -configure -access -on -privs -all -users ec2-user |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt update | |
| sudo apt install -y ffmpeg | |
| ffmpeg -version | |
| sudo apt install -y docker.io | |
| docker -v |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git clone https://github.com/alfg/docker-nginx-rtmp.git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ├── Dockerfile <<<<<<< have to edit | |
| ├── Dockerfile.cuda | |
| ├── LICENSE | |
| ├── README.md | |
| ├── certs | |
| │ ├── example.com.crt <<<<<<< have to edit | |
| │ └── example.com.key <<<<<<< have to edit | |
| ├── docker-compose.yml | |
| ├── nginx-cuda.conf | |
| ├── nginx.conf <<<<<<< have to edit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker build -t nginx-rtmp . | |
| docker run -itd -p 1935:1935 -p 8080:80 -p 443:443 --rm nginx-rtmp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ffmpeg -re -i VIDEO-FILE.mp4 -vcodec libx264 -vprofile baseline -g 30 -acodec aac -strict -2 -f flv rtmp://IP/key01/value01 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ##this is in for loop for testing purpose | |
| for i in {1..100000}; do ffmpeg -re -i VIDEO-FILE.mp4 -vcodec libx264 -vprofile baseline -g 30 -acodec aac -strict -2 -f flv rtmp://IP:1935/stone1/age2; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: "3.5" | |
| services: | |
| ceph: | |
| image: ceph/daemon:v5.0.8-stable-5.0-octopus-centos-8 | |
| container_name: demo-ceph | |
| command: demo | |
| hostname: ceph-demo | |
| ports: | |
| - 5000:5000 | |
| - 8000:8000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Make bucket | |
| s3cmd mb s3://BUCKET | |
| Remove bucket | |
| s3cmd rb s3://BUCKET | |
| List objects or buckets | |
| s3cmd ls [s3://BUCKET[/PREFIX]] | |
| List all object in all buckets | |
| s3cmd la | |
| Put file into bucket | |
| s3cmd put FILE [FILE...] s3://BUCKET[/PREFIX] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl --silent --remote-name --location https://github.com/ceph/ceph/raw/octopus/src/cephadm/cephadm | |
| sudo mv cephadm /usr/local/bin | |
| sudo chmod +x /usr/local/bin/cephadm | |
| sudo mkdir -p /etc/ceph |
OlderNewer