Setup ClearOS for NAKIN.NET

  1. Install ClearOS and choose Service DHCP and Local DNS, Intruction Prevention, Web Proxy, Web Server, Database.
  2. Restore WebConfig
  3. Set LAN Card
  4. Web Config is internet line have weight to 200
  5. Web Config set Intruction Prevention & Intruction Detection is on boot - Automatic
  6. Download file and send to ClearOS Server [Download here]
    • squid_SEVEN_bysiamcafedotnet.tar.gz
    • By MR.BOM@SiamCaFe.net
    • checkwan.sh By golfberserk@Internetcafe.in.th
  7. Install Squid
    • Check version squid 
      • #squid -v
    • If squid 2.6 or 2.7 else 2.5 install squid2.6 first
      • #service squid stop
      • #tar -zxvf squid_SEVEN_bysiamcafedotnet.tar.gz
      • #cd squid_SEVEN_bysiamcafedotnet
      • #./install
    • copy squid.conf to /etc/squid 
    • #service squid restart
  8. Install Firewall
    • #copy rc.firewall.local ไปไว้ที่ /etc/rc.d
    • #service firewall restart
  9. Install Checkwan
    • Copy to /usr/local/sbin/ 
    • Change Permission to 777
    • Use by #checkwan.sh [ip address]
  10. Install no-ip
    • #wget 
    • http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz 
    • #tar -zxvf noip-duc-linux.tar.gz 
    • #cd noip-2.1.9-1
    • #make
    • #ls binaries/ 
    • #cp binaries/noip2-i686 ./noip2
    • #make install 
    • Choose Internet Connection for no-ip
    • Insert username for no-ip
    • Insert password for no-ip
    • #1
    • #n
    • #whereis noip2 
    • #echo '/usr/local/bin/noip2' >> /etc/rc.local 

Comments

Popular posts from this blog

การตั้งเวลาระหว่าง Server และ Client

วิธีตั้งค่า NTP บน Primary Domain Controller

Installation and Run Node.JS on IIS