树莓派 自启服务及软件 修改rc.local方式
1、利用ssh或vnc协议,远程登录树莓派,nano etc/rc.local ,在 末尾 和exit 0之间,写入要自启的命令!
例:/etc/init.d/tightvncserver start & //vncserver服务自动开启
/etc/init.d/samba start & //vncserver服务自动开启
这样 samba 和 vnc 就可以在开机时启动
ps:tightserver配置文件请自行创建,网络上有写好的,可自行参考

阅读量:96
阅读量:60
阅读量:97
阅读量:41
阅读量:138