Difference between revisions of "Ostube: instalasi"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 29: | Line 29: | ||
/etc/init.d/apache2 restart | /etc/init.d/apache2 restart | ||
+ | |||
+ | ==Konfigurasi Database== | ||
+ | |||
+ | mysqladmin -p create showvid | ||
+ | |||
+ | mysql -u root -p | ||
+ | CREATE USER showvid@localhost IDENTIFIED BY 'showvid'; | ||
+ | GRANT ALL PRIVILEGES ON showvid.* TO showvid; | ||
+ | FLUSH PRIVILEGES; | ||
+ | exit | ||
+ | |||
+ | Jika sedang belajar dengan password mysql 123456 dapat menggunakan perintah | ||
+ | |||
+ | mysqladmin -p123456 create showvid | ||
+ | |||
+ | mysql -u root -p123456 | ||
+ | CREATE USER showvid@localhost IDENTIFIED BY 'showvid'; | ||
+ | GRANT ALL PRIVILEGES ON showvid.* TO showvid; | ||
+ | FLUSH PRIVILEGES; | ||
+ | exit | ||
+ | |||
==Instalasi== | ==Instalasi== | ||
Line 39: | Line 60: | ||
tar xvzf ostube_community_edt_2.6.tar.gz | tar xvzf ostube_community_edt_2.6.tar.gz | ||
+ | |||
+ | |||
+ | Edit Apache | ||
+ | |||
+ | ScriptAlias /cgi-bin/ /var/www/ostube/cgi-bin/ | ||
+ | <Directory "/var/www/apache2-default/ostube/cgi-bin"> | ||
+ | AllowOverride None | ||
+ | Options ExecCGI -MultiViews +SymLinksIfOwnerMatch | ||
+ | Order allow,deny | ||
+ | Allow from all | ||
+ | </Directory> | ||
==Referensi== | ==Referensi== |
Latest revision as of 14:07, 28 August 2011
Instal software pendukung
apt-get install apache2 libapache2-mod-php5 php5-cli php5-mysql php5-gd \ php5-xsl php5-curl mysql-server mplayer mencoder ffmpeg flvtool2 lamp-server^ \ gstreamer0.10-ffmpeg gstreamer0.10-fluendo-mp3 gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly
Konfigurasi PHP
Edit
vi /etc/php5/apache2/php.ini
pastikan
upload_max_filesize: 1024M post_max_size: 1024M memory_limit: 512M
Edit
vi /etc/php5/cli/php.ini
pastikan
upload_max_filesize: 1024M post_max_size: 1024M memory_limit: 512M
Restart
/etc/init.d/apache2 restart
Konfigurasi Database
mysqladmin -p create showvid
mysql -u root -p CREATE USER showvid@localhost IDENTIFIED BY 'showvid'; GRANT ALL PRIVILEGES ON showvid.* TO showvid; FLUSH PRIVILEGES; exit
Jika sedang belajar dengan password mysql 123456 dapat menggunakan perintah
mysqladmin -p123456 create showvid
mysql -u root -p123456 CREATE USER showvid@localhost IDENTIFIED BY 'showvid'; GRANT ALL PRIVILEGES ON showvid.* TO showvid; FLUSH PRIVILEGES; exit
Instalasi
Copy dan Extract
mkdir /var/www/ostube cp ostube_community_edt_2.6.tar.gz /var/www/ostube cd /var/www/ostube tar xvzf ostube_community_edt_2.6.tar.gz
Edit Apache
ScriptAlias /cgi-bin/ /var/www/ostube/cgi-bin/ <Directory "/var/www/apache2-default/ostube/cgi-bin"> AllowOverride None Options ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory>