Welcome to Centmin Mod Community
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

    44,500
    10,164
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,729
    Local Time:
    8:30 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    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

    3,811
    369
    83
    May 31, 2014
    Ratings:
    +711
    Local Time:
    1:30 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    Didn't thought about the DNS A entry :(
     
  3. Tracy Perry

    Tracy Perry Active Member

    213
    87
    28
    Aug 24, 2014
    Texas
    Ratings:
    +145
    Local Time:
    5:30 AM
    1.11.5
    MariaDB 10.0.28
    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

    44,500
    10,164
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,729
    Local Time:
    8:30 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    yeah it's already done but how many folks read and follow instructions ? :)
     
  5. Tracy Perry

    Tracy Perry Active Member

    213
    87
    28
    Aug 24, 2014
    Texas
    Ratings:
    +145
    Local Time:
    5:30 AM
    1.11.5
    MariaDB 10.0.28
    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

    44,500
    10,164
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,729
    Local Time:
    8:30 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    yeah true we forgot not everyone is system admin/linux savy heh
     
  7. Tracy Perry

    Tracy Perry Active Member

    213
    87
    28
    Aug 24, 2014
    Texas
    Ratings:
    +145
    Local Time:
    5:30 AM
    1.11.5
    MariaDB 10.0.28
    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

    44,500
    10,164
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,729
    Local Time:
    8:30 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    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

    213
    87
    28
    Aug 24, 2014
    Texas
    Ratings:
    +145
    Local Time:
    5:30 AM
    1.11.5
    MariaDB 10.0.28
    Yep, found the code segment and realized it reads at run time and doesn't modify the centmin.sh. :)
     
  10. ethanpil

    ethanpil Active Member

    171
    53
    28
    Nov 8, 2015
    Ratings:
    +99
    Local Time:
    8:30 PM
    so whats the outcome of this thread? @eva2000 did you make any changes to centminmod from our ideas?
     
  11. eva2000

    eva2000 Administrator Staff Member

    44,500
    10,164
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,729
    Local Time:
    8:30 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    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:30 PM
    latest
    latest
    get well soon George
     
  13. pamamolf

    pamamolf Premium Member Premium Member

    3,811
    369
    83
    May 31, 2014
    Ratings:
    +711
    Local Time:
    1:30 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    First health then the rest :)

    Best wishes from me also...
     
  14. RB1

    RB1 Active Member

    285
    75
    28
    Nov 11, 2016
    California
    Ratings:
    +122
    Local Time:
    3:30 AM
    Nginx 1.18.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:30 AM
    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

    44,500
    10,164
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,729
    Local Time:
    8:30 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    as @jscott touched on only way would be reload OS and reinstall centmin mod :)
     
  17. RB1

    RB1 Active Member

    285
    75
    28
    Nov 11, 2016
    California
    Ratings:
    +122
    Local Time:
    3:30 AM
    Nginx 1.18.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

    44,500
    10,164
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,729
    Local Time:
    8:30 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Yeah i know but noobies might take it literally so just in case :)
     
  19. inthecloudblog

    inthecloudblog Active Member

    198
    36
    28
    Jan 26, 2016
    Ratings:
    +83
    Local Time:
    7:30 AM
    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

    44,500
    10,164
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,729
    Local Time:
    8:30 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    might want to start a thread for that :)