Score:0

.NET runtime/sdk installation on Debian production server

it flag

I have dedicated Debian container on Proxmox to run ASP.NET Web API application. It requires .NET runtime (or SDK that contains runtime), like Java.

I have no problem to make it work, but I'm struggling with installation for the production environment.

By default, the current version of .NET installer script installs it in... user home directory (/home/myusername/dotnet for example). I don't like this for few reasons. For example - I don't want to share my personal account with other people who will manage this server/container in my organization.

The question is: How to do it properly?

  1. Is it good idea to install .NET Core in more "normal" place for linux software? By "normal" I mean something like /usr/local/bin/dotnet or other location in accordance with the conventions described by the FHS?).

  2. Should I create dedicated system user like "dotnet" or "www" and run daemon by this user? The Apache installer creates the "www" system user if I'm not mistaken.

  • if so, how should I set up permissions/group for this user? I don't know if regular linux user can run application that needs to open TCP socket
  1. Should I think about anything else?

Please note that I have added dotnet-framework tag to this question, because there is no dotnet and I can't add it. For people who don't work in this environment: .NET Framework (Windows) and .NET Core (multi-platform) have been merged into just .NET (multi-platform).

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.