这篇文章给大家介绍树莓派3软件安装配置问题的解决方法,内容非常详细,感兴趣的小伙伴们可以参考借鉴,希望对大家能有所帮助。
系统相关信息
bysu@bysu:~ $ inxi CPU~Quad core ARMv7 rev 4 (v7l) (-MCP-) speed~1200 MHz Kernel~4.9.41-v7+ armv7l Up~14:21 Mem~102.5/927.3MB HDD~NA(-) Procs~291 Client~Shell inxi~2.3.5 bysu@bysu:~ $ uname -a Linux bysu 4.9.41-v7+ #1023 SMP Tue Aug 8 16:00:15 BST 2017 armv7l GNU/Linux
系统篇
软件安装配置篇
samba相关
执行重启服务命令报错。
bysu@bysu:~ $ sudo systemctl start samba Failed to restart samba.service: Unit samba.service is masked.
解决方案,参考here
bysu@bysu:~ $ sudo rm /lib/systemd/system/samba.service bysu@bysu:~ $ sudo systemctl enable samba samba.service is not a native service, redirecting to systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable samba update-rc.d: error: samba Default-Start contains no runlevels, aborting. bysu@bysu:~ $ sudo systemctl start samba bysu@bysu:~ $ sudo systemctl status samba ● samba.service - LSB: ensure Samba daemons are started (nmbd, smbd and samba) Loaded: loaded (/etc/init.d/samba; generated; vendor preset: enabled) Active: active (exited) since Sat 2017-12-02 15:28:45 UTC; 9s ago Docs: man:systemd-sysv-generator(8) Process: 2525 ExecStart=/etc/init.d/samba start (code=exited, status=0/SUCCESS) Dec 02 15:28:45 bysu systemd[1]: Starting LSB: ensure Samba daemons are started (nmbd, smbd and samba)... Dec 02 15:28:45 bysu samba[2525]: Starting nmbd (via systemctl): nmbd.service. Dec 02 15:28:45 bysu samba[2525]: Starting smbd (via systemctl): smbd.service. Dec 02 15:28:45 bysu systemd[1]: Started LSB: ensure Samba daemons are started (nmbd, smbd and samba).
关于树莓派3软件安装配置问题的解决方法就分享到这里了,希望以上内容可以对大家有一定的帮助,可以学到更多知识。如果觉得文章不错,可以把它分享出去让更多的人看到。
原创文章,作者:carmelaweatherly,如若转载,请注明出处:https://blog.ytso.com/206701.html