树莓派默认帐号密码:php
帐号:pi 密码:raspberry
一、在树莓派sdk中新增ssh文件,用于打开ssh
二、换源(https://www.jianshu.com/p/768f0181672b)
三、修改树莓派pi密码和管理员密码html
sudo passwd pi #修改 Pi 密码 sudo passwd root #设置 root 密码 su root #切换到 root 用户 su pi #切换到 pi 用户
四、打开root远程权限(https://www.jianshu.com/p/d6cc514335c7)
五、设置无线链接(https://www.cnblogs.com/shubin/p/7746399.html)
六、设置中文(http://shumeipai.nxez.com/2016/03/13/how-to-make-raspberry-pi-display-chinese.html)
七、安装subvition(http://shumeipai.nxez.com/2013/08/27/building-svn-come-in-raspberry.html; https://www.cnblogs.com/feige1314/p/7040277.html; https://www.cnblogs.com/heinoc/p/3805779.html;)
八、安装nginx(https://blog.csdn.net/u011142756/article/details/81666693)
九、经过VNC访问树莓派(https://blog.csdn.net/u012313335/article/details/73912556)mysql
在控制台输入: vncserver 启动VNC服务
十、安装nexus(https://mritd.me/2015/12/31/Raspberry-Pi2-折腾/)
十一、安装mysql(https://www.cnblogs.com/apanly/p/9061803.html;
https://blog.csdn.net/ly_dengle/article/details/77835882)
十二、架设typecho服务nginx
搭建: https://www.jianshu.com/p/ef6ba0d31fd0; https://www.cnblogs.com/kururu/p/3536624.html; https://blog.csdn.net/qq_36731677/article/details/79084083; http://shumeipai.nxez.com/2018/04/25/install-pi-dashboard-with-nginx-php7-on-pi.html; 问题解决: https://www.cnblogs.com/kururu/p/3536626.html?utm\_source=tuicool&utm\_medium=referral; http://joinyoo.com/2017/03/call-to-undefined-function-utf8-decode/; https://boke112.com/5112.html 执行: sudo /etc/init.d/php7.0-fpm restart sudo /etc/init.d/nginx restart
1三、设置自启动脚本(https://blog.csdn.net/qq_36501027/article/details/80360504)web
sudo nano /etc/rc.local //(进入此文件夹)
1四、设置硬盘(U盘启动系统/硬盘启动系统)(http://www.52pi.net/archives/468)
1五、树莓派调整剩余分区(https://blog.csdn.net/zhonglunshun/article/details/82461193)
1六、使用ngrok将树莓派web服务映射到公网(http://shumeipai.nxez.com/2014/01/04/the-raspberry-pi-using-ngrok-web-mapping-services-to-the-public-network.html)sql
./ngrok tcp 22
1七、树莓派安装docker(https://blog.csdn.net/weixin_41232479/article/details/82429172)docker