ostube
作者:tseng 日期:2009-04-26
1安裝環境
yum install httpd mysql php php-mysql php-gd php-mbstring gd libjpeg-devel gcc
yum -y install subversion
yum install ruby ruby-libs
FLVTool2
wget http://rubyforge.org/frs/download.php/17497/flvtool2-1.0.6.tgz
tar zxvf flvtool2-1.0.6.tgz
cd flvtool2-1.0.6
ruby setup.rb config
ruby setup.rb setup
ruby setup.rb install
Mplayer Source Code
# wget ftp://ftp4.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc2.tar.bz2
# tar xvjf MPlayer-1.0rc2.tar.bz2
# cd MPlayer-1.0rc2
# ./configure --prefix=/usr
# make;make install
2修改參數
memory_limit > post_max_size > upload_max_filesize
php.ini
upload_max_filesiz=100M
post_max_size:110M
/ostube/cgi-bin/uu_default_config.pm
max_upload => 509715200----->1073741824
# cd ostube
# chmod -R 777 templates_c
# chmod -R 777 media
# chmod -R 777 ostube.log
# chmod -R 777 conversion.log
# chmod -R 777 includes/config.php
# cd cgi-bin
# chmod +x *
# cp * /var/www/cgi-bin
3下載ostube
安裝完刪除 /var/www/html/osTube/install 目錄
yum install httpd mysql php php-mysql php-gd php-mbstring gd libjpeg-devel gcc
yum -y install subversion
yum install ruby ruby-libs
FLVTool2
wget http://rubyforge.org/frs/download.php/17497/flvtool2-1.0.6.tgz
tar zxvf flvtool2-1.0.6.tgz
cd flvtool2-1.0.6
ruby setup.rb config
ruby setup.rb setup
ruby setup.rb install
Mplayer Source Code
# wget ftp://ftp4.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc2.tar.bz2
# tar xvjf MPlayer-1.0rc2.tar.bz2
# cd MPlayer-1.0rc2
# ./configure --prefix=/usr
# make;make install
2修改參數
memory_limit > post_max_size > upload_max_filesize
php.ini
upload_max_filesiz=100M
post_max_size:110M
/ostube/cgi-bin/uu_default_config.pm
max_upload => 509715200----->1073741824
# cd ostube
# chmod -R 777 templates_c
# chmod -R 777 media
# chmod -R 777 ostube.log
# chmod -R 777 conversion.log
# chmod -R 777 includes/config.php
# cd cgi-bin
# chmod +x *
# cp * /var/www/cgi-bin
3下載ostube
安裝完刪除 /var/www/html/osTube/install 目錄
评论: 0 | 引用: 0 | 查看次数: 4452
发表评论