Base solution for your next web application
Open Closed

redhat deployment #11608


User avatar
0
askdong created

How to deploy abpzero v12 on redhat 8, is there any tutorial for that? thanks!

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

11 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @askdong

    We don't have a specific document. You can use publish documents depending on your UI type. We can help if you face a specific problem.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    askdong created

    Hi ismcagdas

    In windows's IIS environment, we can set http port in IIS settings. In Redhat environment, we run command "dotnet Abp.Template.Web.Host.dll", it will use default port 5000. so can you give any guide to change this port to 44301 same as appsettings.json

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    I think this should work;

    dotnet <yours>.dll --urls=https://0.0.0.0:44301 
    
    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    askdong created

    it does not work

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    askdong created

    @ismcagdas, any suggestion?

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    askdong created

    shall we need to change above codes if deployed under linux?

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    This shouldn't be a problem. I repled to your other post, we can continue via https://support.aspnetzero.com/QA/Questions/11611/abpzero-default-listening-port

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    askdong created

    shall we need to remove above codes if deployed under linux?

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    It is not needed I guess. When I look at ASP.NET Core's source code, it checks for the current OS and doesn't run any code, see;

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    askdong created

    you are correct, i deploy it on linux without change any code

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @askdong

    So, is it working now ? Do you have any problems ?

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)