Symfony installed under CentOS

Source: Internet
Author: User

#FROM  daocloud.io/centos:6#MAINTAINER Larry <[email protected]>rpm -Uvh  http://ftp.iij.ad.jp/pub/linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm && rpm  -uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpmyum -y update &&  yum install -y wget# install rpm wget http://pkgs.repoforge.org/ rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm && rpm --import http:/ /apt.sw.be/rpm-gpg-key.dag.txt && rpm -k rpmforge-release-0.5.3-1.el6.rf.x86_64. rpm && rpm -i rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm# install epel#  su -c  ' rpm -uvh http://download.fedoraproject.org/pub/epel/6/i386/ epel-release-6-8.noarch.rpm ' # install some basic packagesyum install -y gcc  make automake bzip2 unzip patch subversion libjpeg-devel yasm gcc-c++ vim# remove  installed packagesyum remove -y ffmpeg x264# add confecho  '/usr/lib '  >> /etc/ld.so.conf && echo  '/usr/local/lib '  >> /etc/ ld.so.conf# install codecsyum install -y faac-devel  lame-devel  amrnb-devel opencore-amr-devel amrwb-devel  libvorbis-devel libtheora-devel  xvidcore-develyum install -y tar# install x264copy last_stable_x264.tar.bz2  /libs/cd /libs/ && tar xvjf last_stable_x264.tar.bz2 &&  cd x264* && ./configure --enable-shared --enable-pic && &NBSP;MAKE&NBSP;&AMP;&AMP;&NBSP;MAKE&NBSP;INSTALL&NBSP;&AMP;&AMP;&NBSP;CD&NBSP, .... # install libvpxcopy libvpx-v1.2.0.tar.bz2 /libs/cd /libs/ && tar xvjf libvpx-v1.2.0.tar.bz2 && cd  libvpx-v1.2.0 && ./configure --enable-shared --enable-pic &&  MAKE&NBSP;&AMP;&AMP;&NBSP;MAKE&NBSP;INSTALL&NBSP;&AMP;&AMP;&NBSP;CD&NBSP, .... # install ffmpeg and ffprobecopy ffmpeg-2.0.1.tar.bz2 /libs/cd /libs/  && tar xvjf ffmpeg-2.0.1.tar.bz2 && cd ffmpeg-2.0.1 & & ./configure --enable-gpl --enable-version3 --enable-shared --enable-nonfree  --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb -- enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx -- enable-libx264 --enable-libxvid && make && make install  && ldconfig# install qt-faststartcd /libs/ffMpeg-2.0.1 && make tools/qt-faststart && cp tools/qt-faststart  /usr/local/binyum install -y mplayer mencoder flvtool2 httpd  openssh-server supervisor mysql-servermkdir -p /var//sshd && mkdir  -p /var/log/supervisorcopy supervisor.conf /etc/supervisor/conf.d/supervisor.confyum  Install -y --enablerepo=remi --enablerepo=remi-php56 php php-opcache php-devel  php-mbstring php-mcrypt php-mysqlnd php-phpunit-PHPUnit php-pecl-xdebug  php-pecl-xhprof php-gdcopy php.ini /etc/expose 80 22cmd ["/USR/SBIN/HTTPD",   "-K",  "Start"]


This article is from the "david0512" blog, make sure to keep this source http://gjr0512.blog.51cto.com/6518687/1753549

Symfony installed under CentOS

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.