Join the community today
Become a Member

Upgrade Nginx no modules directory on fresh install centos7 64bit

Discussion in 'Install & Upgrades or Pre-Install Questions' started by BusyBee, Jul 3, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    1:18 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    see FAQ item 39 FAQ - CentminMod.com LEMP Nginx web stack for CentOS


     
  2. BusyBee

    BusyBee Member

    40
    9
    8
    May 31, 2014
    Ratings:
    +10
    Local Time:
    10:18 AM
    ok, george got it "modules only support at beta"

    This is my problem, so im upgrading the fresh VPS from stable into beta but i didnt see any "modules" directory after upgrade.

    did the process from stable into beta scripts via #23 to new branch will create "modules directory"? or should i create the modules directory manually?

    ps: i did use #23 exactly based on centminmod website :)
     
  3. BusyBee

    BusyBee Member

    40
    9
    8
    May 31, 2014
    Ratings:
    +10
    Local Time:
    10:18 AM
  4. BusyBee

    BusyBee Member

    40
    9
    8
    May 31, 2014
    Ratings:
    +10
    Local Time:
    10:18 AM
    update:

    ok, here what i got and i think i found the solution for myself.

    so if we do fresh install using this script:

    1. yum -y update; curl -O https://centminmod.com/installer.sh && chmod 0700 installer.sh && bash installer.sh - latest stable

    we wont get any "modules" directory even after we upgrade it into beta later using #23 option.

    2. And the problem solve if i do fresh install by directly using beta script:

    yum -y update; curl -O https://centminmod.com/betainstaller.sh && chmod 0700 betainstaller.sh && bash betainstaller.sh

    This is on Linode, and im not sure if this situation is the same with another provider, hope this information useful.

    Thank you for your attention George :)

    Regards,

    BusyBee
     
  5. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    1:18 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    you'd only see modules directory after switching to 123.09beta01 + recompiling nginx via centmin.sh option 4 in that case. Just switching branches isn't enough, nginx centmin.sh menu option 4 recompile is needed
     
  6. BusyBee

    BusyBee Member

    40
    9
    8
    May 31, 2014
    Ratings:
    +10
    Local Time:
    10:18 AM
    i did, that is what i do since 5 hours ago on centos7 (stable script into beta) then upgrade the nginx into Version 1.13.2.

    But now everything solve, i will stick with fresh install using beta scripts everything looks fine.

    Thanks again,

    BusyBee
     
  7. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    1:18 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Yup 123.09beta01 is the future :D
     
  8. BusyBee

    BusyBee Member

    40
    9
    8
    May 31, 2014
    Ratings:
    +10
    Local Time:
    10:18 AM
    my wishlist:

    1. load balancing
    2. auto sync backup to another server

    cheers,

    BusyBee
     
  9. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    1:18 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Haproxy load balancer is on long term to do list Centmin Mod To Do List though Nginx can natively do load balancing too. For data sync/distribution up to you to do.

    Centmin Mod is provide as is, so short of scripted related bugs or issues, any further optimisation to the web stack components - nginx, php-fpm, mariadb mysql, csf firewall etc or web app specific configurations are left to the Centmin Mod user to deal with. So I do not provide any free support for such.

    However, Centmin Mod users are free to help each other out and ask questions or give answers on this community forum. My hopes are that this community forum evolves so that more veteran long time Centmin Mod users help new Centmin Mod users out :)

    Centmin Mod's Nginx has all the nginx modules it requires for you to configure nginx reverse proxy, nginx based load balancing and proxy caching (with exception of the shared file system you'd need i.e. NFS, GlusterFS and any mysql database cluster/replication). You just have to configure it yourself :)

    For nginx reverse proxy & load balancing read the documentation, tutorial and guides below
     
  10. BusyBee

    BusyBee Member

    40
    9
    8
    May 31, 2014
    Ratings:
    +10
    Local Time:
    10:18 AM
    i dont know exactly "your reason" not making the official tutorial but i respect your decision.

    perhaps you should create "premium support" by saying:

    1. okay, you want to know about load balancing setup with my scripts then send me money $$$ etc etc. <--- it will be more clear rather than giving so many links.

    but once again i respect your way of "open source" business model.

    Regards,

    BusyBee
     
  11. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    1:18 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Because tutorials don't cover it - it's NOT enough to know how to set it up - you need to understand each segment (networking, web, database etc) and how to resolve common issues that come up otherwise you risk you data see my reply at Sysadmin - Is there a Newb based tutorial on clustering servers?

    And well not many Centmin Mod folks would be able to afford my rates anyway >AUD$200/hr with minimum 4 days. But yes I do have paid Centmin Mod and non-Centmin Mod clients that do pay.

    But links and info is the basic building blocks for learning to do it yourself - only difference between an expert and a novice, is how much they read and practice ;)
     
  12. BusyBee

    BusyBee Member

    40
    9
    8
    May 31, 2014
    Ratings:
    +10
    Local Time:
    10:18 AM
    Well its just a matter of perspective but once again i respect your point of view.

    Well, you should see how cPanel and CloudLinux survive the storm (y) by making small $$$ in global business model.

    i can see this is just a hobby for you same like in the past when you tweak motherboards.

    Regards,

    BusyBee
     
  13. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    1:18 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Well personally I have 120+ servers running Centmin Mod right now - saves a lot in cpanel license fees system admin time + performs faster too + access to more bleeding edge tech :D

    Focus right now for Centmin Mod is cultivating more Centmin Mod experts from the ~3,000 new installs per month Attention Future Centmin Mod Experts ! and a big requirement is = alot of reading :D
     
  14. BusyBee

    BusyBee Member

    40
    9
    8
    May 31, 2014
    Ratings:
    +10
    Local Time:
    10:18 AM
    and some point i agree but for novice users cPanel is still #1 since they care about "how to use only" (every sys admin read this will not agree i believe) LOL

    regards,

    busybee
     
  15. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    1:18 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Yes novices have to start somewhere. I started as a noob in 2000 on webmin never using a linux server before. Then 2001 onwards cpanel/whm until I developed/forked Centmin Mod in 2011 :)
     
  16. BusyBee

    BusyBee Member

    40
    9
    8
    May 31, 2014
    Ratings:
    +10
    Local Time:
    10:18 AM
    update today:

    i just found out testing using beta scripts on centos7 linode - SG region.

    sometimes nginx web server is not found after finish install the script, is this common?

    upload_2017-7-4_14-59-46.png
     
  17. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    1:18 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    not normal

    Troubleshooting Initial Install



    To troubleshoot initial installation, you need to check the initial install log at /root/centminlogs and instructions under Sharing logs and errors heading for using Pastebin.com or Gists to share a sanitised version of the contents of the initial install log. You can see full details at How to troubleshoot Centmin Mod initial install issues

    Example list /root/centminlogs files in date ascending order and grep for install.log
    Code (Text):
    ls -lahrt /root/centminlogs | grep install.log
    

    example output returns install log at /root/centminlogs/centminmod_1.2.3-eva2000.09.001_111016-112321_install.log
    Code (Text):
    ls -lahrt /root/centminlogs | grep install.log
    -rw-r--r--  1 root root 2.2M Oct 11 01:40 centminmod_1.2.3-eva2000.09.001_111016-112321_install.log
    

    in SSH use cat to ouput contents of /root/centminlogs/centminmod_1.2.3-eva2000.09.001_111016-112321_install.log. Clear your SSH client window/buffer so only output is the contents of the file
    Code (Text):
    cat /root/centminlogs/centminmod_1.2.3-eva2000.09.001_111016-112321_install.log
    

    Then copy and paste into Pastebin.com or Gists entry. If your SSH window scroll buffer isn't that large to get the whole contents of the install log, you can download file manually and copy and paste contents. But makes sure it's sanitised version of the contents of the initial install log as outlined at How to troubleshoot Centmin Mod initial install issues
     
  18. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    1:18 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
  19. BusyBee

    BusyBee Member

    40
    9
    8
    May 31, 2014
    Ratings:
    +10
    Local Time:
    10:18 AM
    it seems trouble with "network helper" via linode control panel, because i transfer my dedicated IP into another VPS.

    update again later...
     
  20. BusyBee

    BusyBee Member

    40
    9
    8
    May 31, 2014
    Ratings:
    +10
    Local Time:
    10:18 AM
    Hi George,

    i did this process:

    1. fresh install centos7 + stable scripts
    2. upgrade into beta after that did all the process.
    3. did recompile like quote above but still found error "nginx wont recompile"
    4. Linode SG DC
    5. nginx last upgrade logs - nginx wont recompile ยท GitHub