Difference between revisions of "ViMP: Instalasi"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
Onnowpurbo (talk | contribs)  (New page: ==Kebutuhan Hardware==  * Processor Dual-Core atau yang lebih baik paling tidak 2.5GHz. * RAM 4+ GB * Harddisk 250+ GB (SATA-II atau SAS), 500 GB lebih baik.  ==Kebutuhan Software==  Apach...)  | 
				Onnowpurbo (talk | contribs)   | 
				||
| Line 22: | Line 22: | ||
* Paket codec tambahan  | * Paket codec tambahan  | ||
| + | ==Instalasi==  | ||
| + | Instalasi paket yang dibutuhkan  | ||
| + | |||
| + |  apt-get install apache2 libapache2-mod-php5 php5-cli php5-mysql php5-gd \  | ||
| + |  php5-xsl php5-curl mysql-server mplayer mencoder ffmpeg flvtool2  w32codecs  | ||
| + | |||
| + | Untuk sistem 64 bit gunakan  | ||
| + | |||
| + |  apt-get install w64codecs  | ||
| + | |||
| + | Enable beberapa fitur  | ||
| + | |||
| + |  a2enmod rewrite  | ||
| + | |||
| + | ==Konfigurasi Apache==  | ||
| + | |||
| + |  mkdir -p /var/www/showvid/data  | ||
| + |  mkdir -p /var/www/showvid/logs  | ||
| + |  chown -R www-data:www-data /var/www/showvid  | ||
| + | |||
| + |  cd /etc/apache2/sites-available  | ||
| + |  touch showvid  | ||
| + | |||
| + | buat virtual host  | ||
| + | |||
| + |  vi /etc/apache2/sites-available/showvid  | ||
| + | |||
| + |  <VirtualHost *:80>  | ||
| + |     DocumentRoot "/var/www/showvid/data/web"  | ||
| + |     ServerName showvid.com  | ||
| + |     ServerAlias www.showvid.com  | ||
| + |     <Directory "/var/www/showvid/data/web">  | ||
| + |         AllowOverride All  | ||
| + |         RewriteEngine On  | ||
| + |         Options -Indexes FollowSymLinks  | ||
| + |     </Directory>  | ||
| + |     ErrorLog /var/www/showvid/logs/error.log  | ||
| + |     CustomLog /var/www/showvid/logs/access.log combined  | ||
| + |     LogLevel error  | ||
| + |  </VirtualHost>  | ||
| + | |||
| + | Enable & reload  | ||
| + | |||
| + |  a2dissite default  | ||
| + |  a2ensite showvid  | ||
| + |  /etc/init.d/apache2 reload  | ||
Revision as of 07:10, 27 August 2011
Kebutuhan Hardware
- Processor Dual-Core atau yang lebih baik paling tidak 2.5GHz.
 - RAM 4+ GB
 - Harddisk 250+ GB (SATA-II atau SAS), 500 GB lebih baik.
 
Kebutuhan Software
Apache2:
- Version 2.2 recommended
 - mod_rewrite enabled
 
PHP:
- Version 5.2.6 atau yang lebih tinggi
 - GD, mysql, XSL & cURL extension di instal
 - PHP CLI (Command Line Interface) di instal
 
MySQL:
- Version 5.0 atau yang lebih baik
 - InnoDB storage engine
 
Transcoding:
- MEncoder / MPlayer 1.0RC2 atau yang lebih baru
 - FFmpeg
 - Paket codec tambahan
 
Instalasi
Instalasi paket yang dibutuhkan
apt-get install apache2 libapache2-mod-php5 php5-cli php5-mysql php5-gd \ php5-xsl php5-curl mysql-server mplayer mencoder ffmpeg flvtool2 w32codecs
Untuk sistem 64 bit gunakan
apt-get install w64codecs
Enable beberapa fitur
a2enmod rewrite
Konfigurasi Apache
mkdir -p /var/www/showvid/data mkdir -p /var/www/showvid/logs chown -R www-data:www-data /var/www/showvid
cd /etc/apache2/sites-available touch showvid
buat virtual host
vi /etc/apache2/sites-available/showvid
<VirtualHost *:80>
   DocumentRoot "/var/www/showvid/data/web"
   ServerName showvid.com
   ServerAlias www.showvid.com
   <Directory "/var/www/showvid/data/web">
       AllowOverride All
       RewriteEngine On
       Options -Indexes FollowSymLinks
   </Directory>
   ErrorLog /var/www/showvid/logs/error.log
   CustomLog /var/www/showvid/logs/access.log combined
   LogLevel error
</VirtualHost>
Enable & reload
a2dissite default a2ensite showvid /etc/init.d/apache2 reload