You are hereForums / Support / install videocache on squid3 and ubuntu 8.04

Videocache 1.9.5 is available now. This version improves support for logging and fixes video caching problems for various sites like Vimeo, Break, Tube8 etc due to change in URL patterns. Also, from this version onwards, UrlGrabber has been removed from dependencies. Check Changelog for details. If you have purchased version 1.9.x previously, you can claim free upgrade by contacting using Contact Link. Please mention the email address using which you purchased Videocache. New users proceed to download page right now, secure your copy and enjoy caching :-)

install videocache on squid3 and ubuntu 8.04


20 replies [Last post]
Offline
Joined: Nov 3 2009
install videocache on squid3 and ubuntu 8.04
Printer-friendly versionSend to friend

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

admin's picture
Offline
Joined: Nov 2 2008

Marom,

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

Thank You!

Offline
Joined: Nov 3 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

Offline
Joined: Nov 3 2009

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

admin's picture
Offline
Joined: Nov 2 2008

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!

Offline
Joined: Nov 3 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

admin's picture
Offline
Joined: Nov 2 2008

Marom,

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

Thank You!

Offline
Joined: Nov 3 2009

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

please correct

admin's picture
Offline
Joined: Nov 2 2008

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!

Offline
Joined: Nov 3 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??

admin's picture
Offline
Joined: Nov 2 2008

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!

Offline
Joined: Nov 3 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
#######################3
Alias /videocache /cache/videocache

Options +Indexes
Order Allow,Deny
Allow from all

#########################

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

admin's picture
Offline
Joined: Nov 2 2008

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!

Offline
Joined: Nov 3 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

admin's picture
Offline
Joined: Nov 2 2008

Marom,

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

Thank You!

Offline
Joined: Nov 3 2009

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

Offline
Joined: Nov 3 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..

admin's picture
Offline
Joined: Nov 2 2008

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!

estanislao (not verified)

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

YehLaw (not verified)

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
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?

admin's picture
Offline
Joined: Nov 2 2008

Hi YehLaw,

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

Thank you!

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <code>
  • Lines and paragraphs break automatically.
  • HTML tags will be transformed to conform to HTML standards.

More information about formatting options

CAPTCHA
Are you a human visitor ?
Image CAPTCHA
Enter the characters (without spaces) shown in the image.

Buy Now

Videocache Bundle (RPM and tar archive) is available. Secure your copy now by clicking the button below.
No. of Servers?
For details, check this page.

Recent comments

Spread it

Thank you for spreading the word!

Who's online

There are currently 0 users and 64 guests online.