HAHAHAHA(HAx4)'s       




 10th Anniversary of SJTU-BBS 4/24/2006

I started to use CTERM again a few weeks back. Telnet might be kind obsolete in the web service age, but it did bring me back to my good old days. Sentimentally, SJTU-BBS was the last stop I had before I embraced the daily ugliness of life's nitty-gritty. Going through some old posts, I can still see a callow engineering student, nerdish and gullible, trying to do something lofty and noble with bare hands. (Lofty and Noble, I estranged myself from these two words shortly after that.) A special thanks to SJTU-BBS for lending my young self the moments that I can treasure.

    Posted by HAx4 at 10:42 PM 0 Comments  

 Linux Ordeal (5) 4/17/2006

*) Connect to Windows from Linux
Often times I have to get files from Windows Share (Or Linux Samba Share). Smbclient comes handy for this job:

example: smbclient //192.168.13.97/share -U hahahaha

( mount could also do the job)

*) du, df , with -h (human readable) option to get size(used, free) for disk or folder

*) inittab mtab fstab
Important tables to for init and mount.
References: Init Runlevels

*) no route to host
When "iptables" is enabled, sometimes you could get the above message. The connection is simply rejected.
Stop iptables service to avoid any over-protection: "service stop iptables"

*) useradd xxx, smbpasswd -a xxx, manage user/group
References: http://www.siliconvalleyccie.com/linux-hn/addusers.htm

*) bookmarks for memory ordering
==> Memory Ordering in Modern Microprocessors, Part I, Paul McKenney, Linux Journal, 06/30/2005
==> Memory Ordering in Modern Microprocessors, Part II, Paul McKenney, Linux Journal, 07/28/2005


References:
[1] Linux Ordeal (4)
[2] Linux Ordeal (3)
[3] Linux Ordeal (2)
[4] Linux Ordeal (1)

    Posted by HAx4 at 8:03 PM 1 Comments  

 Congrats to Mr. & Mrs. Bruin 4/10/2006

Wasting no time in courting his bride-to-be, Bruin scored big last quarter...

All the Best to Mr. & Mrs. Bruin!

Wish them Great Felicity in their new life!

    Posted by HAx4 at 9:32 PM 0 Comments  

 Linux Ordeal (4) 4/05/2006

Linux Service:

Typical setting for my system: standalone Server for development
References(General):
*) http://www.domain-logic.com/linux_services.php
*) http://www.faqs.org/docs
*) http://yolinux.com/TUTORIALS/LinuxTutorialWebSiteConfightml

To config service: /usr/sbin/ntsysv, /sbin/chkconfig
To start, stop service: /sbin/service
To check a certain service XYZ is up running or not: ps aux | grep XYZ


Service List:

==========) FreeWnn, canna
Suggested Setting: OFF
Remarks: Is that Japanese input method?
References:
++) http://www.sh-linux.org/rpm-index-2003/sh4/FreeWnn-common-1.11-20.sh4.html


==========) NetworkManager, NetworkManagerDispatcher
Suggested Setting: OFF
Remarks: For standalone server, most likely the ip is static and
configuration is straightford. Probably these two are overkill for setting
up your network.
References:
++) http://www.redhat.com/magazine/003jan05/features/networkmanager
++) http://linux.toshiba-dme.co.jp/linux/eng/pc/memo2/satM60.htm

==========) acpid, apmd
Suggested Setting: OFF
Remarks:
++) If you ever had a chance to write Windows driver, you would know first hand that life would be much easier if people are not power sensitive. So I say turn them off unless you are compulsively parsimonious or your utility bills really give you a hard time.
++) Last time I saw APM was a decade ago in the BIOS when I had an IBM Aptiva 486. It cost RMB 20,000 back then. In hindsight, that was heist in broad daylight, to put it mildly. I am glad they are bought out by Lenovo(R).
References:
++) http://acpid.sourceforge.net
++) http://linuxcommand.org/man_pages/acpid8.html
++) http://linux.about.com/library/cmd/blcmdl8_apmd.htm
++) http://support.gateway.com/s/SOFTWARE/MICROSOF/sHARED/APMACPI.shtml


==========) amanda, amandaidx, amidxtape (xinetd based services)
Suggested Setting: OFF
Remarks: Data backup
References:
++) http://www.linuxjournal.com/article/7422

