bash: rsync: command not found
fix by add –rsync-path=PATH
bash: rsync: command not found
fix by add –rsync-path=PATH
configure: error: C compiler cannot create executables
install SUNWarc from dvd for fix it
Edit Default Library Path on solaris 10
type “crle” for list Default Library Path
# crle
Configuration file [version 4]: /var/ld/ld.config
Default Library Path (ELF): /usr/local/lib:/lib:/usr/lib
Trusted Directories (ELF): /lib/secure:/usr/lib/secure (system default)
Command line:
crle -c /var/ld/ld.config -l /usr/local/lib:/lib:/usr/lib
type “crle -c /var/ld/ld.config -l /usr/local/lib:/lib:/usr/lib” to change Default Library Path
#crle -c /var/ld/ld.config -l /usr/local/lib:/lib:/usr/lib
Install JDK
# emerge virtual/jdk
Config JVM
# java-config –list-available-vms
# java-config –set-system-vm ???
curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, 1);
curl_setopt($ch, CURLOPT_PROXY,”$host:$port”);
#apt-get install build-essential
# snmptranslate -IR tcpPassiveOpens.0
TCP-MIB::tcpPassiveOpens.0
# snmptranslate -On TCP-MIB::tcpPassiveOpens.0
.1.3.6.1.2.1.6.6.0
# snmptranslate .1.3.6.1.2.1.6.6.0
TCP-MIB::tcpPassiveOpens.0
netstat -tan | grep ‘:80 ‘ | awk ‘{print $6}’ | sort | uniq -c
คำสั่งดรอปการโจมตีจาก ip ด้วยคำสั่ง route บน linux
[root@demo01 ~]#route add xxx.xxx.xxx.xxx reject
คำสั่งตรวจสอบว่าทำการปิดกันเรียบร้อยหรือยังถ้าแสดงข้อความแบบด้านล่างแสดงว่าได้ปิดกั้น ip นั้นเรียบร้อยแล้ว
[root@demo01 ~]#ip route get xxx.xxx.xxx.xxx
RTNETLINK answers: Network is unreachable
ใช้คำสั่งด้านล่างเพื่อดู ตารางการ route
[root@demo01 ~]#route -n
ใช้คำสั่งด้านล่างเพื่อยกเลิกการปิดกัน ip ดังกล่าว
[root@demo01 ~]#route del -host xxx.xxx.xxx.xxx reject
หมายเหตุ xxx.xxx.xxx.xxx คือ ip ที่ต้องการปิดกั้น