ITPub博客

首页 > Linux操作系统 > Linux操作系统 > linux负载均衡

linux负载均衡

原创 Linux操作系统 作者:1984008004 时间:2015-05-28 10:52:22 0 删除 编辑

mkdir /share

chmod 777 /share

 

vi /etc/exports

 

增加

/share *(fsid=0,rw,async)

 

执行

exportfs -r

 

 

检查

# chkconfig -a nfsserver

# rpcinfo -p localhost |grep nfs

 

启动nfsserver

# /etc/init.d/nfsserver restart

 

 

在其他主机挂载

mount nfs服务器ip:/share 本地路径


查看当前连接数:netstat -an|grep 8080|wc -l

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/25903968/viewspace-1674895/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2013-04-03

  • 博文量
    38
  • 访问量
    133609