Raspberry Pi: Difference between revisions
Jump to navigation
Jump to search
Line 100: | Line 100: | ||
== References == | == References == | ||
* [https://blogs.msdn.microsoft.com/david/2017/07/20/setting_up_raspian_and_dotnet_core_2_0_on_a_raspberry_pi/ Setting up Raspian and .NET Core 2.0 on a Raspberry Pi] | * [https://blogs.msdn.microsoft.com/david/2017/07/20/setting_up_raspian_and_dotnet_core_2_0_on_a_raspberry_pi/ Setting up Raspian and .NET Core 2.0 on a Raspberry Pi] | ||
* [https://taras.codes/blog/hosting-an-asp-net-core-application-on-raspberry-pi-3/ Hosting an ASP.NET Core application on Raspberry Pi 3] | |||
* [https://buildthings.wordpress.com/raspberry-pi-bind9-dns-ddns-dynamic-dns-dnssec-keygen-nsupdate-ddnsclient-on-off-switch-ham-radio-arduino-attiny-remote-base/ Raspberry Pi Bind9 DNS/DDNS (Dynamic DNS) Server] | * [https://buildthings.wordpress.com/raspberry-pi-bind9-dns-ddns-dynamic-dns-dnssec-keygen-nsupdate-ddnsclient-on-off-switch-ham-radio-arduino-attiny-remote-base/ Raspberry Pi Bind9 DNS/DDNS (Dynamic DNS) Server] | ||
* [https://www.hanselman.com/blog/InstallingTheNETCore2xSDKOnARaspberryPiAndBlinkingAnLEDWithSystemDeviceGpio.aspx IoT with System.Device.Gpio by .Net Core 2.2] | * [https://www.hanselman.com/blog/InstallingTheNETCore2xSDKOnARaspberryPiAndBlinkingAnLEDWithSystemDeviceGpio.aspx IoT with System.Device.Gpio by .Net Core 2.2] |
Revision as of 17:13, 30 September 2019
Maker pHAT
<pdf page="9">File:Pi_maker_phat_users_manual.pdf</pdf>
screen /dev/tty.wchusbserial14430 115200
sudo raspi-config
sudo nano /etc/dhcpcd.conf
# Chorke Academia, Inc.
# static domain_name_servers=10.19.83.5 10.19.83.1
static domain_search=dev.shahed.biz
# static host_name=pi3
sudo systemctl restart dhcpcd
sudo systemctl daemon-reload
# execute in ssh client machine
ssh-copy-id -i ~/.ssh/rpi_chorke_rsa [email protected]
ssh -i ~/.ssh/rpi_chorke_rsa [email protected]
# ~/.ssh/config
Host rpi.bgd.chorke.org
HostName 10.19.83.3
PreferredAuthentications publickey
IdentityFile ~/.ssh/rpi_chorke_rsa
User pi
ssh rpi.bgd.chorke.org
apt install openjdk-8-jre
apt install openjdk-8-jdk
update-alternatives --config java
update-alternatives --config javac
dpkg-reconfigure phpmyadmin
apt autoremove
Dotnet Core
sudo su
mkdir -p /opt/dotnet
chown pi /opt/dotnet
sudo apt udpate
sudo apt install curl libunwind8 gettext apt-transport-https
sudo apt install libicu63 libssl1.1
cd /opt/dotnet
# download from http://cdn.chorke.org/soft/rpix/dotnet/
sudo tar zxf dotnet-sdk-2.2.102-linux-arm.tar.gz -C /opt/dotnet/
sudo tar zxf dotnet-runtime-2.1.9-linux-arm.tar.gz -C /opt/dotnet/
sudo tar zxf aspnetcore-runtime-2.2.1-linux-arm.tar.gz -C /opt/dotnet/
echo 'export DOTNET_ROOT=opt/dotnet' >> ~/.bash_profile
echo 'export PATH=$PATH:$DOTNET_ROOT' >> ~/.bash_profile
printenv
sudo ln -s /opt/dotnet/dotnet /usr/local/bin
dotnet --info
dotnet --help
Core Project
cd ~/Documents
mkdir HelloWorld
cd HelloWorld
dotnet new console
dotnet publish -r linux-arm
bin/Debug/netcoreapp2.2/linux-arm/publish/HelloWorld
# Hello World!
dotnet publish -r win-arm
bin/Debug/netcoreapp2.2/win-arm/publish/HelloWorld
# Hello World!
References
- Setting up Raspian and .NET Core 2.0 on a Raspberry Pi
- Hosting an ASP.NET Core application on Raspberry Pi 3
- Raspberry Pi Bind9 DNS/DDNS (Dynamic DNS) Server
- IoT with System.Device.Gpio by .Net Core 2.2
- Configuring a DNS Server in Raspberry Pi
- Linux System Prerequisites for .NET Core
- Installing .Net Core on a Raspberry Pi 3
- Raspberry Pi Authoritative DNS Server
- Setting WiFi up via the command line
- PI Zero W wpa_supplicant
- Node-RED Docker Image
- .NET Core IoT Libraries
- .NET Core Samples