1、rpm -q nfs-utils portmap 查看是否安装nfs、portmap
2、service nfs stop nfs关闭
3、service portmap stop
4、/etc/init.d/rpcbind start 启动
5、/etc/init.d/rpcidmapd start
6、service nfs status
7、netstat -utlp
8、lsof -i :(端口) 查看端口暂用程序
9、ps -ef | grep portmap 查看是否启动
10、shutdown -r now 重启
11、# chkconfig --list portmap
# chkconfig --list nfs
12、设置portmap和nfs服务在系统运行级别3和5自动启动。
# chkconfig --level 35 portmap on
# chkconfig --level 35 nfs on
13、service rpcbind start
service nfs start
重启portmap 和nfs 服务
service portmap restart
service nfs restart
exportfs
14、挂载
mount 192.168.11.210:/home/wow /mnt/wow/config
mount 10.19.1.127:/data/TRSMASVideo/ /data/TRSMASVideo
15、打印logs:
tail -f catalina.out
16、查看两台机开放端口:nmap -PS 172.*.0.*
17、查看进程:ps -aux | grep tomcat
18、 1) 重启后生效
开启: chkconfig iptables on
关闭: chkconfig iptables off
2) 即时生效,重启后失效
开启: service iptables start
关闭: service iptables stop
service iptables status
19、mas5.0安装部署手册:http://intranet.trs.com.cn/portal/swf/appendix_viewer.jsp?DocId=243583&AppendixId=76972
20、chmod -R 777
21、查看所有信息:lsb_release -a