Join the community today
Register Now

Centmin Mod Git Repository Online Status

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jan 28, 2016.

Tags:
Thread Status:
Not open for further replies.
  1. eva2000

    eva2000 Administrator Staff Member

    55,225
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,831
    Local Time:
    9:48 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    This sticky thread was created to provide status updates related to Centmin Mod's official Git repositories in case of downtime etc.

    Centmin Mod LEMP stack's code is officially hosted by two Git hosting providers for public Git repos:
    Github is the main Git repository. However, I have a public backup at Gitlab too and also a private development and third backup repo hosted at Bitbucket too.

    Service Status Pages


    Github



    Github main 123.08stable and 123.09beta01 commit history lists

    Gitlab



    Gitlab main 123.08stable and 123.09beta01 commit history lists


     
    Last edited: Jan 28, 2016
  2. eva2000

    eva2000 Administrator Staff Member

    55,225
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,831
    Local Time:
    9:48 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+

    Centmin Mod Installation By Git



    The installation method for Centmin Mod via Git is basically the same, just the Git cloned url link is either to Github or Gitlab Centmin Mod repositories. So you can make the Git clone link a variable so you can change the variable depending on if you want to clone and pull Github or Gitlab repository code for Centmin Mod.

    Type as root user in SSH these commands, Centmin Mod will have it's install setup at /usr/local/src/centminmod

    Set REPOLINK variable to either Github or Gitlab repo url.

    Use Github
    Code:
    REPOLINK='https://github.com/centminmod/centminmod.git'
    or

    Use Gitlab
    Code:
    REPOLINK='https://gitlab.com/centminmod/centminmod.git'
    Then proceed to Git method of install as usual.
    Code:
    yum -y install git wget nano bc unzip
    cd /usr/local/src
    git clone $REPOLINK centminmod
    cd centminmod
    
    Then to install either type

    for menu mode run centmin.sh and select menu option 1 to install
    Code:
    ./centmin.sh
    
    or for CLI install mode
    Code:
    ./centmin.sh install
    
     
  3. eva2000

    eva2000 Administrator Staff Member

    55,225
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,831
    Local Time:
    9:48 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+

    Existing Installs Git Repo Setting



    From 123.08stable and 123.09beta01 and higher, the Git clone repo url for centmin.sh menu option 23 is controlled via CMGIT variable within centmin.sh which defaults to Github based repo with Gitlab one commented out.
    Code:
    #####################################################
    # Centmin Mod Git Repo URL - primary repo
    # https://github.com/centminmod/centminmod
    CMGIT='https://github.com/centminmod/centminmod.git'
    # Gitlab backup repo
    # https://gitlab.com/centminmod/centminmod
    #CMGIT='https://gitlab.com/centminmod/centminmod.git'
    Switching repositories is as easy as uncommenting the Gitlab one and commenting out Github one
    Code:
    #####################################################
    # Centmin Mod Git Repo URL - primary repo
    # https://github.com/centminmod/centminmod
    #CMGIT='https://github.com/centminmod/centminmod.git'
    # Gitlab backup repo
    # https://gitlab.com/centminmod/centminmod
    CMGIT='https://gitlab.com/centminmod/centminmod.git'
    Then you'd need to run centmin.sh menu option 23, submenu option 1 (if you haven't ran it before) or submenu option 3 to switch branches. You just enter the same branch version you are using so if on 123.08stable, enter 123.08stable or on 123.09beta01, enter 123.09beta01. Switching branches right actually deletes the existing Centmin Mod directory at /usr/local/src/centminmod and sets up a new version via a fresh Git clone so that's why submenu option 3 can switch Git repo sources between Gitlab and Github when needed :)
     
  4. eva2000

    eva2000 Administrator Staff Member

    55,225
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,831
    Local Time:
    9:48 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
Thread Status:
Not open for further replies.