CumulusClips
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)
가상 사설 서버(Virtual Private Servers; VPS)를 사용할 경우 비디오 인코딩을 위한 1GB의 RAM을 할당해야 한다.
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
/etc/php5/apache2/php.ini
파일을 위의 #Requirements내용대로 수정한다.
마지막으로 mod_rewrite를 활성화 한다.
필요하다면 mod_ssl을 활성화 한다.
How to install
Troubleshooting
WTF FTP configure?
파일 쓰기 권한이 없을 경우 FTP설정이 나오게 된다. 따라서 CumulusClips가 설치된 최 상위 디렉터리부터 사용자, 권한, SELinux 등을 확인해야 한다.
A valid base URL is needed
설치 과정중 host의 URL을 입력해야 하는데, 아래와 같은 에러가 발생될 수 있다.
URL에 Port번호가 포함되어 있다면 소스코드를 일부 수정해야 한다. ./cc-install/site-details.php
파일에서 약 26번째 라인에서 아래와 같은 regex패턴이 발견될 것이다.
이 것을 아래와 같이 바꾸면 된다.
404 Not found
httpd에서 https://localhost/videos/ 와 같은 페이지로 전환시 404에러가 발생된다면 설정파일을 아래와 같이 수정해야 한다.
<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
- Media Streaming
- Red5
- Subsonic
- Madsonic
- Plex
- [추천] Kodi (xbmc)
- OSMC
- CumulusClips
- MediaDrop
- Plumi
- MediaGoblin
- AVideo (YouPHPTube)
- LBRY
- PeerTube
- DTube
- emby
- homehost
- streama
- YouTube
- Netflix
- [추천] MediaCMS
- Jellyfin
- Podify (youtube-dl)
- Overpass - 셀프호스트 스트리밍 플랫폼
- PuMuKIT
- Shareavideo
- Klopix
- AVideo
- Rutube
- ClipBucket
- VideoHub
- briskLimbs
- Peer2PeerTube
- MyTube
- FHV Stream
- We-TeVe
- vidx-video-sharing
- Yark - 유튜브 아카이빙 도구
- Tube Archivist (tubearchivist)
- BlackCandy - 셀프 호스팅 음악 스트리밍 서버
- [추천] Immich - Self-hosted photo and video management solution
- Pinchflat - 셀프호스트 가능한 유튜브 미디어 관리자