Want more timely Centmin Mod News Updates?
Become a Member

Install After Centmin Mod Install - 5 tasks you do manually that wish to be automated?

Discussion in 'Install & Upgrades or Pre-Install Questions' started by eva2000, Nov 15, 2016.

  1. eva2000

    eva2000 Administrator Staff Member

    53,229
    12,116
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,654
    Local Time:
    8:45 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    actually that would be a good idea and save alot of trouble down the track

    however, letsencrypt requires DNS A record for domain setup before hand and some folks might not set that up until after creating the nginx vhost

     
    Last edited: Nov 20, 2016
  2. pamamolf

    pamamolf Premium Member Premium Member

    4,068
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    1:45 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    Didn't thought about the DNS A entry :(
     
  3. Tracy Perry

    Tracy Perry Active Member

    276
    115
    43
    Aug 24, 2014
    Texas
    Ratings:
    +205
    Local Time:
    5:45 PM
    1.21.6
    MariaDB 10.3.36
    Simple solution.. and a BIG warning text when creating a vhost that the SSL portion requires the presence of a valid DNS entry and to not create the vhost until the DNS entry exists and has been confirmed to have propagated - and give the option to cancel the creation of the vhost at that point. ;)
     
  4. eva2000

    eva2000 Administrator Staff Member

    53,229
    12,116
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,654
    Local Time:
    8:45 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yeah it's already done but how many folks read and follow instructions ? :)
     
  5. Tracy Perry

    Tracy Perry Active Member

    276
    115
    43
    Aug 24, 2014
    Texas
    Ratings:
    +205
    Local Time:
    5:45 PM
    1.21.6
    MariaDB 10.3.36
    I do when I see them... especially if they draw attention to themselves.
    I know of some that have a hard time understanding them though. :whistle:
     
  6. eva2000

    eva2000 Administrator Staff Member

    53,229
    12,116
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,654
    Local Time:
    8:45 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yeah true we forgot not everyone is system admin/linux savy heh
     
  7. Tracy Perry

    Tracy Perry Active Member

    276
    115
    43
    Aug 24, 2014
    Texas
    Ratings:
    +205
    Local Time:
    5:45 PM
    1.21.6
    MariaDB 10.3.36
    hehehehehe
    Totally off topic, but I have my "custom" parameters set in /etc/cemtminmod/custom_config.inc - I thought that when you ran a GIT update, it would pick those up from that file and insert them. Or does it read it as it processes it?
    Or is it supposed to be custom_config.ini?

    EDIT:
    OK, looks like I have it in the right place
    Code:
    if [ -f "${CONFIGSCANBASE}/custom_config.inc" ]; then
        # default is at /etc/centminmod/custom_config.inc
        source "${CONFIGSCANBASE}/custom_config.inc"
        if [ -d "${CENTMINLOGDIR}" ]; then
            cat "${CONFIGSCANBASE}/custom_config.inc" > "${CENTMINLOGDIR}/etc-centminmod-custom-config-settings_${DT}.log"
    So, it looks like it reads them at run time?
     
    Last edited: Nov 25, 2016
  8. eva2000

    eva2000 Administrator Staff Member

    53,229
    12,116
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,654
    Local Time:
    8:45 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    it's /etc/cemtminmod/custom_config.inc with command shortcut = customconfig

    it's totally ignored by git updates so preserves custom settings which when centmin.sh is run is read from /etc/cemtminmod/custom_config.inc at run time which overrides what is set in centmin.sh (overrides not replace)
     
  9. Tracy Perry

    Tracy Perry Active Member

    276
    115
    43
    Aug 24, 2014
    Texas
    Ratings:
    +205
    Local Time:
    5:45 PM
    1.21.6
    MariaDB 10.3.36
    Yep, found the code segment and realized it reads at run time and doesn't modify the centmin.sh. :)
     
  10. ethanpil

    ethanpil Active Member

    173
    55
    28
    Nov 8, 2015
    Ratings:
    +101
    Local Time:
    8:45 AM
    so whats the outcome of this thread? @eva2000 did you make any changes to centminmod from our ideas?
     
  11. eva2000

    eva2000 Administrator Staff Member

    53,229
    12,116
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,654
    Local Time:
    8:45 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    not yet.. been sick with flu for past 3 weeks so things are slow :sick::doctor:
     
  12. dorobo

    dorobo Active Member

    420
    104
    43
    Jun 6, 2014
    Ratings:
    +162
    Local Time:
    6:45 AM
    latest
    latest
    get well soon George
     
  13. pamamolf

    pamamolf Premium Member Premium Member

    4,068
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    1:45 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    First health then the rest :)

    Best wishes from me also...
     
  14. RB1

    RB1 Active Member

    292
    75
    28
    Nov 11, 2016
    California
    Ratings:
    +122
    Local Time:
    3:45 PM
    Nginx 1.21.x
    MariaDB 10.1.x
    HOW DO I UNDO THIS?????
     
  15. jscott

    jscott Member

    104
    14
    18
    Aug 13, 2015
    Ratings:
    +33
    Local Time:
    6:45 PM
    Code:
    yum -y update; curl -O https://centminmod.com/installer.sh && chmod 0700 installer.sh && bash installer.sh
    
    -John
     
  16. eva2000

    eva2000 Administrator Staff Member

    53,229
    12,116
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,654
    Local Time:
    8:45 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    as @jscott touched on only way would be reload OS and reinstall centmin mod :)
     
  17. RB1

    RB1 Active Member

    292
    75
    28
    Nov 11, 2016
    California
    Ratings:
    +122
    Local Time:
    3:45 PM
    Nginx 1.21.x
    MariaDB 10.1.x
    I was only kidding...I didn't actually run that command :D
    but I did hear that it helps speed up your computer if you delete C:\Windows\system32
     
  18. eva2000

    eva2000 Administrator Staff Member

    53,229
    12,116
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,654
    Local Time:
    8:45 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Yeah i know but noobies might take it literally so just in case :)
     
  19. inthecloudblog

    inthecloudblog Active Member

    199
    36
    28
    Jan 26, 2016
    Ratings:
    +83
    Local Time:
    7:45 PM
    1.4.6
    for some reason I always need a hack to log in into wp after installing it

    also being able to change wp login and having a way to backup the whole vm/serverS would be great
     
  20. eva2000

    eva2000 Administrator Staff Member

    53,229
    12,116
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,654
    Local Time:
    8:45 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    might want to start a thread for that :)