Raspberry Pi 3 installation and software configuration issues collection

After hosting ali, toutiao, and Meituan interviews this year, I’ve made an important discovery… > > >

Permanent update address:
https://my.oschina.net/bysu/blog/1583968
System related information

[email protected]:~ $ 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  
[email protected]:~ $ uname -a
Linux bysu 4.9.41-v7+ #1023 SMP Tue Aug 8 16:00:15 BST 2017 armv7l GNU/Linux

System article
 

Software installation configuration section

Samba related
Error executing restart service command.

[email protected]:~ $ sudo systemctl start samba
Failed to restart samba.service: Unit samba.service is masked.

For the solution, see here

[email protected]:~ $ sudo rm /lib/systemd/system/samba.service
[email protected]:~ $ 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.
[email protected]:~ $ sudo systemctl start samba
[email protected]:~ $ 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).

 

Read More: