ข่าว: ข่าวประกาศ

  • 08 พฤษภาคม 2024, 10:12:07

เข้าสู่ระบบด้วยชื่อผู้ใช้ รหัสผ่าน และระยะเวลาในเซสชั่น

แสดงกระทู้

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - gudgeee

หน้า: [1] 2
1
คุยกับทีมวิจัย / Re: Clone Zilla - OpenSource Clone System
« เมื่อ: 22 พฤษภาคม 2009, 19:39:32 »
ผมเจอปัญหา 
ถ้าclon แบบ  unicast  สามารถ clone ได้ปกติ
แต่ ถ้าทำแบบ  multicast มันค้าง ทุกเครื่อง นิ่ง ไม่ไปไหนเลย
ตอนเริ่ม setup  ผมเลือก  เริ่มต้นที่   200   จำนวน 50
******************************************************
What is the initial number do you want to use in the last set of digits in the IP (i.e. the initial value of d in the IP address a.b.c.d) for DRBL clients connected to this ethernet port eth0.
[1] 200 ให้ใส่หมายเลข IP เริ่มต้นแล้วกด <Enter>
******************************************************
How many DRBL clients (PC for students) connected to DRBL server's ethernet network interface eth0 ?
Please enter the number:
[12] 50 ให้ใส่จำนวนเครื่อง แล้วกด <Enter>
******************************************************


ตอนช่วง clone  multicast  ที่ให้ระบุ จำนวนเครื่อง  ผมต้องการ แค่  2

clonzilla -Opensoure clone system (Qcs)
How many clients to restore ?
2
          <Ok>     <Cancel>

จากนั้น ผมก็ไป เปิดเครื่องลูก 2 เครื่อง boot เข้า lanได้
แต่ไป ค้างที่หน้า 
Calculating bitmap.....
Please wait.......

ทั้ง 2 เครื่องเลย   ไม่ทราบไปติดตรงไหนครับ   ช่วยบอกที :-\
 

3
แจ่มๆ จะช่วยทดสอบให้ครับ  ;D

4
เกมส์ ฮิตๆ ตามร้านก็ ที่รู้กัน ต้องอาศัยเจ้า Active X   ตอน login
เลยทดลอง กับ   Fedora core 9 + wine + ie4linux  ..แล้ว config อีกนิดหน่อย
จากนั้น ติดตั้งเกมส์ Audition ลงไปใน wine ได้
เริ่มเข้าเกมส์ หน้า login ...
ผลปรากฎ ผ่านด่านเจ้า Active X ได้สำเร็จ  ... เย้ๆๆ
แต่...มันนดัน ขั้น Error ว่าหา folder เกมส์ ในเครื่องไม่เจอ  เวรกำ....
ว่างๆก็ลองช่วยทดสอบกันนะครับ

ถามว่า มี windows อยู่แล้วจะไปดิ้นรนให้ลำบากทำไม
ตอบว่า ถ้าร้านเกมส์ เป็น linux ได้ทั้งร้าน คงจะ เฮ กันทั้งประเทศ  เหตุผลอะไรนั้น ก็รู้ๆกัน ;D

5
คุยกับทีมวิจัย / Re: deep freez expired uninstall ไม่ได้ทำไงดี
« เมื่อ: 30 พฤศจิกายน 2008, 05:12:45 »
อืม...ตอนผมติดตั้งได้แคล็กไว้แล้ว เลยไม่เจอปัญหา หมดอายุ
เจอแต่   ตอน ghost... 
  hdd ต้นฉบับดันลืม  uninstall  เจ้า deep freez  ออกก่อน   ...
hdd ที่ถูก ghost ไป เจ้าdeep freez มันจะไม่ทำงาน.. uninstall ก็ไม่ได้ 

ต้อง uninstall deep freez เครื่องต้นฉบับออกก่อน ghost
แล้วค่อยไปลงใหม่....

ถ้าด่วนมาก ก็ ghost ทับใหม่ไปเลยครับ
ไว้รอท่านผู้เชี่ยวชาญ มาให้คำตอบอีกที  ;D

