Skip to content

Instantly share code, notes, and snippets.

View Leon-Africa's full-sized avatar
🚀
Invention - Innovation - Blockchain - Cloud - DevOps

Leon Africa Leon-Africa

🚀
Invention - Innovation - Blockchain - Cloud - DevOps
View GitHub Profile
@Leon-Africa
Leon-Africa / install-ffmpeg-amazon-linux.sh
Created September 27, 2016 12:08 — forked from gboudreau/install-ffmpeg-amazon-linux.sh
How to compile ffmpeg on Amazon Linux (EC2)
#!/bin/sh
# Based on instructions found here: http://wiki.razuna.com/display/ecp/FFMpeg+Installation+on+CentOS+and+RedHat#FFMpegInstallationonCentOSandRedHat-InstallX264
if [ "`/usr/bin/whoami`" != "root" ]; then
echo "You need to execute this script as root."
exit 1
fi
cat > /etc/yum.repos.d/centos.repo<<EOF