URL cara instal portsentry http://www.falkotimme.com/howtos/chkrootkit_portsentry/index.php
#shorewall rule
ACCEPT loc:10.1.1.0/24 fw tcp 53
ACCEPT loc:10.1.1.0/24 fw udp 53
ACCEPT loc:10.1.1.0/24 fw tcp 8080 -
REDIRECT loc:10.1.1.0/24 8080 tcp 80 - !10.1.1.1
ACCEPT loc:10.1.1.0/24 fw tcp 21,22,80,67,68,10000 -
ACCEPT net fw tcp 21,22,53,80 -
ACCEPT $FW loc:10.1.1.0/24 tcp 80,68,67,443,440,10000,8080 -
#dhcpd.conf
ddns-update-style none;
option routers 10.1.1.1;
# Konek-langsung
subnet 10.1.0.0 netmask 255.255.0.0 {
option routers 10.1.1.1;
option subnet-mask 255.255.0.0;
option domain-name "mercubuana.com";
option domain-name-servers 10.1.1.1;
option nis-domain "mercubuana.com";
range dynamic-bootp 10.1.90.100 10.1.90.200;
default-lease-time 21600;
max-lease-time 43200;
}
host tukangserver {
hardware ethernet 00:50:ba:62:b5:a4;
fixed-address 10.1.80.3;
}
route add -net 192.168.1.0 netmask 255.255.255.0 eth0
adds a route for the 192.168.1 network for eth0
the default for the netmask would be the same
This is done when ifconfig is done for eth0.
route add 192.168.1.15 eth0
adds an explicit route for a single host
probably not needed
route add default gw 192.168.1.1
adds a default route
route del -net 192.168.1.0
deletes a network route
route del 192.168.1.15
deletes an explicit route for a single host
probably not needed
route del default gw 192.168.1.1
deletes a default route
Solusi bila instalasi modul perl (cpan) di redhat:
"'export LANG=C' before running 'perl Makefile.PL' or 'make' is the
current workaround for this issue"
Apa yg harus dilakukan jika apachectl bawaan oracle 9i tdak mau di start
Jawab:
Tambahkan "export DISPLAY=:42.0" di ORACLE_HOME/Apache/Apache/bin/apachectl
Dokumen terkait:
http://www.dbforums.com/printthread.php?threadid=800347
##Create User On Oracle##
create user user_name identified by user_pass default tablespace users temporary tablespace temp;
grant connect, resource to user_name;
grant imp_full_database to user_name;
grant exp_full_database to user_name;
grant dba to user_name;
##PHP with Oracle###
./configure --with-apxs2 --enable-track-vars --with-mysql --with-pgsql --with-jpeg --with-png --enable-xml --with-zlib --with-oci8=/opt/oracle/product/9.2.0 -with-oracle=/opt/oracle/product/9.2.0 --enable-sigchild --enable-sockets
URL menarik mengenai instalasi beberapa aplikasi di mesin LINUX dalam bahasa Indonesia:
http://efnet.linux.or.id
http://www.cakraweb.com/~asfik
URL menarik mengenai panduan menginstall oracle di mesin LINUX:
http://www.puschitz.com
Perintah untuk melihat jumlah memory terpasang di linux:
#grep MemTotal /proc/meminfo
Melihat swap space, berjalan:
cat /proc/swaps
Link daftar port-port standar:
http://www.chebucto.ns.ca/~rakerman/port-table.html
Link daftar ip server yang digunakan oleh yahoo messenger:
http://oldfaq.phoneboy.com/fom-serve/cache/241.html
Link menarik install qmail dengan RPM pada REDHAT 9
ndhSoft - Red Hat 9 Qmail Toaster - Nick Hemmesch
Kongfigurasi IPTABLES
#!/bin/sh
# To configure the set of iptables rules:
#
# /etc/rc.d/init.d/iptables stop
# source /etc/sysconfig/iptables-precursor
#
# To save the current set of iptables rules for use at next reboot:
#
# iptables-save > /etc/sysconfig/iptables
#
# To dynamically restart iptables after modifying
/etc/sysconfig/iptables:
#
# /etc/rc.d/init.d/iptables restart
#
# Note that /etc/rc.d/init.d/iptables is a script. You can read it to
# gain understanding of how iptables uses iptables-restore to restore
# iptables firewall rules at reboot.
#
# To examine the current set of rules in effect:
#
# /etc/rc.d/init.d/iptables status
#
# However, I prefer to show the current set of rules via:
#
# iptables -nvL
#
# To configure iptables to be used at next system reboot:
#
# chkconfig --add iptables
#
# To see if iptables is currently configured to start at boot, do:
#
# chkconfig --list iptables
echo 0 > /proc/sys/net/ipv4/ip_forward
LAN_IP_NET='10.1.1.2/24'
LAN_NIC='eth0'
WAN_IP='202.x.x.x'
WAN_NIC='eth1'
# load some modules (if needed)
modprobe ip_nat_ftp
modprobe ip_conntrack_ftp
# Flush
iptables -t nat -F POSTROUTING
iptables -t nat -F PREROUTING
iptables -t nat -F OUTPUT
iptables -P INPUT DROP
iptables -P FORWARD DROP
iptables -P OUTPUT ACCEPT
iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEP
iptables -A INPUT -p tcp -s 0/0 -d 0/0 --destination-port 80 --syn -j ACCEPT
iptables -A INPUT -p tcp -s 0/0 -d 0/0 --destination-port 443 --syn -j ACCEPT
iptables -A INPUT -p tcp -s 0/0 -d 0/0 --destination-port 22 --syn -j ACCEPT
iptables -A INPUT -p tcp -s 0/0 -d 0/0 --destination-port 993 --syn -j ACCEPT
iptables -A INPUT -p tcp -s 0/0 -d 0/0 --destination-port 110 --syn -j ACCEPT
iptables -A INPUT -p tcp -s 0/0 -d 0/0 --destination-port 21 --syn -j ACCEPT
iptables -A INPUT -p tcp -s 0/0 -d 0/0 --destination-port 20 --syn -j ACCEPT
iptables -A INPUT -p tcp -s 0/0 -d 0/0 --destination-port 25 --syn -j ACCEPT
iptables -A INPUT -p tcp -s 0/0 -d 0/0 --destination-port 143 --syn -j ACCEPT
iptables -A INPUT -s 0/0 -p icmp -j ACCEPT
#DNS
iptables -A INPUT -p udp -s 0/0 -d 0/0 --destination-port 53 -j ACCEPT
# STATE RELATED for router
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
# Enable forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward
Berikut ini website untuk mencari driver-driver yang di perlukan.
http://www.hardwaresite.net/drvsound.html
Dan ini adalah situs untuk ngecek bandwidth:
http://www.speed-test.net/
http://www.dslreports.com/