记录下在Danny的Raspberry上的操作
Preamble: The raspberry bought by danny has been idle in the school for a long time. I tried to deploy it.
First, I connected the Raspberry Pi through the display, and then connected to Wi-Fi (because there is no screen where the network cable can be plugged in) to download the NPC and forward it to the external network.
No problems were encountered at this step.
Finally, access the Internet via the school library.
However, In the further deployment, I faced a lot of problems.
- Web Servers
Errors Faced: Nginx=>Loss cmake=>(Loss yum)=>apt error=>apt sources=>sources verify issues
Solutions:
1.apt sources
Refrence: https://zhuanlan.zhihu.com/p/251009600
https://cloud.tencent.com/developer/article/1590080
Codename: buster
2.sources verify issues - fix the GPG error "NO_PUBKEY"?
https://askubuntu.com/questions/13065/how-do-i-fix-the-gpg-error-no-pubkey
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <PUBKEY>
sudo apt-get update
3.
Unable to locate package yum
sudo apt install yum
4.Addition Functions
httping: sudo apt-get -y install httping
traceroute: https://www.ipip.net/product/client.html
Error:libxslt
checking for libxslt ... not found
checking for libxslt in /usr/local/ ... not found
checking for libxslt in /usr/pkg/ ... not found
checking for libxslt in /opt/local/ ... not found
Solution:
https://zoomadmin.com/HowToInstall/UbuntuPackage/libxslt-dev
sudo apt-get install -y libxslt-dev
sudo apt-get install traceroute
测试代码
wget -N --no-check-certificate https://raw.githubusercontent.com/V2RaySSR/vps/master/vpstest.sh && bash vpstest.sh
- IPLC X-UI Server
- VNC Server
- MutiNPC
Comments
Post a Comment