Skip to main content

Install PHPMotion di Ubuntu 12.04 sebagai Self Hosted Video Player



kali ini saya mencoba membuat Appliace untuk Server Video Player seperti Youtube  , dengan menggunakan Applikasi PHPMotion , saya menginstall di Ubuntu 12.04 LTS 64 Bit di dalam VM ,

Installasi :
1. Instalasi System Ubuntu 12.04 di Virtualbox , tutorial
    Setting /etc/hosts,/etc/hostname , /etc/resolv.conf
    kemudian apt-get update

2. Login sebagai root
    sudo su

3. Install Paket untuk 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



    Hasil File download paketnya sekitar 230 MB , tunggulah dengan sabar :)

4. Download phpmotion di phpmotion.com ( masukan alamat email untuk download)
    sebelum download pastikan versi PHP anda 
    buat file info.php simpan di var/www
    <?php
     phpinfo();
     ?>   
   
Download sesuai versi PHP anda ,

5. kemudian simpan file download phpmotion di var/www/
    unzip phpmotion.zip
 
6. ubah kepemilikan phpmotion
    chown -Rf www-data.www-data /var/www/phpmotion
7. Ubah Permission
    chmod -Rf 744 /var/www/phpmotion

    chmod -Rf 755 /var/www/phpmotion/cgi-bin 


8. Setting konfigurasi php, edit file "/etc/php5/apache2/php.ini"
    edit menjadi 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
  lalu ketik perintah : php -i|grep php.ini 
  /etc/php5/cli/php.ini 
    tambahkan extension dibawah ini ke file etc/php5/apache2/php.ini  dan etc/php5/cli/php.ini di urutan         baris paling bawah .
    extension = "ixed.5.3.lin"
   extension_ts = "ixed.5.3ts.lin"

9. nano /etc/apache2/sites-available/default

 <VirtualHost *:80>

 DocumentRoot /var/www/phpmotion
 <Directory /var/www/phpmotion/>
 Options Indexes FollowSymLinks MultiViews
 AllowOverride All
 Order allow,deny
 allow from all
 </Directory>
 ScriptAlias /cgi-bin/ /var/www/phpmotion/cgi-bin/
 </VirtualHost>

10. Buat database untuk phpmotion
     mysql -u root -p
     create database phpmotion;
     exit;

11. Edit "/var/www/phpmotion/.htaccess" tambahkan text
    Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
    diatas text RewriteEngine On


   Aktifkan modul rewrite
   a2enmod rewrite

   Restart service apache
   /etc/init.d/apache2 restart
12. buka Ipaddress_phpmotion atau server saya  di 192.168.1.88/phpmotion/setup/


13.
14.
15.
16.
17 . Hapus file /var/www/phpmotion/setup
       rm -r /var/www/phpmotion/setup 

Buka ipserver_phpmotion , apabila muncul error seperti dibawah ini : 

ikuti panduan ini : Lihat Panduan ini !!!
karena saya install di linux ubuntu 64 bit , maka anda musti download file phpshield di http://www.phpshield.com/loaders/


pilih sesuai linux 64 bit anda , download , Unzip ke /usr/lib/php5/20090626
atau bisa dicek lokasi nya dengan perintah : php -i|grep extension_dir

service apache2 restart



silahkan dicoba ...upload image , video anda :)


Taufan M|email_me


Comments

Popular posts from this blog

Membuat FTP server menggunakan Windows 7[Updated]

 Just Share biar Ga Lupa .... FTP merupakan singkatan dari File Transfer Protocol. singkat aja FTP merupakan aplikasi yang memberikan akses &  transfer data antara dua komputer ( client dan server ) klo lengkapnya silahkan cek di  Wikipedia tentang FTP Saat ini saya share membuat FTP server menggunakan OS windows 7 32 bit  1. Install Terlebih dahulu FTP service      Control Panel - Program , Klik Turn Windows Feature On or off lalu Check di FTP server, Web        Management tools 2. Menunggu Installasi      3. Buka Start . ketik di Search box IIS, lalu klik IIS 4. Tampilan FTP Server , Klik Add FTP Site 5.Input FTP site name , isikan juga path Address dimana folder tersebut akan kita akses , klik next 6. Input IP Address server FTP Masukan Port Default FTP yaitu 21 , atau silahkan ubah sesuai kebutuhan  7.Pilih Authentication , saya memilih Basic agar user yang mengakses diberikan ...

[Arsip] Uninstal Zimbra Mail Server

UnInstalling Zimbra on Linux Uninstall Directions for Linux/All Other Operating Systems As root: 1) Run the commands: su – zimbra zmcontrol stop exit (you should be root after you run exit) 2a) Run the command:  ps -ef | grep -i zimbra If you see running processes 2b) Kill any lingering processes:  kill -9 <pid> 3a) Run the command:  df If you see "amavisd" 3b) run command:  umount /opt/zimbra/amavisd<-new-blah>/tmp 4)  cd /<tmp_tar_install_dir>/zcs/ 5) Run the command:  ./install.sh -u 6) Run the following commands to complete the unistall: rm -rf /opt/zimbra rm -rf /var/log/*zimbra* rm -rf /tmp/*zimbra* rm -rf /tmp/hsperfdata* rm -rf /tmp/install.* rm -rf /tmp/*swatch* rm -rf /tmp/log* Ensure that you removed ALL the files owned by the user zimbra AND that contain the name "zimbra" in: /var/log/ /tmp/ 7) Run the following commands to delete the users and groups: userdel zimbra userdel postfix groupdel zimbra groupdel postfix 8) Remove th...
Problem LDAP service  pada Zimbra  [Solved] terjadi pada server replikasi zimbra di kantor saya pada tanggal 5 November 2016 tiba-tiba error LDAP tidak mau startup service. service zimbra start Host test.domainku.com Starting ldap...Done. Failed. Failed to start slapd. Attempting debug start to determine error. daemon: bind(7) failed errno=98 (Address already in use) slap_open_listener: failed on ldap://mail.domain.com:389 Setelah cari-cari di google berhasil yaitu dengan menjalankan ulang file zmsetup.pl -Login sebagai root - /opt/zimbra/libexec/zmsetup.pl root@mailserver:~# /opt/zimbra/libexec/zmsetup.pl Operations logged to /tmp/zmsetup.11072016-131240.log Running bdb db_recover...done. Running zmldapapplyldif...done. Reboot mailserver kemudian berjalan normal ada juga yang menggunakan tutorial seperti dibawah ini (bisa dicoba): Untuk melihat service openldap yang sudah aktif : # ps -ef | grep slap openldap 1129 1 0 15:28 ? 00:00:00 /usr/sbin/slapd -h ldap:/// ldapi:/// -g...