==========) amd, autofs
Suggested Setting: OFF
Remarks: File system automatic mount
References:
++) http://linuxcommand.org/man_pages/amd8.html
++) http://www.linuxjournal.com/article/6941
++) http://www.linux-consulting.com/Amd_AutoFS/autofs.html
++) http://freespace.sourceforge.net/guidod/howto/autofs.html
++) http://www.linux-consulting.com/Amd_AutoFS/Amd_AutoFS.gwif.html

==========) anacron, atd, crond
Suggested Setting: ON
Remarks: Schedule tasks to run, necessary for house keeping
References:
++) http://anacron.sourceforge.net
++) http://linux.about.com/library/cmd/blcmdl8_anacron.htm
++) http://linuxcommand.org/man_pages/atd8.html
++) http://linux.about.com/library/cmd/blcmdl8_crond.htm


==========) arptables_jf, arpwatch
Suggested Setting: OFF
Remarks: arp filter, arp monitor
References:
++) https://www.redhat.com/archives/piranha-list/2005-April/msg00000.html
++) http://gd.tuwien.ac.at/linuxcommand.org/man_pages/arpwatch8.html


==========) auditd
Suggested Setting: OFF
Remarks: Not sure what it is exactly for. Looks to me like sanity check
References:
++) auditd, Man Page
++) http://www.die.net/doc/linux/man/man8/auditd.conf.8.html

==========) auth (xinetd based services)
Suggested Setting: ON
Remarks: I guess it is for authentication


==========) bluetooth, irda, isdn, pcmcia
Suggested Setting: OFF

==========) bgpd, ripd, ripngd, ospf6d, ospfd, zebra
Suggested Setting: OFF
Remarks: Components with Quagga routing software
References:
++) http://www.quagga.net

==========) bootparamd
Suggested Setting: OFF
Remarks: "a server process that provides information to diskless clients necessary for booting"
References:
++) http://linuxcommand.org/man_pages/bootparamd8.html


==========) chargen, chargen-udp (xinetd based services)
Suggested Setting: OFF
Remarks: Random character generator for TCP/UDP connetion
References:
++) http://www.linuxsecurity.com/resource_files/firewalls/firewall-seen.html#port19


==========) cpuspeed
Suggested Setting: OFF
Remarks: I like to drive full throttle.
References:
++) http://www.novell.com/products/linuxpackages/professional/cpuspeed.html


==========) cups, cups-config-daemon
Suggested Setting: OFF
Remarks: Printer Server
References:
++) http://www.linuxjournal.com/article/8618

==========) cyrus-imapd
Suggested Setting: OFF
Remarks: IMAP Server
References:
++) http://sourceforge.net/projects/cyrus-utils

==========) daytime, daytime-udp(xinetd based services)
Suggested Setting: OFF
Remarks: Human readable time
References:
++) http://www.comptechdoc.org/os/linux/howlinuxworks/linux_hlnetsvc.html


==========) dbskkd-cdb
Suggested Setting: OFF
Remarks: dictionary server for Japanese input method
References:
++) http://linux.s390.org/download/rpm2html/64-7.1.s390x/dbskkd-cdb-1.01-8.s390x.html


==========) dc_client, dc_server
Suggested Setting: OFF
Remarks: network cache server, client
References:
++) dc_client, Man Page
++) dc_server, Man Page


==========) dhcp6s
Suggested Setting: OFF
Remarks: DHCP Server, V6
References:
++) http://www.die.net/doc/linux/man/man8/dhcp6s.8.html

==========) dhcpd
Suggested Setting: depends
Remarks: DHCP Server, you might need to turn it on when you are doing BOOTP, assigning IP according to the MAC address.

==========) dhcrelay
Suggested Setting: OFF
Remarks: DHCP/BOOTP relay between different subnets
References:
++) http://www.die.net/doc/linux/man/man8/dhcrelay.8.html


==========) diskdump
Suggested Setting: OFF unless under debug
Remarks: crash dump
References:
++) http://lwn.net/Articles/87684


==========) dovecot
Suggested Setting: OFF
Remarks: IMAP/POP3 server
References:
++) http://www.novell.com/products/linuxpackages/professional/dovecot.html


==========) echo, echo-udp (xinetd based services)
Suggested Setting: OFF
References:
++) http://www.linuxjournal.com/node/4490/print

==========) eklogin, klogin, krb5-telnet, kshell (xinetd based services)
Suggested Setting: OFF
Remarks: Probably Kerberos authentication system
References:
++) http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/ref-guide/ch-kerberos.html
++) http://www.linuxforum.com/shell/klogin/14-11.php
++) https://www.redhat.com/archives/taroon-list/2004-November/msg00249.html


