Questions/Concerns after installing ISPConfig 3.2 on Ubuntu 18 with Nginx

Discussion in 'ISPConfig 3 Priority Support' started by AlexSr, Feb 9, 2021.

  1. AlexSr

    AlexSr New Member

    Hello again,
    I am now starting up on upgrading my services through Nginx (have worked with Apache for a few years now). I have stood up a new server and followed this tutorial: https://www.howtoforge.com/tutorial/perfect-server-ubuntu-18-04-nginx-bind-dovecot-and-ispconfig-3/

    Even though it appears that all is working, but I want your help to be sure before doing a lot more work on this new server. I have the following concerns/questions:

    1. On section 6. (Mysql), the instruction is:
    upload_2021-2-9_15-18-4.png

    However, what I got was this:

    upload_2021-2-9_15-18-54.png

    I did comment the "[client-server]" line, as I interpreted this to be the same as the step in the tutorial. Is this OK? or should I worry or do something different?

    2. On step 16, (Installing ISP Config, at the step where the RSA key is created to secure it, instead of showing (as in the tutorial) "Generating a 4096 bit RSA private key"
    upload_2021-2-9_15-44-44.png

    In my server, the output was only "Generating a RSA private key". Is this an error? Or an omission on my end to set it up? Would there it be any negative impact to the set up?

    upload_2021-2-9_15-25-31.png

    3. I was intending to upgrade the server to Ubuntu 20 after setting ISP Config up, but I would like your insight on that. Would you please advise me whether I should upgrade the OS or just keep it as-is?

    4. On the same token, I noticed that Nginx installed as version 1.14 while there is a latest build (1.18/1.19) available. Is there a way to correctly upgrade versions?

    5. And lastly, when I finished installing ISP Config 3.2.2. I remembered that there are dependencies to be installed, and then I went and did install them. Is that wrong? Should I re-do the set up installing the dependencies first?

    At the point I'm at I can comfortably trash everything and re-do it all if needed, I appreciate your help!
     
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    It would be less steps to update the OS first and only install ispconfig once.
    Probably most don't matter, but it might depend on what you left out before installing. The best course would be to follow the perfect server guide for your (updated) OS and just install things as you do.
     
    AlexSr likes this.
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    That's something different, lines with [] are grouping other lines. You can find the line weher bind_address is in with the command:

    grep -R bind_address /etc/mysql/

    and then edit it there.

    that should be ok, the output might differ a bit depending on the used ispconfig version.
     
    AlexSr likes this.
  4. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    There are several tutorials to convert apache to nginx and the one that I followed to convert my ISPConfig apache2 web server more than five years ago somewhere in 2016 was https://blog.schaal-24.de/ispconfig/ispconfig-apache-durch-nginx-ersetzen/?lang=en. I think I still maintain the nginx settings of Ubuntu 18.04 PST after updating to Ubuntu 20.04.1 somewhere at the end of last year.

    I did not face #1 error. I would say, you have an incorrect steps somewhere but I am not sure whether that's really matter so long it works.

    For error #2, I normally didn't bother entering any info for the self-signed certs and keep pressing enter because I prefer to use ISPConfig install / update to create the LE SSL certs which will overwrite all of the self-signed certs for ISPConfig server and all of its installed services.

    For #3, I'd prefer the same approach as @Jesse Norell.

    For #4, don't do that, use the one shipped with Ubuntu as they will patch it and version number doesn't matter.

    For #5, always resolve all dependencies first whenever possible but fixing them later is also possible, provided you know what you are doing.
     
    Last edited: Feb 10, 2021
    AlexSr likes this.
  5. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    AlexSr likes this.
  6. AlexSr

    AlexSr New Member

    Great, thank you !
     
  7. AlexSr

    AlexSr New Member

    Great, thank you!
     
  8. AlexSr

    AlexSr New Member

  9. AlexSr

    AlexSr New Member

    ---------

    Hello, thank you for your advice & guidance, I looked at the tutorial to replace Apache with Nginx and I preferred not to upgrade the server currently in production, since I have this new, clean server available I´d go for installing from 0. I got it on each of your comments and this is helping me.

    This first one attempt was a bit rocky, so I´m re-doing the full OS/ISPConfig install. let's see how it goes!
     
    ahrasis likes this.
  10. AlexSr

    AlexSr New Member

  11. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    The betterment needed, whether in terms of speed or security, if there is any, will be very very minimal IMHO compared to the trouble you'll be facing in keeping your nginx up-to-date.

    Plus nginx is always improving its software for both speed and security, so why do you really need to trouble yourself for the very minimal betterment.

    So I think you shouldn't install any nginx modules that need default nginx (re)compilation, but if you need the latest bleeding edge nginx, you might want to add its repo instead.
     
    AlexSr likes this.
  12. AlexSr

    AlexSr New Member

    ________

    Oh!, I do see what you mean!! I'll do without pagespeed. I do appreciate you pointed that out to me. Thank you!
     
  13. till

    till Super Moderator Staff Member ISPConfig Developer

    Ubuntu comes with several nginx packages, one of them is named nginx-extras. If I remember correctly, pagespeed is part of that package, so if you install it, it will replace the normal nginx package but stays compatible with your current ISPConfig setup plus you get regular updates from Ubuntu.
     
    AlexSr and ahrasis like this.
  14. AlexSr

    AlexSr New Member

    Thank you Till, I did stand up my server with Ubuntu 20, Nginx and it appears to be running OK, I have also now installed nginx-extras. I´ll be testing and see if all is good.
     
    ahrasis likes this.

Share This Page