-
Notifications
You must be signed in to change notification settings - Fork 190
How to install LAMP, FFMPEG and Git on a fresh Ubuntu 16.x For AVideo Encoder
Just copy and paste this:
sudo apt-get install apache2 php7.0 libapache2-mod-php7.0 php7.0-mysql php7.0-curl php7.0-gd php7.0-intl mysql-server mysql-client ffmpeg git libimage-exiftool-perl && cd /var/www/html && sudo git clone https://github.com/DanielnetoDotCom/AVideo-Encoder.git && sudo apt-get install python && sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl && sudo chmod a+rx /usr/local/bin/youtube-dl && apt install software-properties-common && add-apt-repository ppa:jonathonf/ffmpeg-4 && apt-get update && apt-get -y install ffmpeg php-xml python curl && apt-get -y upgrade
or folowing the instructions
LAMP is short for Linux, Apache, MySQL, PHP. This tutorial shows how you can install an Apache web server on an Ubuntu 16.x server with PHP 7 (mod_php) and MySQL. A LAMP setup is a perfect basis for your AVideo Platform.
FFmpeg is a free software project that produces libraries and programs for handling multimedia data. FFmpeg includes libavcodec, an audio/video codec library used by several other projects, libavformat (Lavf), an audio/video container mux and demux library, and the ffmpeg command line program for transcoding multimedia files.
Git is a version control system (VCS) for tracking changes in computer files and coordinating work on those files among multiple people.
To install LAMP, FFMPEG and Git just open a terminal and type the following line:
sudo apt-get install apache2 php7.0 libapache2-mod-php7.0 php7.0-mysql php7.0-curl php7.0-gd php7.0-intl mysql-server mysql-client ffmpeg git libimage-exiftool-perl
after all installations are complete type this command line:
cd /var/www/html && sudo git clone https://github.com/DanielnetoDotCom/AVideo-Encoder.git
Here you are ready to install YouPHPTube upload and play videos, but if you want to be able to download videos from other sites like Youtube, Vimeo, AVideo sites and more, directly to your site. You will need to install youtube-dl
Youtube-dl depends on Python, so first you will need Python
sudo apt-get install python
Now to install youtube-dl right away for all UNIX users (Linux, OS X, etc.), type:
sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl && sudo chmod a+rx /usr/local/bin/youtube-dl
If you do not have curl, you can alternatively use a recent wget:
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl && sudo chmod a+rx /usr/local/bin/youtube-dl
We have a video that can explain more details with this step by step. Video Tutorial
We hope you have fun! If you need help, have any question or Issue please open an Issue on https://github.com/WWBN/AVideo/issues