Difference between revisions of "Cumulusclips: Instalasi"

From OnnoWiki
Jump to navigation Jump to search
Line 56: Line 56:
 
  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
+
==Buat Database==
 
 
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:
 
 
 
    /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

Revision as of 04:48, 13 May 2014

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


Instalasi Aplikasi Pendukung

  • Instalasi Web Server Apache, MySQL, PHP
apt-get install ffmpeg pyftpd


Edit vsftpd.conf

edit

vi /etc/vsftpd.conf

tambahkan

seccomp_sandbox=NO


Restart

/etc/init.d/vsftpd restart


Add user cumulusclips

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

Edit php.ini

vi /etc/php5/apache2/php.ini

Pastikan

upload_max_filesize = 1000M
max_execution_time = 1200

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/

Referensi