In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
. net Core program how to release in Windows Server 2008, many novices are not very clear about this, in order to help you solve this problem, the following small series will explain in detail for everyone, there are people who need this to learn, I hope you can harvest.
preface
Today, I tested and released the. net core program on my Cloud Virtual Machine. After a whole afternoon, I finally released it successfully. Therefore, I recorded some necessary things released under Windows Server 2008 R2 here.
Because I keep trying, I write down what I should do, and I can omit the steps if I understand them later.
Windows Server 2008 Install IIS
If there is no IIS on the default server, we have to install it ourselves first, and lay down the service manager in the lower left corner.
Right-click on "Character" and select Add Character
Click Next to enter
Check Web Server IIS, click Next, because I have finished installing it, check all the options below except FTP, and there is no harm anyway.
The rest is waiting for the installation to complete.
After installation, we can see IIS server in the role.
Install. NET Core Windows Server Hosting Program
Make IIS have reverse proxy functionality. The assembly contains the. Net Core Runtime, the. Net Core Library, and the Asp.Net Core Module. Asp.Net Core Module is responsible for reverse proxy work.
Note that Microsoft Visual C++ 2015 Redistributable needs to be manually installed if it is installed offline. However, it has been proven that Microsoft Visual C++ 2015 Redistributable will not be automatically installed even if installed online, so it is strongly recommended to install Microsoft Visual C++ 2015 Redistributable manually.
In addition, the current version of. NET Core upgrades quickly, please download the latest version of. NET Core Windows Server Hosting, ensure that the version of. Net Core on the server is not lower than the deployed version of Asp.Net Core App.
Download Microsoft Visual C++ 2015 Redistributable
https://www.microsoft.com/zh-cn/download/details.aspx? id=53840
Download Latest Version. NET Core Windows Server Hosting
https://www.microsoft.com/net/download/windows#/runtime
Download the above. Net Core because I use. Net Core 2.0, so you have to download and find the corresponding version to install, at first I can not use the results of a 2.1, and finally re-under the 2.0 to solve the problem.
Install Windows UCRT
Download Windows UCRT
https://www.microsoft.com/zh-cn/download/details.aspx? id=48234
After downloading and extracting, install the version marked in red box below. Windows 6.1 is the version for Windows Server 2008. If it is Windows Server 2012, install Windows 8.1.
The basic installation is almost the same as above. Next, we will create a new website.
new web site
You can see that the newly created application pool in the above picture is webtest. After clicking OK, we will find webtest in the application pool.
Change the. net framework version to no managed code.
That's pretty much it.
Then we go to the published folder to find the web.config file, open it and change stdoutLogEnabled to true, so that if we have problems running the website, we can write it to the logs folder.
You can copy it from the log to see where the error is. Just look for Du Niang again. I finally found that my. Net Core installed 2.1 is still not working. I have to download 2.0 again to install it.
The process is actually quite simple to record, but because of the first configuration, it encountered various pits, so I kept trying, has been using an afternoon time, in some records down, one is if you forget to check later, the other is can share with you, save a lot of trouble.
Did reading the above help you? If you still want to have further understanding of related knowledge or read more related articles, please pay attention to the industry information channel, thank you for your support.
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.