In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
The main content of this article is "how to install the ASP.NET Core website operating environment", interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "how to install the ASP.NET Core website operating environment"!
Brief introduction
ASP.NET Core is a new generation of ASP.NET, early known as ASP.NET vNext, and initially named ASP.NET 5, but as the .NET Core matures, and the naming of ASP.NET 5 will make it an upgraded version of ASP.NET, but it is actually a new generation of ASP.NET core features built from scratch, so Microsoft announced that it will be changed to synchronize with the .NET Core, that is, ASP.NET Core.
ASP.NET Core can run on Windows platforms and non-Windows platforms, such as Mac OSX and Ubuntu Linux operating systems. It is Microsoft's first Web development framework with cross-platform capabilities.
Installation
In order to facilitate deployment and solve the problems of environmental compatibility, docker is used to deploy and install ASP.NET Core.
First install the Docker container management panel URLOS, please refer to the official document: https://www.URLOS.com/center-home-index-detail-10-22-y.html.
Log in to URLOS: http://ip:9968 (where IP is the IP of your server, and the default username and password for login is urlos)
Search for "ASP.NET" in the application market and install it, as shown in the following figure: here are two search results, one is "website operating environment" or runtime, and the other is "website development environment", that is, sdk,sdk also contains runtime. If it is a production environment, just deploy to an environment with runtime. So we chose "ASP.NET website running environment".
The installation process is as follows: 1. Fill in the service name, service port, select running node, select smart deployment
two。 Fill in the domain name: www.aaa.com (your own domain name here), project name (same as your ASP.NET Core project name)
3. Set up SFTP
Select the "upload and download" tab, open SFTP upload and download, and fill in the SFTP port and SFTP password
Then click the submit button and wait for the deployment to complete
4. Upload website code
Log in using the ssh or sftp client.
The root directory of the website is: / mounts/aspdotnet001/data/www (since the service name of this tutorial is aspdotnet001, it is automatically created according to the service name you fill in in the actual operation)
Upload the publish file of the ASP.NET Core project to the root directory of the website, for example: the project name here is "myWebApp", which is consistent with the project name we filled in in step 2 of the installation process.
Then, redeploy, as shown below:
After the completion of the redeployment, the site has successfully started running!
Tips: if you update the site, just redeploy it like this after uploading the site files to the root of the site.
At this point, I believe you have a deeper understanding of "how to install the ASP.NET Core website operating environment". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.