==========) finger (xinetd based services)
Suggested Setting: OFF
Remarks: Why do you want to share that info?


==========) gpm
Suggested Setting: depends
Remarks: mouse server. Do you still need mouse if you are using text mode
most of the time?
References:
++) http://linuxcommand.org/man_pages/gpm8.html

==========) gssftp (xinetd based services)
Suggested Setting: depends
Remarks: Sometimes ftp might be necessary


==========) haldaemon, messagebus
Suggested Setting: OFF unless you are running X Windows
Remarks: No Comment
References:
++) http://www.redhat.com/magazine/003jan05/features/dbus
++) http://www-128.ibm.com/developerworks/linux/library/l-dbus.html
++) http://www.linuxjournal.com/article/7744

==========) hpoj
Suggested Setting: OFF
Remarks: HP OfficeJet Linux driver. It seems this project has croaked.
References:
++) http://hpoj.sourceforge.net

==========) httpd
Suggested Setting: OFF

==========) iiim
Suggested Setting: OFF
Remarks: My best guess is that it has something to do with Input Method

==========) innd
Suggested Setting: OFF
Remarks: Internet news server


==========) iptables, ip6tables
Suggested Setting: OFF unless you feel unsecure
Remarks: Firewall for linux. For development server, this might be an
overkill. And it could cause trouble at the most inopportune time.


==========) irqbalance
Suggested Setting: OFF unless your server is SMP
Remarks: balance IRQ on SMP machine.
References:
++) http://www.die.net/doc/linux/man/man1/irqbalance.1.html

==========) kadmin, kprop, krb524, krb5kdc, kshell
Suggested Setting: OFF
Remarks: Kerberos related (To be honest, I have no idea what Kerberos is. Is it a night club? Just kidding :-)
References:
++) http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/ref-guide/ch-kerberos.html
++) http://www.die.net/doc/linux/man/man8/kadmin.8.html
++) http://www.die.net/doc/linux/man/man8/kprop.8.html

==========) ktalk
Suggested Setting: OFF
Remarks: K Desktop Environment Talk client
References:
++) http://linux.maruhn.com/sec/ktalk.html

==========) kudzu
Suggested Setting: ON
Remarks: hardware detection
References:
++) http://linuxcommand.org/man_pages/kudzu8.html

==========) ldap
Suggested Setting: OFF
References:
++) http://www.kalamazoolinux.org/presentations/20000530


==========) lisa
Suggested Setting: OFF
Remarks: LAN infomation server
References:
++) http://lisa-home.sourceforge.net


==========) lm_sensors
Suggested Setting: ON
Remarks: Health Monitor
References:
++) http://www.linuxjournal.com/article/6712


==========) mailman
Suggested Setting: OFF
Remarks: Mailing list manager
References:
++) http://www.gnu.org/software/mailman

==========) mDNSResponder, nifd
Suggested Setting: OFF
Remarks: No Comment
References:
++) http://www.die.net/doc/linux/man/man8/mdnsresponder.8.html
++) http://www.die.net/doc/linux/man/man8/nifd.8.html

==========) mdmonitor
Suggested Setting: OFF
Remarks: Software RAID

==========) mdmpd
Suggested Setting: OFF
Remarks: Are you using SAN?
References:
++) http://www.die.net/doc/linux/man/man8/mdmpd.8.html


==========) microcode_ctl
Suggested Setting: OFF
Remarks: microcode utility for Intel IA32 processors
References:
++) http://www.die.net/doc/linux/man/man8/microcode_ctl.8.html

==========) mysqld
Suggested Setting: OFF

==========) named
Suggested Setting: OFF
Remarks: DNS server
References:
++) http://www.die.net/doc/linux/man/man8/named.8.html

==========) netdump, netdump-server
Suggested Setting: OFF
Remarks: send oops over network
References:
++) http://www.die.net/doc/linux/man/man8/netdump.8.html


==========) netfs, rpcidmapd
Suggested Setting: ON if you are using NFS client
Remarks:
netfs - NFS client
rpcidmapd - part of NFS client that maps usernames to UID and GID numbers

References:
++) NFS Client Configuration Files, Red Hat Linux 9
++) http://www.domain-logic.com/linux_services.php

