Difference between revisions of "Cumulusclips: Instalasi"

From OnnoWiki
Jump to navigation Jump to search
 
(16 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
* Instalasi Web Server Apache, MySQL, PHP
 
* Instalasi Web Server Apache, MySQL, PHP
  
  apt-get install ffmpeg
+
  apt-get -y install vsftpd ffmpeg x264 libx264-dev libajaxtags-java \
 +
libcgi-application-plugin-ajaxupload-perl php-xajax libcgi-application-plugin-ajaxupload-perl
  
 +
==Edit vsftpd.conf==
 +
 +
edit
 +
 +
vi /etc/vsftpd.conf
 +
 +
tambahkan
 +
 +
seccomp_sandbox=NO
 +
 +
 +
Restart
 +
 +
/etc/init.d/vsftpd restart
 +
 +
 +
==Add user cumulusclips==
 +
 +
Buat user untuk ftp
 +
 +
adduser cumulusclips
 +
 +
Enter new UNIX password:
 +
Retype new UNIX password:
 +
passwd: password updated successfully
 +
Is the information correct? [Y/n]
 +
 +
 +
 +
==Edit Apache==
 +
 +
vi /etc/apache2/sites-enabled/000-default
 +
 +
Pastikan
 +
 +
<Directory /var/www/>
 +
      Options Indexes FollowSymLinks MultiViews
 +
      AllowOverride All
 +
      Order allow,deny
 +
      allow from all
 +
</Directory>
  
 
==Edit php.ini==
 
==Edit php.ini==
Line 14: Line 56:
 
  vi /etc/php5/apache2/php.ini
 
  vi /etc/php5/apache2/php.ini
  
upload_max_filesize = 1000M
+
Pastikan
  
 +
short_open_tags = on
 +
upload_max_filesize = 110M
 +
post_max_size = 110M
 +
max_execution_time = 1500
 +
open_basedir = no value
 +
safe_mode = Off
 +
register _globals = Off
  
 
==Download==
 
==Download==
Line 29: Line 78:
 
  tar zxvf cumulusclips.tar.gz
 
  tar zxvf cumulusclips.tar.gz
 
  chmod -Rf 777 /var/www/cumulusclips
 
  chmod -Rf 777 /var/www/cumulusclips
  chown -Rf nobody.nogroup /var/www/cumulusclips
+
  chown -Rf www-data.www-data /var/www/cumulusclips
 
 
  
File Permissions
 
  
Once all the files are uploaded to your hosting account, there are file permission changes that must be performed on several directories. These directories are:
+
==Buat Database==
 
 
    /cc-core/logs
 
    /cc-content/uploads/flv
 
    /cc-content/uploads/mobile
 
    /cc-content/uploads/temp
 
    /cc-content/uploads/thumbs
 
    /cc-content/uploads/avatars
 
 
 
Make sure these directories are writable by PHP and the web server. If you’re unsure which permissions to set, use 0777 (Read, Write, & Execute “-rwxrwxrwx”). If you’re using an FTP client like the ones mentioned above, this is done in a screen similar to this:
 
 
 
Create Database and User
 
 
 
CumulusClips requires a database and database user to function. If you already have both, just make sure your database tables have unique prefixes for in their names. This will avoid overwriting existing data. If you don’t already have a database and user, create them now.
 
Using MySQL Client
 
 
 
Here is how to create a new database and user via the MySQL command line client.
 
  
 +
Asumsi password root MySQL adalah 123456, lakukan
 
 
 
 
 
  mysql -u root -p123456
 
  mysql -u root -p123456
Line 61: Line 93:
  
 
==Akses==
 
==Akses==
 +
 +
http://localhost/cumulusclips/
 +
 +
 +
==Capture Screen Saat Instalasi==
  
  
http://localhost/cumulusclips/
+
[[Image:Cscript1.png|center|200px|thumb]]
 +
 
 +
[[Image:Cscript2.png|center|200px|thumb]]
 +
 
 +
[[Image:Cscript3.png|center|200px|thumb]]
 +
 
 +
[[Image:Cscript4.png|center|200px|thumb]]
 +
 
 +
[[Image:Cscript5.png|center|200px|thumb]]
 +
 
 +
[[Image:Cscript6.png|center|200px|thumb]]
 +
 
 +
[[Image:Cscript7.png|center|200px|thumb]]
 +
 
 +
[[Image:Cscript8.png|center|200px|thumb]]
  
 
==Referensi==
 
==Referensi==
  
 
* http://cumulusclips.org/docs/how-to-install-cumulusclips/
 
* http://cumulusclips.org/docs/how-to-install-cumulusclips/
 +
* http://cumulusclips.org/forums/index.php?p=/discussion/349/how-to-running-cumulusclips-locally-on-ubuntu-/p1
 +
* http://ubuntuforums.org/showthread.php?t=1506129

Latest revision as of 07:19, 13 May 2014

Sumber: http://cumulusclips.org/docs/how-to-install-cumulusclips/


Instalasi Aplikasi Pendukung

  • Instalasi Web Server Apache, MySQL, PHP
apt-get -y install vsftpd ffmpeg x264 libx264-dev libajaxtags-java \
libcgi-application-plugin-ajaxupload-perl php-xajax libcgi-application-plugin-ajaxupload-perl

Edit vsftpd.conf

edit

vi /etc/vsftpd.conf

tambahkan

seccomp_sandbox=NO


Restart

/etc/init.d/vsftpd restart


Add user cumulusclips

Buat user untuk ftp

adduser cumulusclips
Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully
Is the information correct? [Y/n]


Edit Apache

vi /etc/apache2/sites-enabled/000-default

Pastikan

<Directory /var/www/>
      Options Indexes FollowSymLinks MultiViews
      AllowOverride All
      Order allow,deny
      allow from all
</Directory>

Edit php.ini

vi /etc/php5/apache2/php.ini

Pastikan

short_open_tags = on
upload_max_filesize = 110M
post_max_size = 110M
max_execution_time = 1500
open_basedir = no value
safe_mode = Off
register _globals = Off

Download

wget http://cumulusclips.org/cumulusclips.tar.gz


Ekstrak

cp cumulusclips.tar.gz /var/www/
cd /var/www/
tar zxvf cumulusclips.tar.gz
chmod -Rf 777 /var/www/cumulusclips
chown -Rf www-data.www-data /var/www/cumulusclips


Buat Database

Asumsi password root MySQL adalah 123456, lakukan

mysql -u root -p123456
CREATE DATABASE cscript;
GRANT ALL PRIVILEGES ON cscript.* TO "cscript"@"localhost" IDENTIFIED BY "cscript";
FLUSH PRIVILEGES;
EXIT

Akses

http://localhost/cumulusclips/


Capture Screen Saat Instalasi

Cscript1.png
Cscript2.png
Cscript3.png
Cscript4.png
Cscript5.png
Cscript6.png
Cscript7.png
Cscript8.png

Referensi