- 刻录img文件到SD卡
- 探测IP地址
- 从远程登录Pi
- (非常重要) 执行 sudo raspi-config 来扩展文件系统,
- 运行 sudo apt-get update
- 运行 sudo apt-get dist-upgrade
- 修改 /etc/dhcpcd.confg
++++++++dhcpcd.confg+++++++
#add by Neo 20160508
interface eth0
static ip_address=192.168.1.4/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1 8.8.8.8 4.2.2.1
https://codex.wordpress.org/Nginx