install Some things on the server for OS : Ubuntu16x64
Budget: $30 – $250 USD
Hi i just want add this things to my server
1: FFmpeg 1.0+ with libx264, libavfilter and AAC codec (libfaac, libfdk_aac or native ffmpeg aac codec)
2: ImageMagick (with WebP support)
3: cURL
4: Wget 1.14+
5: Apache with mod_rewrite (-MultiViews)
6: Nginx (configured with --with-http_mp4_module) and proxying Apache.
7:Set client_max_body_size to 0 in nginx config
8: PHP.ini upload_max_filesize 5000M (the maximum allowed size for uploaded files)
9: PHP.ini post_max_size 5000M (the maximum allowed size for uploaded files)
10: PHP.ini memory_limit 1024M
and we need to add
1) Configure the following command on crontab every minute:
cd /var/www/vhosts/sextime.tv/httpdocs/admin/include && /opt/plesk/php/7.4/bin/php cron.php > /dev/null 2>&1
2) Add the following block to domain nginx config for preventing direct access to your video files:
# protect videos from direct access
location ^~ /contents/videos/ {
root /var/www/vhosts/sextime.tv/httpdocs;
limit_rate_after 2m;
internal;
}
OS : Ubuntu16x64
1: FFmpeg 1.0+ with libx264, libavfilter and AAC codec (libfaac, libfdk_aac or native ffmpeg aac codec)
2: ImageMagick (with WebP support)
3: cURL
4: Wget 1.14+
5: Apache with mod_rewrite (-MultiViews)
6: Nginx (configured with --with-http_mp4_module) and proxying Apache.
7:Set client_max_body_size to 0 in nginx config
8: PHP.ini upload_max_filesize 5000M (the maximum allowed size for uploaded files)
9: PHP.ini post_max_size 5000M (the maximum allowed size for uploaded files)
10: PHP.ini memory_limit 1024M
and we need to add
1) Configure the following command on crontab every minute:
cd /var/www/vhosts/sextime.tv/httpdocs/admin/include && /opt/plesk/php/7.4/bin/php cron.php > /dev/null 2>&1
2) Add the following block to domain nginx config for preventing direct access to your video files:
# protect videos from direct access
location ^~ /contents/videos/ {
root /var/www/vhosts/sextime.tv/httpdocs;
limit_rate_after 2m;
internal;
}
OS : Ubuntu16x64