在linux 5.X以及下的版bai本你可以通過duservice portmap status命令查看rpc是否啟動。如果提示zhirunning,表示正在運行;如果提示stop就是關閉了dao。如果沒有安裝,則通過安裝光盤里的portmap軟件包即可。通過service portmap start開啟。
在linux 6及以上的版本中可以通過service rpcbind status命令查看rpc是否開啟,提示如上
如果沒有安裝,則通過安裝光盤里的rpcbind軟件包,即可。通過service rpcbind start開啟。
不過默認都是裝着的。