折腾两天,终于在树莓派上运行 .net 程序。在此记录一下所踩的坑。先看一下结果:

 

树莓派3 下运行.net core2.0

为了这一行折腾了很久。

 

 

第一个坑,树莓派安装系统后不能直接ssh。需要在根目录创建一个ssh文件夹。

 

第二个坑,dotnet core 发布需要使用,   dotnet publish -r linux-arm  发布。

 

 

重复的事情就不重复copy直接看引用

 

参考的文章:

树莓派安装系统:

http://blog.csdn.net/u011388550/article/details/49981703 

http://shumeipai.nxez.com/2013/09/07/using-putty-to-log-in-to-the-raspberry-pie.html

http://shumeipai.nxez.com/2017/02/27/raspbian-ssh-connection-refused.html

 

 

dotnet core:

http://www.linuxidc.com/Linux/2016-07/133203.htm

https://www.microsoft.com/net/core

https://github.com/dotnet/core/blob/master/samples/RaspberryPiInstructions.md

 

相关文章:

  • 2021-11-25
  • 2021-09-27
  • 2022-12-23
  • 2021-09-04
  • 2022-02-07
  • 2021-09-15
  • 2021-07-03
  • 2021-06-07
猜你喜欢
  • 2021-07-06
  • 2021-07-25
  • 2022-12-23
  • 2021-06-03
  • 2021-12-24
  • 2021-11-28
相关资源
相似解决方案