VideoCache
Videocache is no longer in development.

Upgrading VideoCache

Upgrading VideoCache is easy. To upgrade VideoCache, you can either use the bundled upgrade script upgrade.py or you can simple override your existing VideoCache installation by following the steps described in Installing VideoCache.

NOTE: Before upgrading VideoCache, please don’t forget to take a backup of your existing configuration file located at /etc/videocache.conf.

To upgrade VideoCache using upgrade script follow the steps listed below. You must be logged in as root or super user to perform this action.

  • Untar the VideoCache software bundle you received in your email

[root@white-magnet ~]$ tar -xvzf videocache-2.3.tar.gz
  • Navigate to the directory videocache-2.3

[root@white-magnet ~]$ cd videocache-2.3
  • Run the upgrade script (upgrade.py) to install VideoCache

[root@white-magnet videocache-2.3]$ python upgrade.py
Videocache upgraded successfully. Please follow the following instructions now.

----------------------------------Step 1-----------------------------------------
Restart Apache web server on your machine by using the following command
[root@white-magnet ~]$ apachectl -k restart

----------------------------------Step 2-----------------------------------------
Depending on the version of your Squid, open vc_squid_2.conf or vc_squid_3.conf
in your Videocache bundle. Copy all the lines and paste them at the top of your
Squid configuration file squid.conf. Remove the old videocache specific lines first.

Also, add the following lines at the top of your Squid config file squid.conf.
#-----------------CUT FROM HERE-------------------
access_log /var/log/squid3/access.log
acl this_machine src 127.0.0.1 192.168.0.100
http_access allow this_machine
#-----------------CUT TILL HERE-------------------

----------------------------------Step 3-----------------------------------------
Restart videocache scheduler vc-scheduler using the following command.
[root@white-magnet ~]$ vc-scheduler -s restart

----------------------------------Step 4-----------------------------------------
Restart Squid proxy server daemon using the following command.
[root@white-magnet ~]$ /etc/init.d/squid restart

----------------------------------Step 5-----------------------------------------
Go the videocache log directory /var/log/videocache/ and check various log files
to have a look at videocache activity.


Check Manual.pdf file for detailed configurations of squid, apache and videocache.
In case of any bugs or problems, visit http://cachevideos.com/ and contact us.

[root@white-magnet videocache-2.3]$ videocache-2.3