==========) netplugd
Suggested Setting: OFF
Remarks: Do you have a loose cable connection?
References:
++) http://linux.com.hk/penguin/man/8/netplugd.html

==========) network
Suggested Setting: ON

==========) nfs, nfslock, portmap
Suggested Setting: ON
Remarks: NFS Server and the services that support it
References:
++) http://www.troubleshooters.com/linux/nfs.htm
++) http://www.dba-oracle.com/oracle_tips_linux_nfs.htm
++) http://www.linuxhomenetworking.com/linux-adv/nfs.htm
++) Securing Portmap, Red Hat Linux 9


==========) nscd
Suggested Setting: OFF
Remarks: Name service off
References:
++) http://homepages.cwi.nl/~aeb/linux/man2html/man8/nscd.8html

==========) ntalk
Suggested Setting: OFF
Remarks: chat over Internet?
References:
++) http://linux.maruhn.com/sec/talk.html

==========) ntpd
Suggested Setting: OFF
Remarks: Do you have faith in your server's clock?
References:
++) http://linuxcommand.org/man_pages/ntpd1.html


==========) postgresql
Suggested Setting: OFF
Remarks: an OO-DBMS
References:
++) http://freshmeat.net/projects/pgsql
++) http://www.postgresql.org

==========) psacct
Suggested Setting: depends
Remarks: Monitor processes
References:
++) http://linux.maruhn.com/sec/psacct.html
++) http://www.rhce2b.com/clublinux/RHCE-34.shtml


==========) radiusd
Suggested Setting: OFF
Remarks: Authentication, Authorization and Accounting server
References:
++) http://linuxcommand.org/man_pages/radiusd8.html

==========) radvd
Suggested Setting: OFF
Remarks: IPV6 routing related
References:
++) http://www.linuxhq.com/IPv6/radvd.html
++) http://linux.about.com/cs/linux101/g/radvd.htm


==========) rawdevices
Suggested Setting: OFF
Remarks: No Comment

==========) readahead, readahead_early
Suggested Setting: OFF
Remarks: No Comment

==========) rexec, rlogin, rsh, rsync (xinetd based services)
Suggested Setting: OFF
Remarks: remote execution, remote login, remote shell, remote sync
References:
++) http://freshmeat.net/projects/rexec
++) http://www.redhat.com/docs/manuals/linux/RHL-7.2-Manual/ref-guide/s1-pam-rexec.html
++) http://www.die.net/doc/linux/man/man1/rlogin.1.html
++) http://www.die.net/doc/linux/man/man1/rsh.1.html
++) http://everythinglinux.org/rsync


==========) rdisc
Suggested Setting: OFF
Remarks: Set the route table manually
References:
++) http://linux.about.com/library/cmd/blcmdl8_rdisc.htm


==========) rhnsd
Suggested Setting: OFF
Remarks: Red Hat Update Check
References:
++) http://linux.about.com/library/cmd/blcmdl8_rhnsd.htm
++) http://linuxcommand.org/man_pages/rhnsd8.html


==========) rpcgssd, rpcsvcgssd
Suggested Setting: OFF
Remarks:
rpcgssd - manages RPCSEC GSS contexts for NFS client
rpcsvcgssd - manages RPCSEC GSS contexts for NFS _server_

References:
++) http://nfs.sourceforge.net
++) http://www.domain-logic.com/linux_services.php


==========) rstatd
Suggested Setting: OFF
Remarks: kernel statistics server
References:
++) http://www.die.net/doc/linux/man/man8/rstatd.8.html
++) http://rstatd.sourceforge.net

==========) rusersd
Suggested Setting: OFF
Remarks: Logged in users server.
References:
++) http://linux.about.com/cs/linux101/g/rusersd.htm
++) http://www.die.net/doc/linux/man/man8/rusersd.8.html

==========) rwhod
Suggested Setting: OFF
Remarks: system status server
References:
++) http://linuxcommand.org/man_pages/rwhod8.html

==========) saslauthd
Suggested Setting: OFF
Remarks: No Comment
References:
++) http://linuxcommand.org/man_pages/saslauthd8.html
++) http://www.linuxfromscratch.org/blfs/view/stable/postlfs/cyrus-sasl.html
++) http://www.linux.org/docs/ldp/howto/LDAP-HOWTO/sasl.html

==========) sendmail
Suggested Setting: OFF
Remarks: No Comment
References:
++) http://www.faqs.org/docs/linux_network/x-087-2-sendmailhtml

