Tuesday, November 13, 2007

3G Logs

#split file
wc -l file1
39393503 file1
split -l 4000000 file1 temp_
ls
temp_aa
temp_ab
...

Monday, November 12, 2007

Configuring NFS

#Setup NFS enable
vi /etc/rc.conf
rpcbind_enable="YES"
nfs_server_enable="YES"
mountd_flags="-r"

chkconfig --list | grep nfs
chkconfig nfs on

#Export devices
Each time you change /etc/exports, you must inform the NFS daemon of the change, or reload the configuration file with the following command:
/sbin/service nfs reload

#If there is a nfslock,
ls /etc/init.d/nfslock

#What's going on?
vi /var/log/messages