Skip to content
Search

CumulusClips

lastmod 2025-09-15created 2015-12-2815 edits

CumulusClips is a video sharing script that allows you to start your own video website. It's free and easy to use. You can build a YouTube clone where users can upload videos, rate videos, comment on videos, and much more.

Requirements

Server Requirements

CumulusClips runs on Linux / Unix operating systems only. The following is required:

  • Linux (Kernel 2.6.32+)
  • PHP 5.3+
  • MySQL 5.0+
  • Apache web server 2.x (with mod_rewrite enabled)

When using a virtual private server (Virtual Private Servers; VPS), allocate 1GB of RAM for video encoding.

PHP Settings

Edit /etc/php.ini file:

; Ubuntu php5 에서 short_open_tag 으로 찾으면 된다.
short_open_tags = On

upload_max_filesize = 110M
post_max_size = 110M
max_execution_time = 1500

; Ubuntu php5 에서 sql.safe_mode 로 찾으면 된다.
safe_mode = Off

; Ubuntu php5 에서 초기 설정 중 찾을 수 없다.
register_globals = Off

PHP Modules

  • POSIX
  • GD
  • curl
  • simplexml
  • zip

How to install

CentOS

## PHP Extension:
$ yum install -y gd gd-devel php-gd
$ yum install -y curl curl-devel php-curl
$ yum install -y php-simplexml
$ yum install -y zip php-zip
$ yum install -y php-mysql
$ yum install -y php-process

Ubuntu

$ sudo apt-get install -y apache2 libapache2-mod-php5 ## include posix simplexml zip
$ sudo apt-get install -y php5-gd php5-curl
$ sudo apt-get install -y mariadb-server php5-mysql
$ sudo apt-get install -y unzip

mysql_secure_installation

mysql -u root -p
> CREATE DATABASE cumulusclips;
> GRANT ALL PRIVILEGES ON cumulusclips.* TO cumulusclips@localhost IDENTIFIED BY 'password';
> FLUSH PRIVILEGES;
> exit;

sudo wget http://cumulusclips.org/cumulusclips.zip
unzip 1.1.1.zip
cd cumulusclips
mv .htaccess * /var/www/html/
sudo chown -R www-data:www-data /var/www/html

Edit the /etc/php5/apache2/php.ini file as described in #Requirements above.

Finally, enable mod_rewrite.

sudo a2enmod rewrite
sudo service apache2 restart

If needed, enable mod_ssl.

sudo a2enmod ssl
sudo a2ensite default-ssl
sudo service apache2 reload
sudo service apache2 restart

How to install

Troubleshooting

WTF FTP configure?

If there is no file write permission, the FTP configuration screen appears. So check the user, permissions, SELinux, etc., starting from the top-level directory where CumulusClips is installed.

A valid base URL is needed

During installation you have to enter the host URL, and the following error may occur.

A valid base URL is needed

If the URL includes a port number, you need to modify part of the source code. Around line 26 of the ./cc-install/site-details.php file, you will find the following regex pattern.

$pattern = '/^https?:\/\/[a-z0-9][a-z0-9\.\-]*[a-z0-9\/\_\.\-]*$/i';

Change it as follows.

$pattern = '/^https?:\/\/[a-z0-9][a-z0-9\.\-]*[a-z0-9\/\_\.\-]*(:[0-9]*)?$/i';

404 Not found

If httpd returns a 404 error when navigating to a page such as https://localhost/videos/, modify the configuration file as follows.

<VirtualHost _default_:443>
    ...
    <Directory /var/www/html>
        Options -Indexes
        AllowOverride All
        <IfModule mod_authz_core.c>
            Require all granted
        </IfModule>
    </Directory>
    ...
</VirtualHost>

Media Streaming Servers

See also

Favorite site

author Zer0 sitemap