Follow us on...
Follow us on G+ Follow us on Twitter Follow us on Facebook Watch us on YouTube
Register
Page 7 of 7 FirstFirst ... 567
Results 91 to 98 of 98
  1. mattnux's Avatar
    Status
    Offline
    Forum Guru Array
    Join Date
    Jun 2008
    Location
    jakarta
    Posts
    1,255
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    1 (100%)

    Jump to Comments

    caching video youtube dengan squid, steb by steb!!!

    97 Comments by mattnux Published on 25-05-2009 03:02


    buat yang mau caching video kaya youtube dll dengan squid Click here to enlarge
    monggo dimanfaatkan juragan...

    kalo mentok call aja heheheClick here to enlargeClick here to enlarge
    Last edited by mattnux; 22-12-2009 at 00:22.

  2. The Following 6 Users Say Thank You to mattnux For This Useful Post:


  3. Total Comments 97

    Comments

  4. #91
    Status
    Offline
    tnt
    tnt's Avatar
    Member Senior
    Join Date
    Aug 2009
    Location
    Jember, Indonesia
    Posts
    416
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge sundul dulu ah... Click here to enlarge

  5. #92
    Status
    Offline
    wsputra's Avatar
    Member
    Join Date
    Jul 2008
    Location
    Planet Mars
    Posts
    261
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    up
    up up
    up up up
    up up up up
    up up up up up
    up up
    up up
    up up
    up up

    biar heboh

  6. #93
    Status
    Offline
    adhielesmana's Avatar
    Administrator
    Join Date
    Jan 2009
    Location
    http://www.adhielesmana.com
    Posts
    3,054
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    wahahaha... Pak Lurahnya mana ni.. harusnya dah di close ni thread... biar gak jadi junk.. cukup jadi informasi aja.. woi Pak Lurah / Camat Kelurahan Article Kecamatan Tutorial siapa ya..

  7. #94
    Status
    Offline
    mattnux's Avatar
    Forum Guru
    Join Date
    Jun 2008
    Location
    jakarta
    Posts
    1,255
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    1 (100%)
    Click here to enlarge Originally Posted by adhielesmana Click here to enlarge
    wahahaha... Pak Lurahnya mana ni.. harusnya dah di close ni thread... biar gak jadi junk.. cukup jadi informasi aja.. woi Pak Lurah / Camat Kelurahan Article Kecamatan Tutorial siapa ya..
    di close aja mod...lg sibuk banget soalnya hehehe
    Click here to enlargeClick here to enlargeClick here to enlarge

  8. #95
    Status
    Offline
    mattnux's Avatar
    Forum Guru
    Join Date
    Jun 2008
    Location
    jakarta
    Posts
    1,255
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    1 (100%)

    Thumbs up step by step videocache di ubuntu

    akhirnya ane posting juga panduannya, sebenarnya ini bukan tulisan asli ane alias comot dari forumsebelah aja, tilusan ane udah ga ketahuan ada dimana hihihi, yah mudah2an berguna aja buat penikmat squid khususnya videocache.

    langsung saja ya...





    Sebelumnya di Ubuntu server kita harus sudah terinstall LAMP Server dan Proxy Server. Kemudian kita download source code dari Youtube Cache di

    wget ...

    Jangan lupa mengecek dependensi atau ketergantungan dari software yang antara lain;
    1. Squid >= versi 2.6 keatas
    2. Python >= versi 2.4 keatas
    3. Python-urlgrabber (modul urlgrabber untuk python)
    4. Python-iniparse (modul iniparse untuk python, bisa didownload di )
    5. Web Server (Apache2 atau Lighttpd)

    Sebelum menginstall Youtube Cache kita harus mengeset python-iniparse dahulu, setelah kita download dan ekstrak, kemudian ketikkan;

    # python setup.py install

    dan setelah instalasi python-iniparse selesai, barulah kita mengekstrak Youtube-Cache. Setelah diekstrak, masuklah ke direktori hasil ekstraksi dan buka file setup.py dengan teks editor seperti vi atau nano;

    #nano /home/dendy/youtube_cache-1.2/setup.py

    kemudian cari baris dibawah dan edit sedemikian rupa;
    squid_user = 'proxy'
    squid_group = 'proxy'

    buat folder dummy untuk apache ;
    apache_conf_dir = '/etc/apache2/conf.d/'

    simpan dan tutup, kemudian ketikkan perintah instalasi:

    #python setup.py install

    Setelah selesai, editlah file konfigurasi Squid

    #nano /etc/squid/squid.conf

    Salin baris dibawah berikut ini, dan tambahkan di bagian paling bawah dari file konfigurasi squid anda;

    url_rewrite_program /usr/bin/python /etc/squid/youtube_cache/youtube_cache.py
    url_rewrite_children 10
    acl youtube_query url_regex -i \.youtube\.com\/get_video
    acl youtube_query url_regex -i \.cache[a-z0-9]?[a-z0-9]?[a-z0-9]?\.googlevideo\.com\/videoplayback
    acl youtube_query url_regex -i \.cache[a-z0-9]?[a-z0-9]?[a-z0-9]?\.googlevideo\.com\/get_video
    acl youtube_deny url_regex -i http:\/\/[a-z][a-z]\.youtube\.com
    #acl metacafe_query dstdomain v.mccont.com
    #acl dailymotion_query url_regex -i proxy\-[0-9][0-9]\.dailymotion\.com\/
    acl google_query dstdomain vp.video.google.com
    #acl redtube_query dstdomain dl.redtube.com
    #acl xtube_query url_regex -i [a-z0-9][0-9a-z][0-9a-z]?[0-9a-z]?[0-9a-z]?\.xtube\.com\/(.*)flv
    #acl vimeo_query url_regex -i bitcast\.vimeo\.com\/vimeo\/videos\/
    #acl wrzuta_query url_regex -i va\.wrzuta\.pl\/wa[0-9][0-9][0-9][0-9]?
    url_rewrite_access deny youtube_deny
    url_rewrite_access allow youtube_query
    #url_rewrite_access allow metacafe_query
    #url_rewrite_access allow dailymotion_query
    url_rewrite_access allow google_query
    #url_rewrite_access allow redtube_query
    #url_rewrite_access allow xtube_query
    #url_rewrite_access allow vimeo_query
    #url_rewrite_access allow wrzuta_query
    redirector_bypass on
    (untuk beberapa situs seperti redtube saya kasih tanda"#" karena saya gak ingin nyimpen bokep)
    kemudian edit file konfigurasi youtube-cache

    #nano /etc/youtube_cache.conf

    Ganti base_dir ke /var/www/video_cache

    PENTING: rubahlah cache_host = IPADDRESS dari PROXY anda
    contoh; cache_host = 192.168.3.2

    kemudian salin lokasi cache video ke web server;
    #cp -r /var/spool/squid/video_cache /var/www/

    pastikan anda dapat mengakses direktori ini melalui jika tidak maka file video tidak akan tersimpan.

    restart squid dan apache

    #/etc/init.d/squid restart

    #/etc/init.d/apache2 restart

    Jika anda menggunakan proxy manual, arahkan browser client ke IP Address server, jika menggunakan transparent proxy maka anda dapat langsung menggunakannya tanpa harus mengeset browser.

    Untuk melihat proses caching video streaming, ketik perintah berikut;

    #tail -f /var/log/squid/youtube_cache.log

    Jika berhasil, maka setelah video di”caching” maka yang tertulis adalah sebagi berikut;

    DOWNLOAD YOUTUBE 10167389 Video was downloaded and cached.
    CACHE_SERVE YOUTUBE Video was served from cache.

  9. The Following 4 Users Say Thank You to mattnux For This Useful Post:


  10. #96
    Status
    Offline
    assembuh's Avatar
    Baru Gabung
    Join Date
    Apr 2010
    Posts
    15
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by mattnux Click here to enlarge
    akhirnya ane posting juga panduannya, sebenarnya ini bukan tulisan asli ane alias comot dari forumsebelah aja, tilusan ane udah ga ketahuan ada dimana hihihi, yah mudah2an berguna aja buat penikmat squid khususnya videocache.

    langsung saja ya...

    2010/05/03 20:52:22| Ready to serve requests.
    2010/05/03 20:52:22| WARNING: url_rewriter #1 (FD 7) exited
    2010/05/03 20:52:22| WARNING: url_rewriter #2 (FD 8) exited
    2010/05/03 20:52:22| WARNING: url_rewriter #4 (FD 10) exited
    2010/05/03 20:52:22| WARNING: url_rewriter #5 (FD 11) exited
    2010/05/03 20:52:22| WARNING: url_rewriter #3 (FD 9) exited
    2010/05/03 20:52:22| Too few url_rewriter processes are running
    FATAL: The url_rewriter helpers are crashing too rapidly, need help!

    ini kenapa y oM ....gimana slusinya ....plelase Click here to enlarge

  11. #97
    Status
    Offline
    tnt
    tnt's Avatar
    Member Senior
    Join Date
    Aug 2009
    Location
    Jember, Indonesia
    Posts
    416
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    wah, nice tutz neh,,,
    tapi baru nyampe sini,
    Click here to enlarge Originally Posted by mattnux Click here to enlarge
    wget ...
    waktu ane ndonglot ntu file&berhasil, waktu d ekstrak koq kosong ya bro??? Click here to enlarge
    malah di direct suruh beli,,, Click here to enlarge
    mana Click here to enlarge lagi...
    pa mgk dari koleksi si abang ni bisa d taruh ke server lokal aja ya biar gampang?? Click here to enlargeClick here to enlarge

    makasih&semoga tambah sukses dah!!! Click here to enlargeClick here to enlarge

  12. #98
    Status
    Offline
    bezt's Avatar
    Baru Gabung
    Join Date
    Jan 2010
    Posts
    2
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0

    VIdeocache musti nge'download 2 kali bang!!

    Sy udah pake videocache v 1.9.2 dan mengikuti tutorial langsung dr situsnya
    Tp setelah nyoba, ternyata si client kok musti ng'e streaming dua kali ya br bs ter-cache??

    streaming pertama ada error kek bgini "SCHEDULED YOUTUBE Video scheduled for download"
    streaming kedua baru bisa tercache

    Kira2 kenapa ya bang???
    Ada yg mengelami kejadian serupa kaga?? makasi

 

 
Page 7 of 7 FirstFirst ... 567

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 guests)

Similar Articles

  1. [Req] Squid buat nge-cache YouTube
    By Xerophie in forum General Networking
    Replies: 7
    Last Post: 12-12-2013, 02:31
  2. Mikrotik dengan Squid Proxy
    By [a] in forum Tutorial
    Replies: 64
    Last Post: 26-05-2012, 17:58
  3. Replies: 46
    Last Post: 14-04-2012, 03:43
  4. Replies: 40
    Last Post: 23-02-2010, 15:27
  5. Pantau Aktifitas Client & Caching Problem
    By GRiffiN in forum General Networking
    Replies: 17
    Last Post: 27-09-2007, 13:09

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •