Welcome to Centmin Mod Community
Register Now

Install Fresh install and ultimate problems

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Jaro13, Feb 12, 2016.

  1. Jaro13

    Jaro13 New Member

    2
    1
    3
    Feb 12, 2016
    Ratings:
    +1
    Local Time:
    10:09 PM
    Problem with install.


    I know its very basic problem but I'am not able to find solution.

    After Fresh install with github option on centos 6:

    #php -v command ( as root) - bash return - bash unknown command.

    same for

    nginx -V

    # which php

    /usr/bin/which: no php in (/usr/lib64/ccache:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)


    Centos 6 config as follows

    #uname -a

    Linux serv1 2.6.32-573.18.1.el6.x86_64 #1 SMP Tue Feb 9 22:46:17 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

    Thanks for your help!

    Jaro
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,872
    6,905
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,397
    Local Time:
    7:09 AM
    Nginx 1.13.x
    MariaDB 5.5
    You decided to play with Centmin Mod when it's dealing with nginx 1.9.11 compatibility issues with 3rd party modules. See Nginx 1.9.11 dynamic module compatibility | Centmin Mod Community Should be temporarily resolved now I have temp disabled the conflicting modules.

    So best to reload fresh CentOS 6.7 OS and try again a fresh install.

    If that doesn't work, you'll need to post on the forums with the following info
    • Server or VPS details ? XEN, KVM, OpenVZ, VMWare or dedicated server ? OS ? CentOS 6.7 or 7.1 ? 32bit or 64bit ?
    • What version of Centmin Mod ? .07 stable or .08 beta03 or .08 stable or .09 beta01 ?
    • Was it fresh install or upgrade ?
    • How long ago did you install Centmin Mod ?
    • There's numerous code changes, bug fixes over time, so ensure you have latest Centmin Mod code installed by upgrading your Centmin Mod code as instructed below.

    Troubleshooting Initial Install



    To troubleshoot initial installation, you need to check the initial install log at /root/centminlogs and instructions under Sharing logs and errors heading for using Pastebin.com or Gists to share a sanitised version of the contents of the initial install log. You can see full details at How to troubleshoot Centmin Mod initial install issues

    Upgrading Centmin Mod Code to Latest Version



    Upgrading Centmin Mod involves 2 parts.
    1. Upgrading the actual Centmin Mod code outlined at Upgrade Centmin Mod - CentminMod.com LEMP Nginx web stack for CentOS This is heart of Centmin Mod where the code is the engine that runs centmin.sh shell based menu and all the automation you're accustomed to.
    2. Upgrade software that Centmin Mod installed or manages. For this part following outline at Upgrade - How to upgrade Centmin Mod | Centmin Mod Community
    So essentially, you can upgrade from .07 to .08 in place, but not everything is upgraded as some things like server initial environment setup isn't changed i.e. how swap, tmp setup and allocation are created etc. The main parts from part 2 above are what in place upgrades do i.e. Nginx and PHP-FPM compilation and config/settings parameters and MariaDB version from 5.5 to 10.0.x. If you want the full environment changed including tmp and swap setup to .08's configuration, then you would need a fresh OS install and fresh .08 initial install. You can think of it like upgrading Windows 7 to Windows 8. An in place upgrade will upgrade code but won't change your computer environment from when you installed Windows 7 i.e. disk configuration and partition sizes won't change from when you initially installed Windows 7. Only way to change that would be fresh Windows 8 install.