樹莓派重裝以後操做(粗略的記錄)

樹莓派默認帳號密碼: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

相關文章
相關標籤/搜索