6
คุยกับทีมวิจัย / Re: Squid Cache Video Youtube
« เมื่อ: 18 พฤศจิกายน 2008, 18:39:35 »
หรือ  แบบนี้ดี
acl  delay_mime_type rep_mime_type video/flv application/download video/mpeg
acl pool1 src 192.168.200.101-192.168.200.154/255.255.255.255
acl pool2  url_regex -i hi5 youtube .flv .3gp .aac .ac3 .act .aif .aiff .amr .a$
delay_pools 2
delay_class 1 2
delay_class 2 2
delay_access 1 deny  all
delay_access 1 allow pool1
delay_access 2 allow delay_mime_type
delay_access 2 allow pool2
delay_parameters 1 -1/-1  102400/102400
delay_parameters 2 12800/12800  12800/12800

7
คุยกับทีมวิจัย / Re: Squid Cache Video Youtube
« เมื่อ: 18 พฤศจิกายน 2008, 03:33:27 »
แบบนี้ พอได้ป่าวครับ 
acl pool1 src 0.0.0.0/0.0.0.0
acl pool2  url_regx -i  .flv
delay_pools 2
delay_class 1 2
delay_class 2 2
delay_access 1 allow pool1
delay_access 2 allow pool2
delay_parameters 1 -1/-1 102400/102400
delay_parameters 2 12800/12800  12800/12800

 หรือมีตัวอย่างบ้างมั้ยครับ ขอดูบ้างซิ

8
คุยกับทีมวิจัย / Re: Squid Cache Video Youtube
« เมื่อ: 17 พฤศจิกายน 2008, 19:10:08 »
งั้น คงต้องขอวิธี  จำกัด แบนวิท ของ web hi5  กับ youtube  แล้วกันนะครับ
ของ ผม เน็ต 2 mb  1  เส้น ไม่ว่าจะแก้ตรงไหนครับ ช่วยแนะนำด้วยครับ admin

9
ตุรกี มั้งครับ อิๆ   มันชอบมาม่อ สาวไทย ใน แคมฟอร์ก   

....ขอบคุณครับ  คุณหนึ่ง 
 นอกจาก squid  ยังเกี่ยวกับ iptables ด้วย
เซริฟตัวที่ 2
eth0 ต่อที่ เซริฟ mutiwan เดิม
eth1 ต่อเข้า วงแลน

echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -F
iptables -t mangle -F
iptables -t filter -F
iptables -X
iptables -A FORWARD -j ACCEPT
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT --to-port 8080
แต่ก็ยัง  TCP_MEM_HIT อยู่เหมือนเดิม

ทดสอบ   นอกจาก youtube  แล้วยังเก็บได้หมด ทุก  Vdo web  เลย
รอ Admin   upgrade   เป็น  ubuntu 8.10 multiwan    อยู่  ;D
หรือ ผมจะเอาไฟล์ไหน จาก CD แผ่น 2 มาทำ Mutiwan ใช้ไปพลางๆก๋อนได้บ้าง
 
สู้ๆ ครับ Hadyaiinternet

10
เก็บได้แล้วครับ   ทุก vdo เลย
ลองเอา pc มาทำเซริฟ   ต่อผ่าน เซริฟเดิม  Ubuntu Multiwan
ลง  Ubuntu 8.10  ทำ dhcp3 + iptable + squid 2.7
เก็บได้ ทุก Vdo ที่เปิด ดูใน youtube  (แต่ใน  ro89 ยังไม่ได้ลอง  :P อิๆ )   

สร้างไฟล  /usr/local/bin/store_url_rewrite  (script ข้างในก็ตามเวป )


บางส่วนที่เพิ่มใน squid

 cache_mem 128 MB
maximum_object_size 500 MB
maximum_object_size_in_memory 65535  KB
cache_swap_low 98%
cache_swap_high 99%
store_dir_select_algorithm round-robin
ipcache_size 2048
ipcache_low 98
ipcache_high 99
fqdncache_size 2048
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF
acl snmpcommunity snmp_community public

snmp_port 3401
snmp_access allow snmpcommunity localhost
snmp_access deny all

zph_mode tos
zph_local 0ื30
zph_parent 0
zph_option 136

refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern -i \.flv$       10080   90%     999999 ignore-no-cache override-expire ignore-private
refresh_pattern ^http://sjl-v[0-9]+\.sjl\.youtube\.com 10080 90% 999999 ignore-no-cache override-expire ignore-private
refresh_pattern ^http://(.*?)/get_video\? 10080 90% 999999 override-expire ignore-no-cache ignore-private
refresh_pattern ^http://(.*?)/videodownload\? 10080 90% 999999 override-expire ignore-no-cache ignore-private
refresh_pattern .               0       20%     4320


