projects_menu.gif (2483 bytes)about_menu.gif (



2483 bytes)school_menu.gif (2483 bytes)



education_menu.gif (24


83 bytes)cool_menu.gif (2483 bytes)activity_m


enu.gif (2483 bytes)

ҹԤ١

Linux-SIS Technical Frequently Asked Questions (FAQ)

     
  1. Linux-SIS Gateway Transparent Proxy ͹ Web Page ҧ¡ ١ Cache ҧ١ͧ ҧ
      • /usr/local/etc/squid/etc/squid.conf options ѧ Restart Squid
        httpd_accel_uses_host_header on
        
  2. ö¡ҹ X-Windows ͡ҡ user root
      • ¡ initx ᷹¡ startx Ѻ XFree86 3.3.3.1 ¹ŧҧҧ¡ startx ͹
  3. Linux-3.01 ѭ Add user ö telnet, ftp ԡ
      • ԴҴͧ 3.01 Ѻ Դѡ ͧ ÷Ѵ ͧ user dial /etc/shadow Ը vi pico źѡͧ cursor ͹) ź÷Ѵ ͹
        • dial:*:10589::::::<--- ç
  4. ͧӡѴ Quota ͧ ͧҧҧ
      • usrquota ŧ /etc/fstab Ѻ partition ͧǺ quota ҧ
      /dev/hda1     /     ext2     defaults,usrquota     1 1 
      • ҧ quota.user partition touch /quota.user 
      • /etc/rc.d/rc.local comment (#) ͡÷ѴͧѺǵѧ
        • ##################################################################
          # Uncomment these below lines if you'd like to use quota         #
          ##################################################################
          if [ -x /usr/sbin/quotacheck ]
          then
          echo "Checking quotas. This may take some time."
          /usr/sbin/quotacheck -avug
          echo "Done."
          fi
          if [ -x /usr/sbin/quotaon ]
          then
          echo "Turning on quota."
          /usr/sbin/quotaon -avug
          fi 
      • ˹ quota user edquota -u username  ˹ͧ quota byte ҹ man edquota Ѻ´
      • ó˹ quota ˹˹ ͹ ˹ ͹Ѻá ҧ ˹ quota Ѻس bob ͹ ѧҡ

      • edquota -p bob `awk -F: '$3 > 499 {print $1}' /etc/passwd`
        ѭ /etc/password UID 499 ǵ͹Ѻس bob
      • ´ôҹ ftp://ftp.nectec.or.th/pub/mirrors/linux/docs/HOWTO/mini/Quota
  5. boot ͧ Linux-SIS öͧ?
      • Դö Log in root Rebuild Kernel ͧҹ ( cd /usr/src/linux; make menuconfig ; make dep ; make clean ; make zlilo make bzImage) ôҹ 17 ѺԸ Rebuild Kernel
      • ҡ Boot ͧ Slackware Linux ѧöͧҹ ( CD-ROM Hard disk SCSI ҡ) ŧ촴ʤ IDE ͹ ͧ Compile Kernel ֧ҡ촴ʤ IDE ʤԻ /usr/local/sbin/fullbackup ҨªѺҹ format ѧ촴ʤ١ ôͧʤԻ͹ҹ (ѧ)
  6. Դ DHCP Server ö IP ͧ١ (Windows 95 )
      • ҡҹ Linux-SIS Version 3.0 ҹͧ÷Ѵҹҧŧ /etc/rc.d/rc.dhcpd (١¡ءͧ boot)
      /sbin/route add -host 255.255.255.255 dev eth0
      • ҡҹ Linux-SIS 3.01 è÷Ѵѧ ŧ /etc/rc.d/rc.dhcpd º ҡѧö IP ͧ١ Ǩͺͧ LAN /var/adm/messages Request IP ҡͧ١
  7. Թ ҹ੾ IP Address ¡ 202.44.204.33 ҡ Web Site ͧ NECTEC www.nectec.or.th ö Browse Web
      • Ǩͺҹ DNS Server ١ͧ /etc/resolv.conf
      • Ǩͺ /etc/host.conf ÷Ѵ order hosts,bind order hosts
      • Ǩͺ /etc/hosts host ͧҹ IP ١ͧçѹ ÷Ѵͧ localhost IP 127.0.0.1
  8. Դ Թ ͹ Squid Cache/Proxy Server ӧҹ ö Browse Web ˹
      • ҡҹ SchoolNet ҹҹ Squid Cache/Proxy Server ѹ ͧ
      • ҡҹѧ ISP ҹͧ /usr/local/etc/squid/etc/squid.conf ÷Ѵ

      • cache_peer cache.school.net.th parent 8080 3130 no-query 
        ź ¹ cache.school.net.th 8080 3130 Parent Proxy/Cache Server port ͧ ISP ͧҹ ź 3 ÷Ѵҹҧ͡ (3  ÷ѴѺԹ Դ port 80 ͡ç SchoolNet
        acl local-servers dstdomain intranet
        never_direct deny local-servers
        never_direct allow all
        ѧҡ Restart Squid Process Ǩͺ Logfile cache.log, access.log Request ѧ Error ôҹ 22
  9. telnet / web ҡͧ ѧͧ Linux-SIS ҡ Log on ҧ˹ͧǴ
      • ʴҹ IP ͧͧ Linux-SIS ͧ PC ǧ 192.168.1.0/24 ҡҹѹ Intranet ѧѺͧ IP Address IP Address Default configuration ͧ Linux-SIS (ҹ 15 16 ) Դ Server ͹ҹ Network Configuration ͺ No кҹѵѵ
      • ҡҹͧ IP ͡˹ҡ 192.168.1.0/24 DNS /var/named ҧ hostname IP ҹ Forward Reverse ѧҡ Restart named process ôҹ 23 ֧Ըҧ´
  10. telnet ҡͧ PC ѧͧ Linux-SIS ҹԡ
      • Ǩͺҹҹ 37 ͧ TCP Wrapper ҧ ١ͧ ѭѡԴҹ IP Address ͧͧ PC 192.168.1.0/24 /etc/hosts.deny ͹حҵͧ IP telnet
  11. Linux-SIS Mail Server ҡѺ E-mail ҡ host
      • Ǩͺ ͧͧҹ IP Address Ѻŧ¹ к DNS ҡº Ըͺôҹ 34 ҡŧ¹١ͧ ö E-mail ѧͧ
  12. Linux-SIS Mail Server ͧ mail.domain.co.th öѺ E-mail ҡ host ѧ username@mail.domain.co.th ֧ͧ username@domain.co.th ֧ͧ ͧҧ?
      • ŧ¹к DNS ҡ domain.co.th MX record ѧͧ Linux Server ͧҹ (mail.domain.co.th) ҡҹ MX record ҹ 24
      • ҹ 23 ҹ ҹͧ domain.co.th ŧ /etc/sendmail.cw ͧ Linux Server restart sendmail 
  13. Linux-SIS Mail Server ҡѺ E-mail ҡ host ö͡ Program Ӿǡ Eudora, Netscape Mail ҡͧ PC
      • ʴ IP Address ͧͧ PC ѧ /etc/mail/relay-domains ҹ 24
  14. Դ Printer Ѻ Linux-SIS ҧ?
      • Ըҡ ҹ Printing-HOWTO ١ͧŧ /etc/printcap
      • Ը Webmin ôҹ 32 ˹ѧ ѺԴ Webmin
  15. Դ X-Window ҹ ҡʴ
      • ʴҹ xf86config, XF86setup /etc/XF86Config ÷Ѵ   FontPath   "tcp/localhost:7100"   Ѻ (1ǹͧкѺͧ͹ҧ /etc/rc.d/rc.local ¡ҹ /usr/X11R6/bin/xfs X Font Server (XFS) ӧҹءͧ boot  ôҹ README.TXT ͧ Linux-SIS 3.0
  16. Linux-SIS ͧѲ Slackware ҹ RedHat?
      • ͧ Linux-SIS شͿöԴ ҹ Internet Server ҹҧʶҾ ѧ ֧ӤѭѲҡ Linux distribution ˵ؼ Slackware ͧҡѲӹҭ Slackware ͧ Ѻ͹ кʶҾ٧ ºѺ Distribution
      • ҡ͹Ҥ Linux-SIS   RedHat distribution ҹ §Ϳ ҧٹ ºѹҧáԨ ѺҤ͡ ͧ Linux
  17. ͹Ҥͧ Linux-SIS ҧ ѧҹ Internet Server ҹ Desktop?
      • ҧͧԺѵԡѲ Linux-SIS ӹҭҹ Internet Server ʹ ʺóҡҹԧ ŧ Linux-SIS й ҹҹ Internet Server ֧ҹѡͧ Linux-SIS ѧ ǹҹҹ Desktop ѧ 3.0 ǹ Desktop ҧ §ҧ Ҵҹҧҹ Desktop ͡˹ͺͧ Linux-SIS
      • ҧ ҧٹ硷͹ԡҵ Ѻ Thai Linux Working Group (http://linux.thai.net) ҹҹҧäҹҹ Desktop ҧҹ ѧԹҹ Thai Extension Ѻ RedHat/Mandrake Linux ӹдǡҹ
  18. ҡѭҹ Linux-SIS ˹ҷͧͺҹ?


What's new | About | Thai School | Interesting | Education | Activity
NTL | NITC | NSTDA | NECTEC | Internet Thailand

This website is maintained by 
Network Technology Laboratory of NECTEC.
Send comments to Thailand SchoolNet Webmaster

Copyright (C) 1997 by Network Technology Laboratory of NECTEC.
All Rights Reserved.

$Id: tech-faq.src.html,v 1.3 1999/06/28 08:56:26 ott Exp ott $