Cumulusclips: Instalasi

From OnnoWiki
Jump to navigation Jump to search

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

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 nobody.nogroup /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:

   /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.


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