Get the most out of your Centmin Mod LEMP stack
Become a Member

Install Installation/configure order

Discussion in 'Install & Upgrades or Pre-Install Questions' started by PeppaPigKilla, Dec 22, 2016.

  1. PeppaPigKilla

    PeppaPigKilla Member

    43
    12
    8
    Dec 21, 2016
    Ratings:
    +13
    Local Time:
    9:32 AM
    1.11.7
    10.0.28-MariaDB
    Hello you beautiful people.

    I can install centimod no problem, so lets assume thats done on a clean fresh CentOS 6.8, nothing has been done since OS installation other than the centimod install.

    On the Centimod menu 1-24, is there a particular order i should stick to ?
    I have had to reinstall as ffmpeg caused me some errors after I upgraded to php 7.1.0.

    So before i start it all again, numbers 1-24, which are a must and in which order ?
    I had previously got up to Getting Started Guide - CentminMod.com LEMP Nginx web stack for CentOS on the last go, but i did go a bit maverick and start picking other options too.

    After installation of centmin, and i run the ./centmin.sh


    The menu loads up but im presented with this error
    Code:
    libkmod: kmod_module_new_from_loaded: could not open /proc/modules: No such file ordirectory
    Error: could not get list of modules: No such file or directory
    
    
    This is becoming a list of issues now for myself.

    When doing option 23 and option 3, i get
    Code:
    fatal: Unable to read current working directory: No such file or directory
    
    Enter the branch name you want to switch to i.e. 123.08beta03 :
    
    What could be causing this issue ? i have gone through sub option 1


    Exiting ssh and reloging in solved this.

    I have managed to do almost everything in the getting started guide, few re installs for my own messes but i got there.

    Onyl thing im waiting on now is the name servers to get registered which is almost 24 hours ????
     
    Last edited: Dec 22, 2016
  2. eva2000

    eva2000 Administrator Staff Member

    54,894
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    7:32 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    You don't generally need to run all centmin.sh menu options on fresh installs as most software is up to date. Most common ones to run would be when a new nginx or php version is out you'd run centmin.sh menu option 4 and 5.

    Adding new vhosts would be centmin.sh menu option 2

    you have OVH custom kernel which can cause problems, install page for centmin mod suggests using centos distro kernels at os install time via OVH control panel Install - libkmod: kmod_module_new_from_loaded: | Centmin Mod Community

    Either do a fresh OS install via OVH control panel with distro default kernel checked or try @SFLC linked guide to switch the existing OS's linux kernel from OVH custom to centos distro default at Install - libkmod: kmod_module_new_from_loaded: | Centmin Mod Community link at How to change default boot kernel permanently or temporarily on CentOS - Ask Xmodulo

    2nd last photo posted at OVH - OVH Intel Core i7 4790K 32GB 2x240GB Samsung PM863 SSD Review | Centmin Mod Community shows my MC-32 OVH server control panel OS check for install original kernel check box

    dns propagation time depends on your DNS records set TTLS values which some default to 86400 seconds. You can check worldwide propagation via whatsmydns.net
     
  3. PeppaPigKilla

    PeppaPigKilla Member

    43
    12
    8
    Dec 21, 2016
    Ratings:
    +13
    Local Time:
    9:32 AM
    1.11.7
    10.0.28-MariaDB
    Excellent thank you, I will reinstall.
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,894
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    7:32 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    strange you got pass the check i made like @alan you should of got an error OVH server error | Centmin Mod Community at install time aborting install

    Code (Text):
    Detected OVH based server with custom OVH Linux kernel
    It's best to use CentOS distro default Linux Kernels
    aborting script...
     
  5. PeppaPigKilla

    PeppaPigKilla Member

    43
    12
    8
    Dec 21, 2016
    Ratings:
    +13
    Local Time:
    9:32 AM
    1.11.7
    10.0.28-MariaDB
    Never had that pop up for me and this will be the 5/6 th time ive installed it. Thank you for your patience.
     
  6. eva2000

    eva2000 Administrator Staff Member

    54,894
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    7:32 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    strange what output do you get for these 3 commands which i use to check for OVH custom kernel etc
    Code (Text):
    curl -s ipinfo.io/org | grep -o 'OVH'
    uname -r | grep '\-grs'
    awk -F "\"" '/DISTRIBKERNEL/ {print $2}' /root/.ovhrc
    

    wrap in CODE tags the output
     
  7. PeppaPigKilla

    PeppaPigKilla Member

    43
    12
    8
    Dec 21, 2016
    Ratings:
    +13
    Local Time:
    9:32 AM
    1.11.7
    10.0.28-MariaDB
    I've already reinstalled centOS 7 default, would you still like to know ?
     
  8. eva2000

    eva2000 Administrator Staff Member

    54,894
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    7:32 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    no worries then those command checks won't do anything if you reinstalled with centos original kernel :)

    but still maybe do command output for
    Code (Text):
    curl -s ipinfo.io/org | grep -o 'OVH'
    awk -F "\"" '/DISTRIBKERNEL/ {print $2}' /root/.ovhrc
    
     
  9. PeppaPigKilla

    PeppaPigKilla Member

    43
    12
    8
    Dec 21, 2016
    Ratings:
    +13
    Local Time:
    9:32 AM
    1.11.7
    10.0.28-MariaDB
    Code:
    ]# curl -s ipinfo.io/org | grep -o 'OVH'
    OVH
    ]# awk -F "\"" '/DISTRIBKERNEL/ {print $2}' /root/.ovhrc
    1
    
     
  10. eva2000

    eva2000 Administrator Staff Member

    54,894
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    7:32 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    thanks that is expected output for ovh original kernel detection :)
     
  11. BamaStangGuy

    BamaStangGuy Active Member

    668
    192
    43
    May 25, 2014
    Ratings:
    +272
    Local Time:
    4:32 AM
    I got pass this check to. This is after almost a week of back and forth with OVH and them saying they installed Centos 7.3 with default kernel.

    This is what I see now:

    [05:15][root@ns3021964.ip-149-202-70.eu centminmod]# uname -r

    3.14.32-xxxx-grs-ipv6-64

    OVH support is complete and utter crap. I am about to ditch them for dedicated servers and finding a better alternative. No matter what their price on their server it isn't worth putting up with they incompetence.
     
  12. eva2000

    eva2000 Administrator Staff Member

    54,894
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    7:32 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+