开启pc机的nfs服务


root@Ubuntu32:/home/zhangbin# gedit /etc/exports


加入/nfsboot *(rw,insecure,sync,no_wdelay,insecure_locks,no_root_squash)



root@Ubuntu32:/home/zhangbin/STM/hiandroid240/v200/es032/out/target/product/Hi3716CV200ES# sudo /etc/init.d/portmap restart
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service portmap restart


Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) and then start(8) utilities,
e.g. stop portmap ; start portmap. The restart(8) utility is also available.
portmap stop/waiting
portmap start/running, process 5862
root@Ubuntu32:/home/zhangbin/STM/hiandroid240/v200/es032/out/target/product/Hi3716CV200ES# 



root@Ubuntu32:/home/zhangbin/STM/hiandroid240/v200/es032# ./etc/init.d/nfs-kernel-server restart
bash: ./etc/init.d/nfs-kernel-server: No such file or directory
root@Ubuntu32:/home/zhangbin/STM/hiandroid240/v200/es032# cd /etc/init.d/ & ./nfs-kernel-server restart
[1] 5330
bash: ./nfs-kernel-server: No such file or directory
[1]+  Done                    cd /etc/init.d/
root@Ubuntu32:/home/zhangbin/STM/hiandroid240/v200/es032# /etc/init.d/nfs-kernel-server restart
 * Stopping NFS kernel daemon                                            [ OK ] 
 * Unexporting directories for NFS kernel daemon...                      [ OK ] 
 * Exporting directories for NFS kernel daemon...                               exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/nfsboot".
  Assuming default behaviour ('no_subtree_check').
  NOTE: this default has changed since nfs-utils version 1.0.x


                                                                         [ OK ]
 * Starting NFS kernel daemon                                            [ OK ] 

root@Ubuntu32:/home/zhangbin/STM/hiandroid240/v200/es032# 









root@Ubuntu32:/home/zhangbin/STM/hiandroid240/v200/es032/out/target/product/Hi3716CV200ES# showmount -e
Export list for Ubuntu32:
/nfsboot *
root@Ubuntu32:/home/zhangbin/STM/hiandroid240/v200/es032/out/target/product/Hi3716CV200ES# 



root@Ubuntu32:/home/zhangbin/STM/hiandroid240/v200/es032/out/target/product/Hi3716CV200ES# service --status-all
 [ ? ]  acpi-support
 [ ? ]  acpid
 [ ? ]  alsa-restore
 [ ? ]  alsa-store
 [ ? ]  anacron
 [ + ]  apache2
 [ + ]  apparmor
 [ ? ]  apport
 [ ? ]  atd
 [ ? ]  avahi-daemon
 [ ? ]  binfmt-support
 [ ? ]  bluetooth
 [ - ]  bootlogd
 [ - ]  brltty
 [ ? ]  console-setup
 [ ? ]  cron
 [ ? ]  cups
 [ ? ]  dbus
 [ ? ]  dmesg
 [ ? ]  dns-clean
 [ ? ]  failsafe-x
 [ ? ]  friendly-recovery
 [ - ]  grub-common
 [ ? ]  gssd
 [ ? ]  hostname
 [ ? ]  hwclock
 [ ? ]  hwclock-save
 [ ? ]  idmapd
 [ ? ]  irqbalance
 [ - ]  kerneloops
 [ ? ]  killprocs
 [ ? ]  lightdm
 [ ? ]  modemmanager
 [ ? ]  module-init-tools
 [ ? ]  network-interface
 [ ? ]  network-interface-container
 [ ? ]  network-interface-security
 [ ? ]  network-manager
 [ ? ]  networking
 [ + ]  nfs-kernel-server
 [ ? ]  nmbd
 [ ? ]  ondemand
 [ ? ]  passwd
 [ ? ]  plymouth
 [ ? ]  plymouth-log
 [ ? ]  plymouth-ready
 [ ? ]  plymouth-splash
 [ ? ]  plymouth-stop
 [ ? ]  plymouth-upstart-bridge
 [ ? ]  portmap
 [ ? ]  portmap-wait
 [ ? ]  pppd-dns
 [ ? ]  procps
 [ - ]  pulseaudio
 [ ? ]  rc.local
 [ ? ]  resolvconf
 [ ? ]  rfkill-restore
 [ ? ]  rfkill-store
 [ ? ]  rpcbind-boot
 [ - ]  rsync
 [ ? ]  rsyslog
 [ + ]  saned
 [ ? ]  sendsigs
 [ ? ]  setvtrgb
 [ ? ]  smbd
 [ ? ]  speech-dispatcher
 [ + ]  ssh
 [ ? ]  statd
 [ ? ]  statd-mounting
 [ - ]  stop-bootlogd
 [ - ]  stop-bootlogd-single
 [ ? ]  sudo
 [ ? ]  udev
 [ ? ]  udev-fallback-graphics
 [ ? ]  udev-finish
 [ ? ]  udevmonitor
 [ ? ]  udevtrigger
 [ ? ]  ufw
 [ ? ]  umountfs
 [ ? ]  umountnfs.sh
 [ ? ]  umountroot
 [ - ]  unattended-upgrades
 [ - ]  urandom
 [ ? ]  whoopsie
 [ + ]  winbind
 [ - ]  x11-common
 [ ? ]  xinetd
root@Ubuntu32:/home/zhangbin/STM/hiandroid240/v200/es032/out/target/product/Hi3716CV200ES# 



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

等风来不如迎风去

你的鼓励是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值