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!


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.

  • 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

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    I think this should work;

    dotnet <yours>.dll --urls=https://0.0.0.0:44301 
    
  • User Avatar
    0
    askdong created

    it does not work

  • User Avatar
    0
    askdong created

    @ismcagdas, any suggestion?

  • User Avatar
    0
    askdong created

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

  • 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

  • User Avatar
    0
    askdong created

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

  • 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;

  • User Avatar
    0
    askdong created

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

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @askdong

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