Linux Configuration Test Cheatsheet

Daemon Command
OpenSSH /usr/sbin/sshd -t && echo $?
/usr/sbin/sshd -T
Apache /usr/sbin/apache2 -t
apachectl configtest
nginx /usr/local/nginx/sbin/nginx -t
/usr/local/nginx/sbin/nginx -t -c /usr/local/nginx/conf/nginx.conf
lighttpd /usr/local/sbin/lighttpd -t -f /usr/local/etc/lighttpd/cyberciti.biz/lighttpd.conf
Bind (named server config) named-checkconf /etc/named.conf
Bind (zone syntx) named-checkzone cyberciti.biz /var/named/zone.cyberciti.biz
Squid proxy /usr/sbin/squid -k check
/usr/sbin/squid -k parse
MySQL server mysqld –verbose –help
/usr/libexec/mysqld –verbose –help 1>/dev/null
Postfix MTA postfix check
postfix -vvv
Samba SMB/CIFS testparm -v
tcpd tcpdchk
tcpdchk -v
dhcpd (DHCP / BOOTP) server dhcpd -t -cf /path/to/dhcpd.testing.conf
vsftpd server vsftpd -olisten=NO /path/to/vsftpd.testing.conf
nagios nagios -v /path/to/testing/nagios.cfg
Openntpd NTPD server ntpd -d -f /usr/local/etc/ntpd.conf -n
Xorg (X11 Server) Xorg -config /path/to/xorg.conf.new -retro
syslogd / rsyslogd rsyslogd -c4 -f /etc/rsyslog.testing.conf -N 1
CUPS Printing System cupsd -f -c /path/to/cupsd.testing.conf -t
slapd (OpenLDAP) slapd -Tt
varnishd varnishd -C -f /path/to/wordpress.vlc
exim MTA exim -bV
Bash/Ksh scripts bash -n ./myscript
ksh -n /path/to/script.ksh
BSD pf firewall pfctl -nf /etc/pf.conf
proftpd proftpd -t -c /path/to/proftpd.testing.conf
Perl scripts perl -c /path/to/script.pl
perl -wc /path/to/script.pl

 

sumber : http://www.cyberciti.biz/tips/check-unix-linux-configuration-file-for-syntax-errors.html

Suikoden V PCSX2 Cheats

save as BCD0B7CD.pnach

gametitle= Suikoden V
comment= Testing
//Maximun Skill Point
patch=1,EE,2036d164,word,00000000
//Max Potch
patch=1,EE,2036d0f4,word,00000000
//Skill Learning Cheat
patch=1,EE,203A8CF4,word,24020007
patch=1,EE,203A8D18,word,24020007
patch=1,EE,203A9268,word,24020007

 

Enjoy it Bro !!!

Mount NTFS di Centos 5.8 32-bit

Di sistem operasi Centos 5.8 Driver filesystem NTFS tidak digunakan, jadi kita tidak bisa mengakses hardisk/usb yang diformat menggunakan NTFS.Bagi yang mau me-mount / mengakses NTFS di Centos 5.8 dapat mengikuti langkah seperti berikut ini :

Tambahkan repository RPMForge 

Import RPMForge GPG Key

# rpm –import http://apt.sw.be/RPM-GPG-KEY.dag.txt

Download file repo RPMForge

# http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm

Verifikasi file RPMForge

# rpm -K rpmforge-release-0.5.2-2.el5.rf.i386.rpm

Install package RPMForge

# rpm -i rpmforge-release-0.5.2-2.el5.rf.i386.rpm

 

Continue reading