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

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:
    4:03 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

    54,361
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:03 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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