NETWORKSTIP Networking CCNA,Centos,Ubuntu,Sql,

Made By Muhammad Nafees

Breaking

Friday, 28 December 2018

Clipbucket Recomended Requirements And Installation


Operating System

  • Linux (CentOS 6, CentOS 6.5, Fedora, Ubuntu)
  • CentOS 7 ( Recomended )

Requirements

  • Apache
  • MySQL v5.6,5.7 (major)
  • PHP v7.0 (major)
  • FFMPEG
  • MP4Box
  • FFPROBE
  • MediaInfo
  • ImageMagick

Utilities
  • yum groupinstall -y Development Tools
  • yum install autoconf automake gcc gcc-c++ git libtool make pkgconfig zlib-devel
  • yum install yum-utils
  • yum-config-manager --add-repo http://www.nasm.us/nasm.repo
  • yum install nasm
FFmpeg Installation Steps
Export :
  • export TMPDIR=/opt/tmp-ffmpeg
  • mkdir $TMPDIR && mkdir /opt/ffmpeg_sources
Installing yasm
  • cd /opt/ffmpeg_sources
  • wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
  • tar xzvf yasm-1.3.0.tar.gz && cd yasm-1.3.0
  • ./configure && make && make install
  • cd /opt/ffmpeg_sources
  • git clone --depth 1 https://github.com/yasm/yasm.git
  • cd yasm && autoreconf -fiv
  • ./configure --prefix="/opt/ffmpeg_build" --bindir="/opt/bin"
    make && make install && make distclean
Installing x264
  • cd /opt/ffmpeg_sources
  • git clone --depth 1 git://git.videolan.org/x264
  • cd x264 && ./configure --prefix="/opt/ffmpeg_build" --bindir="/opt/bin" --enable-shared --disable-lavf
  • make && make install && make distclean
  • git clone --depth 1 git://git.videolan.org/x264
  • cd x264 && ./configure --prefix="/opt/ffmpeg_build" --bindir="/opt/bin" --enable-shared --disable-lavf
  • make && make install && make distclean
Installing libfdk-aac
  • cd /opt/ffmpeg_sources
  • git clone --depth 1 https://github.com/Distrotech/fdk-aac.git
  • cd fdk-aac && autoreconf -fiv && ./configure --prefix="/opt/ffmpeg_build" --disable-shared
  • make && make install && make distclean
Installing libLame
  • cd /opt/ffmpeg_sources
  • curl -L -O http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz
  • tar xzvf lame-3.99.5.tar.gz
  • cd lame-3.99.5
  • ./configure --prefix="/opt/ffmpeg_build" --bindir="/opt/bin" --disable-shared --enable-nasm
  • make && make install && make distclean

Installing Opus

  •   cd /opt/ffmpeg_sources
  •   wget http://downloads.xiph.org/releases/opus/opus-1.1.2.tar.gz
  •   tar xzvf opus-1.1.2.tar.gz
  •   cd opus-1.1.2 && ./configure --prefix="/opt/ffmpeg_build" --disable-shared
  •   make && make install && make distclean

Installing libogg

  •   cd /opt/ffmpeg_sources
  •   wget http://downloads.xiph.org/releases/ogg/libogg-1.3.2.tar.xz
  •   tar -xJf libogg-1.3.2.tar.xz
  •   cd libogg-1.3.2 && ./configure --prefix="/opt/ffmpeg_build" --disable-shared
  •   make && make install && make distclean

Installing libvorbis

  •   cd /opt/ffmpeg_sources
  •   wget http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.5.tar.xz
  •  tar -xJf libvorbis-1.3.5.tar.xz && cd libvorbis-1.3.5
  •   LDFLAGS="-L/opt/ffmeg_build/lib" CPPFLAGS="-I/opt/ffmpeg_build/include" /configure --prefix="/opt/ffmpeg_build" --with-ogg="/opt/ffmpeg_build" --disable-shared
  •   make && make install && make distclean

Now Finally FFmpeg

  • cd /opt/ffmpeg_sources
  • git clone --depth 1 https://github.com/FFmpeg/FFmpeg.git
  • cd FFmpeg && PKG_CONFIG_PATH="/opt/ffmpeg_build/lib/pkgconfig" ./configure --prefix="/opt/ffmpeg_build" --extra-cflags="-I/opt/ffmpeg_build/include" --extra-ldflags="-L/opt/ffmpeg_build/lib" --bindir="/opt/bin" --enable-gpl --enable-nonfree --enable-libfdk_aac --enable-libmp3lame --enable-libx264
  •  make && make install && make distclean && hash -r && unset TMPDIR

Edit /etc/ld.so.conf

·  give path of lib folder for ffmpeg such as
/opt/ffmpeg_build/lib
/usr/local/lib
/usr/lib
·  Execute : ldconfig
MP4Box
Mediainfo
Imagick
  • yum -y install php-pear
  • yum -y install ImageMagick*
  • yum -y install php-imagick
  • yum -y install gcc php-devel
  • yum -y install ImageMagick ImageMagick-devel
  • pecl install imagick
##if above command does not work, use following one
  • pecl install imagick-3.1.2
  • echo extension=imagick.so >> /etc/php.ini

PHP,MariaDB
  • yum install httpd mariadb-server mariadb php php-gd php-mysql php-curl php-xsl php-cli php-mbstring php-pear unzip
  • ·         systemctl start mariadb.service
  • ·         systemctl enable mariadb.service
  • ·         mysql_secure_installation
  • ·         systemctl restart httpd
  • ·         systemctl enable httpd

No comments:

Post a Comment