==========) smartd
Suggested Setting: OFF
Remarks: SMART command to monitor disk health. I am not saying that SMART command has no merits at all. It's just that I have seen many disks that are badly bruised but can still pass SMART test. When the SMART raises flag, probably the disk is supposed to retire a long time ago.

==========) smb
Suggested Setting: ON
Remarks: Samba Server, bridge to the Windows

==========) snmpd, snmptrapd
Suggested Setting: OFF


==========) spamassassin
Suggested Setting: OFF
References:
++) http://www-128.ibm.com/developerworks/linux/library/l-spam

==========) squid
Suggested Setting: OFF
Remarks: Seems to me like Web Cache
References:
++) http://www.linuxtoday.com/news_story.php3?ltsn=2001-09-30-003-20-RV-SV-SW


==========) sshd
Suggested Setting: ON
Remarks: more secure than telnet. On Windows, you can either use
Cygwin(http://www.cygwin.com) or putty(http://www.putty.nl)

==========) swat (xinetd based services)
Suggested Setting: OFF
Remarks: Samba Web Administration Tool
References:
++) http://linux.about.com/cs/linux101/g/swat.htm
++) http://www.samspublishing.com/library/content.asp?b=red_hat_linux7&seqNum=168&rl=1

==========) sysstat
Suggested Setting: OFF
Remarks: system performance tools
References:
++) http://linux.about.com/cs/linux101/g/sysstat.htm


==========) syslog
Suggested Setting: definitely ON


==========) talk (xinetd based services)
Suggested Setting: OFF
Remarks: No Comment

==========) telnet (xinetd based services)
Suggested Setting: OFF if you already have got ssh.
Remarks: No Comment

==========) tftp (xinetd based services)
Suggested Setting: ON
Remarks: tftp is necessary for image download

==========) time, time-udp (xinetd based services)
Suggested Setting: OFF
Remarks: No Comment

==========) tux
Suggested Setting: OFF
Remarks: Seems to me like a HTTP Server
References:
++) http://www.redhat.com/docs/manuals/tux

==========) vncserver
Suggested Setting: OFF
Remarks: Will you do the remote desktop on Linux? I don't even use X Windows
References:
++) http://linux.about.com/cs/linux101/g/vncserver.htm
++) http://linuxcommand.org/man_pages/vncserver1.html

==========) vsftpd
Suggested Setting: depends
Remarks: FTP Server
References:
++) http://vsftpd.beasts.org


==========) winbind
Suggested Setting: OFF
Remarks: I am not big on the so-called cool stuff. Keep multiple accounts unless you
tend to have short term memory loss.
References:
++) http://www.enterprisenetworkingplanet.com/netos/articlephp/3499006


==========) xfs
Suggested Setting: ON if you are using X Windows, otherwise OFF
Remarks: X Font Server
References:
++) http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/ref-guide/s1-x-fonts.html

==========) xinetd
Suggested Setting: depends
Remarks: Telnet and ftp are in this service
References:
++) http://www.linuxjournal.com/article/4490



==========) ypbind, yppasswdd, ypserv, ypxfrd
Suggested Setting: OFF
Remarks: If you have more than one server that are clustered together while
accessing the same storage, like those on SAN or two channel SCSI DAS, and
you still want mantain a single account for each server, probably NIS is
necessary.
References:
++) http://www.tldp.org/HOWTO/NIS-HOWTO
++) http://www.die.net/doc/linux/man/man8/yppasswdd.8.html
++) http://freshmeat.net/projects/ypserv
++) http://www.die.net/doc/linux/man/man8/ypxfrd.8.html

==========) yum
Suggested Setting: ON
Remarks: RPM management
References:
++) http://www.linuxjournal.com/article/7448




References:
[1] Linux Ordeal (3)
[2] Linux Ordeal (2)
[3] Linux Ordeal (1)

    Posted by HAx4 at 8:29 PM 0 Comments  

   

 

 

Features

       *) Grand Opening
       *) Why HAHAHAHA
       *) Stay Foolish
       *) Rabbit Hole
       *) Blotter
       *) Notebook

Links

       *) Blotter
       *) Notebook
       *) Rabbit Hole


       *) I Love Rei
       *) TEXT2PNG
       *) China Blog List


       *) Bertrand
       *) Bruin
       *) Bulldog
       *) Hua
       *) Mas
       *) Nimrod
       *) Philewar
       *) Rodent
       *) Samuel
       *) Tom

Archives
Recent Posts
  << Home