Former-commit-id: cd133eccea55a8ed05d5b3bb429fe2627bda2cf9
TangShanKaiPing
wanggang 6 years ago
parent bb36543c96
commit 1c44a0ecde

@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<AspNetCoreHostingModel>InProcess</AspNetCoreHostingModel>
<TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>
<MvcRazorCompileOnPublish>false</MvcRazorCompileOnPublish>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.App" />

@ -11,17 +11,21 @@ sudo dpkg -i ~/publish/files/python-meld3_1.0.2-2_all.deb
sudo dpkg -i ~/publish/files/supervisor_3.3.5-1_all.deb
sudo dpkg -i ~/publish/files/fonts-wqy-zenhei_0.9.45-7_all.deb
mkdir -p ~/dotnet
tar zxf ~/publish/files/dotnet-sdk-2.2.204-linux-arm.tar.gz -C ~/dotnet
if [ `which dotnet` ]; then
echo 'dotnet command has in path'
if [ `uname -m` == "aarch64" ];then
tar zxf ~/publish/files/dotnet-sdk-2.2.300-linux-arm64.tar.gz -C ~/dotnet
else
tar zxf ~/publish/files/dotnet-sdk-2.2.300-linux-arm.tar.gz -C ~/dotnet
fi
if [ "`which dotnet`" == "" ]; then
echo 'export PATH=$PATH:/home/pi/dotnet'>>~/.bashrc
echo 'export DOTNET_ROOT=/home/pi/dotnet'>>~/.bashrc
fi
#sudo dpkg --purge oracle-java8-jdk
#sudo dpkg -i ~/publish/files/bellsoft-jdk11.0.3-linux-arm32-vfp-hflt.deb
if [ `uname -m` == "aarch64" ];then
sudo dpkg -i ~/publish/files/bellsoft-jdk1.8.0-linux-arm64.deb
fi
config system
#config system
sudo systemctl enable ssh
sudo timedatectl set-timezone 'Asia/Shanghai'
sudo timedatectl set-ntp true

Loading…
Cancel
Save