acl store_rewrite_list url_regex ^http://(.*?)/get_video\?
acl store_rewrite_list url_regex ^http://(.*?)/videodownload\?
cache allow store_rewrite_list


storeurl_access allow store_rewrite_list
storeurl_access deny all

storeurl_rewrite_program /usr/local/bin/store_url_rewrite

# Had to uncomment this again, because I couln'd login to google mail using IE6 (firefox had no trouble):
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY

# --BEGIN-- youtube_cache config for squid
url_rewrite_children 20
acl youtube_query url_regex -i \.youtube\.com\/get_video
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 p[0-9a-z][0-9a-z]?[0-9a-z]?\.xtube\.com\/videos
acl vimeo_query url_regex bitcast\.vimeo\.com\/vimeo\/videos\/
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
redirector_bypass on
# --END-- youtube_cache config for squid
-------

เปิด vdo http://www.youtube.com/watch?v=cfjQujYrfEk
ดูใน access.log
   TCP_MEM_HIT/200 8223828 GET http://www.youtube.com/get_video?video_id=cfjQujYrfEk&t=OEgsToPDskJyIoLVrKU4fgcb6Dmz3BFb&$z3BFb&el=detailpage&ps= - NONE/- video/flv


vdo  http://www.youtube.com/watch?v=tbOiugjp63o&feature=channel
   TCP_MEM_HIT/200 7630589 GET http://www.youtube.com/get_video?video_id=tbOiugjp63o&t=OEgsToPDskIq8K9tO_WP6SmzzFMYCc9W&$ YCc9W&el=detailpage&ps= - NONE/- video/flv

ติดตรงที่ยังเป็น    TCP_MEM_HIT     ช่วยดูให้ทีครับ .....ทำไงจะให้เป็น TCP_HIT  ;D

11
คุยกับทีมวิจัย / Re: การ Compile Ubuntu 8.10
« เมื่อ: 31 ตุลาคม 2008, 19:24:26 »
 :D แจ่มเลย คุ้มมากที่ซื้อมา ได้มาหัดศึกษา ทดลอง มี Admin ให้คำปรึกษา ด้วย.... เด๋วติดไรตรงไหนจะถามอีกนะครับ  รับรองได้ครับ มีอีกเยอะที่จะถาม.. ;D

12
คุยกับทีมวิจัย / Re: การ Compile Ubuntu 8.10
« เมื่อ: 31 ตุลาคม 2008, 19:09:33 »
อิๆ   ;D ขอบคุณครับ จะลองทำดู 
ถ้าเกิดฟลุ๊คๆ ผ่านขี้นมา เราจะเอา   ข้อมูลต่างๆ  ของ Cd  Mutiwan แผ่น 2  ของที่นี่ ที่ผมซื้อมาใช้งานอยู่ ลองติดตั้งได้เลยหรือป่าวครับ.....

13
คุยกับทีมวิจัย / การ Compile Ubuntu 8.10
« เมื่อ: 31 ตุลาคม 2008, 18:44:28 »


http://blog.avirtualhome.com/2008/10/28/how-to-compile-a-custom-kernel-for-ubuntu-intrepid/


เอามาให้ Admin ช่วยดูวิธีนี้ใช้ได้หรือป่าวครับ จะลองทำ รู้ไว้ใช่ว่า ....     ..สงสัยตรง  ( uname -r )

   uname  นี่เค้าให้ใส่ชื่ออะไรลงเหรอไปครับ   ....
ยังไงช่วยบอกวิธี compile ที่ถูกต้องให้ด้วยนะครับ... ขอบคุณครับ

14
ซื้อเอง ครับ  ให้น้องยืมแผ่นไป  หายจ้อย   ลืมจด s/n ไว้ด้วย  จะลงทะเบียน update online ซะหน่อย ....หมดกัน ..... จะทำไงดีครับ  :'(

15
คุยกับทีมวิจัย / เก็บแพท luna
« เมื่อ: 31 ตุลาคม 2008, 07:22:18 »
refresh_pattern ^http://202.43.34.110/patch/   4320  90%  43200 override-lastmod override-expire reload-into-ims ignore-reload ignore-no-cache

ผมเอาไว้ด้าน บนสุดของ refresh_pattern


TCP_HIT/200 2585303 GET http://202.43.34.110/patch/LTHC08092601.zip - NONE/- application/x-zip-compressed

หน้า: [1] 2