linux 中可以关掉的服务 续

2 views
Skip to first unread message

LeoReis

unread,
May 31, 2007, 2:29:19 AM5/31/07
to Wisdom and beauty form a very rare combination.
netstat -nat 可以查看目前哪些端口在listen
netstat -lnp 可以查看哪些进程在listen端口

3306 是mysql
111 是portmap,可以用 service portmap stop 来关闭,用chkconfig portmap off 在启动配置中
关掉
631 是打印服务,可以用 service cups stop关闭,用chkconfig cups off 在启动配置中关掉

Reply all
Reply to author
Forward
0 new messages