Mudanças entre as edições de "Phpmotion"
De MochilaWiki
Ir para navegaçãoIr para pesquisar(10 revisões intermediárias pelo mesmo usuário não estão sendo mostradas) | |||
Linha 3: | Linha 3: | ||
== dependências == | == dependências == | ||
− | wget http://pub. | + | wget http://pub.quijaua.com.br/debian-multimedia.list |
mv debian-multimedia.list /etc/apt/sources.list.d | mv debian-multimedia.list /etc/apt/sources.list.d | ||
wget http://debian-multimedia.org/gpgkey.pub -O - | apt-key add - | wget http://debian-multimedia.org/gpgkey.pub -O - | apt-key add - | ||
apt-get update | apt-get update | ||
− | apt-get install apache2 mysql-server php5 php5-mysql libapache2-mod-php5 \ | + | apt-get install apache2 mysql-server php5 php5-mysql libapache2-mod-php5 unzip \ |
php5-ffmpeg ffmpeg lame flvtool2 mencoder libgd-tools php5-cgi php5-cli curl | php5-ffmpeg ffmpeg lame flvtool2 mencoder libgd-tools php5-cgi php5-cli curl | ||
Linha 17: | Linha 17: | ||
cd /var/www/phpmotion/ | cd /var/www/phpmotion/ | ||
chmod -R 755 cgi-bin/ cgi-bin/audio/ | chmod -R 755 cgi-bin/ cgi-bin/audio/ | ||
+ | echo " " >> .htaccess | ||
echo "Options +ExecCGI" >> .htaccess | echo "Options +ExecCGI" >> .htaccess | ||
echo "AddHandler cgi-script .pl" >> .htaccess | echo "AddHandler cgi-script .pl" >> .htaccess | ||
Linha 23: | Linha 24: | ||
echo "php_value max_execution_time 1500" >> .htaccess | echo "php_value max_execution_time 1500" >> .htaccess | ||
echo "php_value session.gc_maxlifetime 14000" >> .htaccess | echo "php_value session.gc_maxlifetime 14000" >> .htaccess | ||
+ | echo "php_value output_buffering on" >> .htaccess | ||
+ | echo "php_value max_input_time 1000" >> .htaccess | ||
echo extension=phpshield.5.2.lin >> /etc/php5/apache2/php.ini | echo extension=phpshield.5.2.lin >> /etc/php5/apache2/php.ini | ||
− | cp | + | cp phpshield/phpshield.5.2.lin /usr/lib/php5/20060613+lfs/ |
+ | cd includes | ||
+ | sed -i 's/DoradoHeadline.ttf/.\/DoradoHeadline.ttf/g' captcha.php | ||
a2enmod rewrite | a2enmod rewrite | ||
/etc/init.d/apache2 restart | /etc/init.d/apache2 restart | ||
+ | criando db no mysql | ||
+ | $ mysql -u root -p | ||
+ | grant all on phpmotion.* to phpmotion@localhost identified by 'suasenha'; | ||
+ | create database phpmotion; | ||
+ | flush privileges; | ||
em brasileiro | em brasileiro | ||
Linha 39: | Linha 49: | ||
depois de instalado, interface admin em | depois de instalado, interface admin em | ||
* http://localhost/siteadmin | * http://localhost/siteadmin | ||
+ | |||
+ | remova ou renomeie a pasta ''setup'' | ||
+ | |||
+ | $ cat /etc/apache2/httpd.conf | ||
+ | <VirtualHost *:80> | ||
+ | ServerName localhost | ||
+ | DocumentRoot /var/www/ | ||
+ | </VirtualHost> | ||
+ | |||
+ | <VirtualHost *:80> | ||
+ | ServerName tvquijaua.net | ||
+ | DocumentRoot /var/www/phpmotion | ||
+ | |||
+ | <Directory /> | ||
+ | Allowoverride All | ||
+ | </Directory> | ||
+ | |||
+ | </VirtualHost> | ||
== referências == | == referências == | ||
Linha 47: | Linha 75: | ||
* http://wiki.phpmotion.com/Requirements | * http://wiki.phpmotion.com/Requirements | ||
* http://phpmotion.com/content/view/1/180/ | * http://phpmotion.com/content/view/1/180/ | ||
+ | * http://wiki.phpmotion.com/HelpFileUploadingErrors | ||
+ | |||
+ | [[Categoria:Servidor]] |
Edição atual tal como às 06h03min de 10 de novembro de 2012
página do projeto
dependências
wget http://pub.quijaua.com.br/debian-multimedia.list mv debian-multimedia.list /etc/apt/sources.list.d wget http://debian-multimedia.org/gpgkey.pub -O - | apt-key add - apt-get update apt-get install apache2 mysql-server php5 php5-mysql libapache2-mod-php5 unzip \ php5-ffmpeg ffmpeg lame flvtool2 mencoder libgd-tools php5-cgi php5-cli curl
instalando
wget -c http://downloads.phpmotion.com/V3.5/php5/phpmotion.zip unzip phpmotion.zip mv phpmotion /var/www/ chown -R www-data\: /var/www/phpmotion/ cd /var/www/phpmotion/ chmod -R 755 cgi-bin/ cgi-bin/audio/ echo " " >> .htaccess echo "Options +ExecCGI" >> .htaccess echo "AddHandler cgi-script .pl" >> .htaccess echo "php_value post_max_size 100M" >> .htaccess echo "php_value upload_max_filesize 100M" >> .htaccess echo "php_value max_execution_time 1500" >> .htaccess echo "php_value session.gc_maxlifetime 14000" >> .htaccess echo "php_value output_buffering on" >> .htaccess echo "php_value max_input_time 1000" >> .htaccess echo extension=phpshield.5.2.lin >> /etc/php5/apache2/php.ini cp phpshield/phpshield.5.2.lin /usr/lib/php5/20060613+lfs/ cd includes sed -i 's/DoradoHeadline.ttf/.\/DoradoHeadline.ttf/g' captcha.php a2enmod rewrite /etc/init.d/apache2 restart
criando db no mysql
$ mysql -u root -p grant all on phpmotion.* to phpmotion@localhost identified by 'suasenha'; create database phpmotion; flush privileges;
em brasileiro
wget http://futetube.net/download/portugues.php.gz gunzip portugues.php.gz mv portugues.php /var/www/phpmotion/lang/
para instalar acesse:
depois de instalado, interface admin em
remova ou renomeie a pasta setup
$ cat /etc/apache2/httpd.conf
<VirtualHost *:80> ServerName localhost DocumentRoot /var/www/ </VirtualHost> <VirtualHost *:80> ServerName tvquijaua.net DocumentRoot /var/www/phpmotion <Directory /> Allowoverride All </Directory> </VirtualHost>
referências
- http://sparksupport.com/blog/uu_uploadpl-download-prompt
- http://phpmotion.com/forum/index.php/topic,17424.0.html
- http://www.ubuntugeek.com/php-motion-phpshield-not-installed.html
- http://wiki.phpmotion.com/InstallingV3
- http://wiki.phpmotion.com/Requirements
- http://phpmotion.com/content/view/1/180/
- http://wiki.phpmotion.com/HelpFileUploadingErrors