Tutorial Install PHPMotion di Linux UBUNTU 11.10

Tutorial Install PHPMotion di Linux UBUNTU 11.10
 A. Persiapan

1. Pertama Install paket-paket pendukung phpmotion # apt-get install apache2 mysql-server php5 ffmpeg flvtool2 mencoder lame libogg0 php5-ffmpeg php5-curl curl libapache2-mod-php5 php5-mysql lynx-cur libapache2-mod-speedycgi.
 
2. Konfigurasi subdomain untuk video repository # nano /etc/hosts
 3. Restart Apache # service apache2 restart
 4. konfigurasi php # nano /etc/php5/apache2/php.ini Setting seperti berikut open_basedir = (no value) upload_max_filesize = 100M post_max_size = 100M max_execution_time = 1500 session.gc_maxlifetime = 14000 safe_mode = off enable_dl = On tambahkan: extension=/home/video/public_html/phpshield/Linux_x86-32/ixed.5.3.lin
5. Edit konfigurasi virtualhost # nano /etc/apache2/sites-available/video

 ServerAdmin webmaster@localhost
 ServerName videos.tekaje-09.net
 ServerAlias videos.tekaje-09.net
 DocumentRoot /home/video/public_html
 Options Indexes FollowSymLinks MultiViews
 AllowOverride All
 Order allow,deny
 allow from all
 ScriptAlias /cgi-bin/ /home/video/public_html/cgi-bin/
 AllowOverride All
 Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
 Order allow,deny
 Allow from all
 ErrorLog ${APACHE_LOG_DIR}/error.log
 # Possible values include: debug, info, notice, warn, error, crit,
 # alert, emerg.
 LogLevel warn
 CustomLog ${APACHE_LOG_DIR}/access.log combined
6. Buat database untuk phpmotion. Masuk browser Caranya, buka browser ke alamat http://localhost/phpmyadmin. Login ‘phpmyadmin’ buat database baru, misal nama: “phpmotion” lalu klik create
7. Aktifkan modul Rewrite # a2enmod rewrite
8. Restart Apache # service apache2 restart B. Instalasi PHPMotion 1. Download aplikasi phpmotion lalu Ekstrak ke dirktori public_html # nautilus Masuk ke File System>Home>video>public_html
2. Edit .htaccess # nano /home/video/public_html/.htaccess Tambahkan “Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch” di atasnya ‘RewriteEngine On’
3. Edit cgi-bin/.htaccess # nano /home/video/public_html/cgi-bin/.htaccess Isikan dengan kode berikut untuk mencegah error saat upload video Options +ExecCGI AddHandler cgi-script .pl 4. Setting permission PHPMotion # chmod 777 -Rf /home/video/public_html/ # chmod 755 -Rf /home/video/public_html/cgi-bin
5. Buka browser Mozilla, ke alamat http://videos.tekaje-09.net Setelah masuk klik “Continue”
6. Selanjutnya adalah service yang dibutuhkan oleh PHPMotion. Pastikan semuanya tercentang hijau. Jika belum, silahkan install service yang dibutuhkan. Lalu klik “Continue” 7. Selanjutnya tampilan permission yang dibutuhkan PHPMotion. Pastikan semuanya tercentang hijau. Lalu klik “Continue”
8. Setting MySQL sesuai server kita. Klik “Continue”
9. Konfigurasi situs. Isikan sesuai yang kita inginkan. Lalu klik “Continue” 10. Instalasi berhasil. Hapuslah folder setup untuk keamanan # rm -rf /home/video/public_html/setup
C. Cara Upload Video 1. Terlebih dahulu buat chanel video. Masuk ke ‘videos.tekaje-09.net/siteadmin/index.php’. pilih Manage>Video Categories.
2. Pada menu Video Categories Buat chanel baru misal: Title: Coba Descrition: Percobaan Upload Video>klik “New Category”
3. Isikan detail kolom tentang video yang akan kita upload. Klik ‘Next’.
4. Cari video yang ingin diupload plih ‘Browse’. Klik ‘Upload’ lalu tunggu proses sampai selesai.
5. Video berhasil di upload.

Post a Comment

2 Comments

  1. kalo Internal Server Error pada upload video gmna solusinya?

    ReplyDelete
  2. kenapa ya ketika saya upload video muncul "item could not be found or has been deleted"

    ReplyDelete

Berkomentarlah Dengan Baik Dan Sopan
Segala Komentar Yang Masuk Akan Dimoderasi Dahulu Sebelum Ditampilkan