Created
October 25, 2017 12:07
-
-
Save willwhui/16024c999dac2ad5d78d05fb516a4c74 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
在树莓派3B+raspbian上安装home-assistant |
将配置文件加入github.com作为备份
将本地目录加入github.com,参见:Adding an existing project to GitHub using the command line
记得用.ignore文件将特殊的文件排除在外免得每次都看到混淆视听以及产生误操作。
homeassistant用户使用bash shell
默认使用的shell不好用,运行
sudo vi /etc/passwd
在最后一句
homeassistant:x:999:996::/home/homeassistant:
末尾追加"/bin/bash",成为
homeassistant:x:999:996::/home/homeassistant:/bin/bash
即可
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
增加samba服务
vi处理多文件比较麻烦,所以开启samba服务,以便在ubuntu上编辑
参见:https://gist.github.com/willwhui/acc6a0ab8fc2f78040f1f822d62a5363#gistcomment-2240240