VideoCache

install videocache on squid3 and ubuntu 8.04

by marom on 3 Nov 2009

please tell us step by step to install videocache on ubuntu 8.04 and squid3. thanks

20 Answers

by Kulbir Saini on 3 Nov 2009

Marom,

Please check the block "Videocache Hacks" in the left sidebar!

Thank You!

by marom on 4 Nov 2009

how about this script at squid.conf??

url_rewrite_program /usr/bin/python /etc/squid/youtube_cache/youtube_cache.py

whereas in the directory / etc / squid no folders youtube_cache

by marom on 4 Nov 2009

I've bought a video cache bundle, but no youtube-cache.tar.gz

by Kulbir Saini on 4 Nov 2009

Marom,

Youtube Cache has been renamed to Videocache. So, you receive videocache-x.x-x.tar.gz in videocache bundle.

That is an old howto I think. Please try this for an updated version of howto.

If you still face problems, please reply back in forum.

Thank You!

by marom on 4 Nov 2009

thanks admin,i have try it...

but when i try

git clone http://git.cachevideos.com/videocache.git 
Initialized empty git repository in /usr/src/videocache/.git/ 
fatal: http://git.cachevideos.com/videocahe.git/info/refs download error - the request URL returned error: 403

how about this? thanks before

by Kulbir Saini on 4 Nov 2009

Marom,

You need to purchase a copy of videocache. Its not free anymore. Please go to download page.

Thank You!

by marom on 4 Nov 2009

i have purcache videocache, and the file after send by e-mail

please correct

by Kulbir Saini on 4 Nov 2009

Hi Marom,

I check my sent mail and I have sent you the bundle long back. Please extract that to get the videocache tar file.

Thank You!

by marom on 4 Nov 2009

why i have error in this step??

git clone http://git.cachevideos.com/videocache.git
Initialized empty git repository in /usr/src/videocache/.git/
fatal: http://git.cachevideos.com/videocahe.git/info/refs download error - the request URL returned error: 403

when i browse the web page http://git.cachevideos.com/videocache.git the result is access denied??

what must i do admin??

by Kulbir Saini on 4 Nov 2009

Hi Marom,

You don't have to use git anymore. For download and unzip/untar step do the following

  1. Download the attachment that I sent to you.
  2. Untar it. It'll have three packages.
  3. Now select the .tar.gz file and extract it. Thats your videocache-1.9.2 directory.

And then follow the tutorial.

Thank You!

by marom on 9 Nov 2009

hi admin.. i have install video cache and install it successfully by default configuration.

but when i try to make special direktory (/cache) for youtubecache there are some error when i open browser and browse http://localhost/videocache

Not Found

The requested URL /videocache was not found on this server.
Apache/2.2.11 (Ubuntu) Server at localhost Port 80

this is conf file in /etc/videocache

base_dir = /cache/videocache/

and /etc/httpd/conf.d/videocache.conf

Alias /videocache /cache/videocache
<Directory /cache/videocache>
  Options +Indexes
  Order Allow,Deny
  Allow from all
</Directory>

there are no error when execute update-vc and reload squid and apache.

there are any file must i configure again admin???

thanxs for reply

by Kulbir Saini on 9 Nov 2009

Marom,

You don't have to make the special directory yourself. You just specify it as base_dir and run update-vc and videocache will create the necessary directories itself. Now since you have created one, please remove the existing directory and run update-vc again and reload httpd and squid services after that.

Thank You!

by marom on 11 Nov 2009

admin, I do not understand what you mean. I made a special direktory /cache of 100GB for the video directory cache. and I want the cache files are stored located there. how to configure this videocache? and one more, when I use the opera browser on the server's log videocache but can not play at the opera. thanks

by Kulbir Saini on 11 Nov 2009

Marom,

Run update-vc after changing videocache.conf . For opera, check your proxy settings in browser.

Thank You!

by marom on 11 Nov 2009

i have check proxy setting in opera and internet explorer, there are default configuration because i use transparent proxy..

by marom on 11 Nov 2009

i have check proxy setting in opera and internet explorer, there are default configuration because i use transparent proxy.. but the browser ( opera and IE) still can't play video cache??

one more, i after edit /etc/videocache.conf and run update-vc, reload apache2 and squid.. but it's not working??? the log its ok but can't served from cache..

by Kulbir Saini on 13 Nov 2009

Marom,

You don't tend to supply enough information which can help me track the problem. You just say "its not working". What does that mean? Please contact me using the contact form.

Thank You!

by estanislao on 25 Nov 2009

Saludos, por favor, deseo hacer un server, que tengue el SQUID y, CACHEVIDEO, deseo hacerlo en UBUNTU Server 9.10, lo cual, que proceimiento ys comando necesito realizar, paso a paso, por favor.
Se los agradeceria muchisimo, saludos att. estanislao

by YehLaw on 16 Jan 2010

i just bought videocache and cant get it work, im using squid 2.7 apache2 on ubuntu server 9.10. when i try to do:

#python setup.py install   i get the following error

Traceback (most recent call last):
  File "setup.py", line 397, in <module>
    setup(root)
  File "setup.py", line 288, in setup
    if not dir_perms_and_ownership(new_dir, squid_user, squid_group):
  File "setup.py", line 76, in dir_perms_and_ownership
    user = pwd.getpwnam(user)[2]
KeyError: 'getpwnam(): name not found: squid'

what can i do to do to fix this?

by Kulbir Saini on 16 Jan 2010

Hi YehLaw,

For Ubuntu and other Debian derivatives, we should use setup-deb.py instead of setup.py .

Thank you!

You need to sign in. Please sign in to add answer to this question.