Welcome to Centmin Mod Community
Register Now

Is it okay to move Centminmod to ~/centminmod ?

Discussion in 'System Administration' started by jeffwidman, Feb 18, 2015.

  1. jeffwidman

    jeffwidman Active Member

    152
    27
    28
    Dec 3, 2014
    Ratings:
    +51
    Local Time:
    8:09 AM
    Since I always login as the same user on one of my VPS's, I'd rathe have ~/centminmod as a git repo that I sync with the master branch every so often.

    Does centmin.sh expect/require that it be located in /usr/local/src/ ?
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,898
    6,908
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,403
    Local Time:
    2:09 AM
    Nginx 1.13.x
    MariaDB 5.5
    Should be able to move only thing AFAIK that links to it is the alias installed at initial install time for the 'centmin' shortcut as outlined at Upgrade - 07 stable to 08 beta | Centmin Mod Community

    for Centmin Mod .0 7 alias shortcut for .07's install location at /usr/local/src/centmin-v1.2.3mod located in /root/.bashrc. and .08 beta has it's own shortcut

    Code:
    alias centmin='cd /usr/local/src/centmin-v1.2.3mod; bash centmin.sh'
    alias cmdir='pushd /usr/local/src/centmin-v1.2.3mod'
    
    of course you can just replacing existing directory with github one as outlined at Upgrade - Working with git command line for updating Centmin Mod local copies | Centmin Mod Community
     
    • Like Like x 1