安装lame
wget http://easynews.dl.sourceforge.net/sourceforge/lame/lame-398-2.tar.gz
tar zxvf lame-398-2.tar.gz
cd /usr/local/src/lame-398-2
make distclean
./configure
make clean
make
make install
一、安装ffmpeg
1、
tar -zxvf lame-3.97.tar.gz
lame-3.97
./configure --prefix=/usr --enable-shared
make && make install
2、
ls /usr/lib/libvorbis.a,不存再yum -y install libvorbis.a
3、
tar -zxvf xvidcore-1.1.0.tar.gz
cd xvidcore-1.1.0/build/generic/
./configure --prefix=/usr --enable-shared
make && make install
wget http://easynews.dl.sourceforge.net/sourceforge/lame/lame-398-2.tar.gz
tar zxvf lame-398-2.tar.gz
cd /usr/local/src/lame-398-2
make distclean
./configure
make clean
make
make install
一、安装ffmpeg
1、
tar -zxvf lame-3.97.tar.gz
lame-3.97
./configure --prefix=/usr --enable-shared
make && make install
2、
ls /usr/lib/libvorbis.a,不存再yum -y install libvorbis.a
3、
tar -zxvf xvidcore-1.1.0.tar.gz
cd xvidcore-1.1.0/build/generic/
./configure --prefix=/usr --enable-shared
make && make install
一、安装Lighttpd配置
二、vi /usr/local/lighttpd/etc/lighttpd.conf
1、"mod_cgi",去掉前面的#
2、index-file.names = ( "index.php", "index.html","index.htm", "default.htm" ,"index.cgi","index.pl","index.py")添加默认首页。
3、static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" ,"cgi","py")
4、cgi.assign = ( ".pl" => "/usr/bin/perl",
".cgi" => "/usr/bin/perl" ,
".py" => "/usr/bin/python" , )
三、测试:
vi /www/index.py
二、vi /usr/local/lighttpd/etc/lighttpd.conf
1、"mod_cgi",去掉前面的#
引用
2、index-file.names = ( "index.php", "index.html","index.htm", "default.htm" ,"index.cgi","index.pl","index.py")添加默认首页。
3、static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" ,"cgi","py")
4、cgi.assign = ( ".pl" => "/usr/bin/perl",
".cgi" => "/usr/bin/perl" ,
".py" => "/usr/bin/python" , )
三、测试:
vi /www/index.py