.net6 installation under Qilin

.net6 installation under Qilin I tried the installation and deployment of .net6 in Xinchuang environment Xinchuang server, CPU: ARM64, operating system: Kirin v10, network environment: Government Network (unable to connect to the external network) 1. Download the .net 6 SDK 6.0.408 Arm64 binary file. https://dotnet.microsoft.com/zh-cn/download/dotnet/6.0 2. Create two new directories in the server/home directory, test and dotnet; 3. Upload the compressed package to the server /home/test, which can be uploaded through the bastion host SFTP; 4. Enter the /home/test directory, execute: tar zxf dotnet-sdk-6.0.408-linux-x64.tar.gz -C /home/dotnet, and extract the file to the /home/dotnet directory; 5. Set environment variables and edit /etc/profile to add the following two lines: Export DOTNET_ROOT=/home/dotnet Export PATH=$PATH:/home/dotnet If you are not used to vim, you can download the file to your computer and edit it with Notepad. 6. Check the installation status and execute: source /etc/profile to reload the configuration file. 7. Execute: dotnet –info to check the .net installation status. The following picture appears, indicating that the installation and configuration are successful. 8. Use VS to create a new ASP.NET Core WebAPI project (project name: kytest). The project will automatically generate a weather forecast API interface. Just create and run it without modification. Modify the…

.net6 installation under Qilin

.net6 installation under Qilin I tried the installation and deployment of .net6 in Xinchuang environment Xinchuang server, CPU: ARM64, operating system: Kirin v10, network environment: Government Network (unable to connect to the external network) 1. Download the .net 6 SDK 6.0.408 Arm64 binary file. https://dotnet.microsoft.com/zh-cn/download/dotnet/6.0 2. Create two new directories in the server/home directory, test and dotnet; 3. Upload the compressed package to the server /home/test, which can be uploaded through the bastion host SFTP; 4. Enter the /home/test directory, execute: tar zxf dotnet-sdk-6.0.408-linux-x64.tar.gz -C /home/dotnet, and extract the file to the /home/dotnet directory; 5. Set environment variables and edit /etc/profile to add the following two lines: Export DOTNET_ROOT=/home/dotnet Export PATH=$PATH:/home/dotnet If you are not used to vim, you can download the file to your computer and edit it with Notepad. 6. Check the installation status and execute: source /etc/profile to reload the configuration file. 7. Execute: dotnet –info to check the .net installation status. The following picture appears, indicating that the installation and configuration are successful. 8. Use VS to create a new ASP.NET Core WebAPI project (project name: kytest). The project will automatically generate a weather forecast API interface. Just create and run it without modification. Modify the…

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索