给大家带来cenos 6.4下装置phpmotion
欢迎大家来到仓酷云论坛!一装置LAMP二装置转码工具
(一)装置ffmpeg。
装置yasm
viewplaincopyprint?
[*]wgethttp://www.ckuyun.com/projects/yasm/releases/yasm-1.2.0.tar.gz
[*]tarxzvfyasm-1.2.0.tar.gz
[*]cdyasm-1.2.0
[*]./configure
[*]make
[*]makeinstall
[*]makedistclean
[*].~/.profile
wgethttp://www.ckuyun.com/projects/yasm/releases/yasm-1.2.0.tar.gztarxzvfyasm-1.2.0.tar.gzcdyasm-1.2.0./configuremakemakeinstallmakedistclean.~/.profile
装置x264
viewplaincopyprint?
[*]gitclone--depth1git://git.videolan.org/x264.git
[*]cdx264
[*]./configure--enable-static
[*]make
[*]makeinstall
[*]makedistclean
gitclone--depth1git://git.videolan.org/x264.gitcdx264./configure--enable-staticmakemakeinstallmakedistclean
装置fdk-aac
viewplaincopyprint?
[*]gitclone--depth1git://github.com/mstorsjo/fdk-aac.git
[*]cdfdk-aac
[*]autoreconf-fiv
[*]./configure--disable-shared
[*]make
[*]makeinstall
[*]makedistclean
gitclone--depth1git://github.com/mstorsjo/fdk-aac.gitcdfdk-aacautoreconf-fiv./configure--disable-sharedmakemakeinstallmakedistclean
装置libmp3lame
viewplaincopyprint?
[*]sudoapt-getinstallnasm
[*]wgethttp://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz
[*]tarxzvflame-3.99.5.tar.gz
[*]cdlame-3.99.5
[*]./configure--enable-nasm--disable-shared
[*]make
[*]makeinstall
[*]makedistclean
sudoapt-getinstallnasmwgethttp://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gztarxzvflame-3.99.5.tar.gzcdlame-3.99.5./configure--enable-nasm--disable-sharedmakemakeinstallmakedistclean
装置libopus
viewplaincopyprint?
[*]wgethttp://downloads.xiph.org/releases/opus/opus-1.0.3.tar.gz
[*]tarxzvfopus-1.0.3.tar.gz
[*]cdopus-1.0.3
[*]./configure--disable-shared
[*]make
[*]makeinstall
[*]makedistclean
wgethttp://downloads.xiph.org/releases/opus/opus-1.0.3.tar.gztarxzvfopus-1.0.3.tar.gzcdopus-1.0.3./configure--disable-sharedmakemakeinstallmakedistclean
装置libvpx
viewplaincopyprint?
[*]gitclone--depth1http://git.chromium.org/webm/libvpx.git
[*]cdlibvpx
[*]./configure--prefix="/opt/ffmpeg_sources/ffmpeg_build"--disable-examples
[*]make
[*]makeinstall
[*]makeclean
gitclone--depth1http://git.chromium.org/webm/libvpx.gitcdlibvpx./configure--prefix="/opt/ffmpeg_sources/ffmpeg_build"--disable-examplesmakemakeinstallmakeclean
装置other
viewplaincopyprint?
[*]yuminstalllibx11-devlibxext-devlibXfixes-devlibvorbis-devlibtheora-devlibass-dev
yuminstalllibx11-devlibxext-devlibXfixes-devlibvorbis-devlibtheora-devlibass-dev
装置ffmpeg
viewplaincopyprint?
[*]gitclone--depth1git://source.ffmpeg.org/ffmpeg
[*]cdffmpeg
[*]./configure--extra-libs="-ldl"--enable-gpl--enable-libass–enable-libfdk-aac--enable-libmp3lame--enable-libopus--enable-libtheora--enable-libvorbis--enable-libvpx--enable-libx264--enable-nonfree--enable-x11grab
[*]make
[*]makeinstall
[*]makedistclean
gitclone--depth1git://source.ffmpeg.org/ffmpegcdffmpeg./configure--extra-libs="-ldl"--enable-gpl--enable-libass–enable-libfdk-aac--enable-libmp3lame--enable-libopus--enable-libtheora--enable-libvorbis--enable-libvpx--enable-libx264--enable-nonfree--enable-x11grabmakemakeinstallmakedistclean
(二)装置mencoder、flvtool2等
viewplaincopyprint?
[*]yumcleanall
[*]rpm-Uhvhttp://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
[*]yuminstallmencoderflvtool2
yumcleanallrpm-Uhvhttp://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpmyuminstallmencoderflvtool2
(三)创立数据库eduVMS
viewplaincopyprint?
[*]mysql-uroot-p;
[*]createdatabaseeduVMS;
mysql-uroot-p;createdatabaseeduVMS;
(四)将phpmotion源文件复制到apache目次下。
(五)修正phpmotion文件及子文件的目次权限。
viewplaincopyprint?
[*]chownapache:apache-Rphpmotion;
gitclone--depth1git://git.videolan.org/x264.gitcdx264./configure--enable-staticmakemakeinstallmakedistclean0
(六)装置设置PHPshield
1、检察php版本。
viewplaincopyprint?
[*]Php-v
gitclone--depth1git://git.videolan.org/x264.gitcdx264./configure--enable-staticmakemakeinstallmakedistclean1
2、检察体系架构
viewplaincopyprint?
[*]uname-i
gitclone--depth1git://git.videolan.org/x264.gitcdx264./configure--enable-staticmakemakeinstallmakedistclean2
3、检察体系中php的扩大目次
viewplaincopyprint?
[*]php-i|grepextension_dir
gitclone--depth1git://git.videolan.org/x264.gitcdx264./configure--enable-staticmakemakeinstallmakedistclean3
输入相似于:extension_dir=>/usr/lib64/php/modules=>/usr/lib64/php/modules
4、CD到下面输入的目次
viewplaincopyprint?
[*]cd/usr/lib64/php/modules
gitclone--depth1git://git.videolan.org/x264.gitcdx264./configure--enable-staticmakemakeinstallmakedistclean4
5、将phpmotion/phpshield中对应的体系架构目次和响应版本的文件复制到以后目次中。并往失落后缀.lin。比方:
viewplaincopyprint?
[*]cp/var/www/html/phpmotion/phpshield/Linux_x86-64/ixed.5.3.lin./ixed.5.3
gitclone--depth1git://git.videolan.org/x264.gitcdx264./configure--enable-staticmakemakeinstallmakedistclean5
6、经由过程php-i|grepphp.ini下令找到php.ini文件,编纂php.ini文件,增加extension=ixed.5.3
7、重启apache
viewplaincopyprint?
[*]/etc/init.d/httpdrestart
gitclone--depth1git://git.videolan.org/x264.gitcdx264./configure--enable-staticmakemakeinstallmakedistclean6
(七)设置假造主机
编纂/etc/httpd/conf/httpd.conf文件。
viewplaincopyprint?
[*]vim/etc/httpd/conf/httpd.conf
gitclone--depth1git://git.videolan.org/x264.gitcdx264./configure--enable-staticmakemakeinstallmakedistclean7
修正以下:
1增加apache监听的IP地点和端标语:在Listen80上面增加Listen90
2增加文件目次设置
viewplaincopyprint?
[*]<Directory"/var/www/html/phpmotion">
[*]OptionsIncludesExecCGIFollowSymLinks
[*]AllowOverrideAll
[*]Orderallow,deny
[*]Allowfromall
[*]</Directory>
gitclone--depth1git://git.videolan.org/x264.gitcdx264./configure--enable-staticmakemakeinstallmakedistclean8
3、增加假造主机
viewplaincopyprint?
[*]<VirtualHost10.10.90.210:90>
[*]DocumentRoot"/var/www/html/phpmotion"
[*]ServerNamewww.eduvideo.com
[*]</VirtualHost>
gitclone--depth1git://git.videolan.org/x264.gitcdx264./configure--enable-staticmakemakeinstallmakedistclean9
4、设置cgi。往失落正文AddHandlercgi-script.cgi
5、封闭SELinux
viewplaincopyprint?
[*]setenforce0
gitclone--depth1git://github.com/mstorsjo/fdk-aac.gitcdfdk-aacautoreconf-fiv./configure--disable-sharedmakemakeinstallmakedistclean0
6、重启apache
viewplaincopyprint?
[*]/etc/init.d/httpdrestart
gitclone--depth1git://git.videolan.org/x264.gitcdx264./configure--enable-staticmakemakeinstallmakedistclean6
(八)将/phpmotion/cgi-bin中的一切文件复制到/var/www/cgi-bin中,并修正权限为755
viewplaincopyprint?
[*]cp-r*/var/www/html/phpmotion/cgi-bin/*/var/www/cgi-bin
[*]chmod755-R/var/www/cgi-bin/*
gitclone--depth1git://github.com/mstorsjo/fdk-aac.gitcdfdk-aacautoreconf-fiv./configure--disable-sharedmakemakeinstallmakedistclean2
(九)用扫瞄器进进体系举行设置
1、扫瞄器中输出ip:port。比方:10.10.90.210:90
2、点击continue按钮,进进step2。发明PHPenable_dl为叉,那末修正php.ini,将enable_dl设置为On
viewplaincopyprint?
[*]vim/etc/php.ini
gitclone--depth1git://github.com/mstorsjo/fdk-aac.gitcdfdk-aacautoreconf-fiv./configure--disable-sharedmakemakeinstallmakedistclean3
修正后,重启apache,革新扫瞄器,点击continue。
3、点击continue,设置数据库信息:
4、点击continue。设置体系信息。
5、点击continue,删除phpmotion目次下的setup目次。
viewplaincopyprint?
[*]rm-rf/var/www/html/phpmotion/setup
欢迎大家来到仓酷云论坛!
给大家带来cenos 6.4下装置phpmotion
如果上面的措施没有解决问题,此时你就需要Linux社区的帮助了。Linux的使用者一般都是专业人士,他们有着很好的电脑背景且愿意协助他人。 对Linux命令熟悉后,你可以开始搭建一个小的Linux网络,这是最好的实践方法。Linux是网络的代名词,Linux网络服务功能非常强大,不论是邮件服务器、Web服务器、DNS服务器等都非常完善。 学习Linux半年了~个人认为不会的多在网上找资料网上有很多资料可以搜索到,LS那位说放手去搞。 熟悉并掌握安装Linux,安装是学习的前提。目前较常见的安装方法有二种: 熟读Linux系统有关知识,如系统目录树,有关内容可购书阅读或搜索论坛。 其次,Linux简单易学,因为我们初学者只是学的基础部分,Linux的结构体系非常清晰,再加上老师循序渐进的教学以及耐心的讲解,使我们理解起来很快,短期内就基本掌握了操作和运行模式。 应对Linux的发展历史和特点有所了解,Linux是抢占式多任务多用户操作系统,Linux最大的优点在于其作为服务器的强大功能,同时支持多种应用程序及开发工具。 如果上面的措施没有解决问题,此时你就需要Linux社区的帮助了。 Linux的使用者一般都是专业人士,他们有着很好的电脑背景且愿意协助他人。 选择交流平台,如QQ群,网站论坛等。
页:
[1]