2011年8月5日 星期五

NFS

1 We can mount the remote dir to local by nfs
server:
modify /etc/exports
{{{
/home/Andy 192.168.200.40(rw)

}}}

client
{{{
mount -t nfs 192.168.200.40:/home/Andy /mnt/nfs
}}}

Modify the UID, because the server and client passwd will look same uid
local
{{{
usrmod -u 504 Andy
}}}


Reference:
http://blog.csdn.net/ylyuanlu/article/details/6004818
http://linux.vbird.org/linux_server/0330nfs.php#What_NFS_perm

2011年8月3日 星期三

Screen

1. New a windown in vertical
{{
screen
# new a screen in bottom
contral + a
shift +s
# Move to below
controal + tab
# new a scrren
contral + a -> c

}}}


Reference:
http://go-linux.blogspot.com/search?q=screen
http://magazine.redhat.com/2007/09/27/a-guide-to-gnu-screen/

2011年8月1日 星期一

Off PC

1. shutdown

2. poweroff