Discover Centmin Mod today
Register Now

Can't install Linfo

Discussion in 'Add Ons' started by elargento, May 22, 2017.

  1. elargento

    elargento Member

    293
    16
    18
    Jan 4, 2016
    Ratings:
    +39
    Local Time:
    7:50 PM
    10
    Code:
    [root@beta ~]# ./linfo.sh install
    Download linfo-1.9.tar.gz ...
    Download done.
    tar (child): linfo-1.9.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    Error: linfo-1.9.tar.gz extraction failed.
    ./linfo.sh: line 81: checklogdetails: command not found
    
    EDIT: Error was due to a wrong path at installation execution.
     
    Last edited: May 22, 2017
  2. eva2000

    eva2000 Administrator Staff Member

    30,947
    6,915
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,413
    Local Time:
    8:50 AM
    Nginx 1.13.x
    MariaDB 5.5
    outdated, 123.09beta01 works fine
    Code (Text):
    ./linfo.sh install
    Download linfo-2.0.3.tar.gz ...
    Download done.
    linfo-2.0.3.tar.gz valid file.
    
    Creating cinfo_htpasswd user/pass...
    python /usr/local/nginx/conf/htpasswd.py -b /usr/local/nginx/conf/cinfo_htpasswd adminjr2SZ+o= BJXfARmQsqXTyw==
    setup /usr/local/nginx/conf/phpallowed.conf
    
    cinfo_htpasswd user/pass created...
    adminjr2SZ+o=:l83SYLOdUbNPc
    
    Create /usr/local/nginx/conf/cinfo.conf
    
                location /cinfo/ {
            auth_basic "Private";
            auth_basic_user_file /usr/local/nginx/conf/cinfo_htpasswd;
            include /usr/local/nginx/conf/phpallowed.conf;
                }
    
    Setup virtual.conf
    Adding /usr/local/nginx/conf/cinfo.conf include entry
    
    Restarting nginx (via systemctl):                          [  OK  ]
    Gracefully shutting down php-fpm . done
    Starting php-fpm  done
    
    -------------------------------------------------------
    Password protected centos7.localdomain/cinfo
    at path /usr/local/nginx/html/cinfo
    
     
  3. elargento

    elargento Member

    293
    16
    18
    Jan 4, 2016
    Ratings:
    +39
    Local Time:
    7:50 PM
    10
    I'm running 123.09beta01.
    The steps I did:
    1) Installed centminmod
    2) Didn't run centmin, just cd extra folder and the following
    Code:
    wget http://centminmod.com/centminmodparts/addons/linfo.sh
    chmod +x linfo.sh
    ./linfo.sh install
     
  4. eva2000

    eva2000 Administrator Staff Member

    30,947
    6,915
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,413
    Local Time:
    8:50 AM
    Nginx 1.13.x
    MariaDB 5.5
    when was last time you run centmin.sh menu option 23 submenu option 2 to update 123.09beta01 ? linfo was updated to 2.0.2 in March 2015 and 2.0.3 in Jan, 2017 History for addons/linfo.sh - centminmod/centminmod ยท GitHub

    Upgrading Centmin Mod Code to Latest Version



    Getting Started Guide step 19 outlines also how to keep Centmin Mod code updated or how to switch version branches.

    Centmin Mod LEMP stack's script code is constantly updated for improvements, bug fixes and security fixes so keeping the Centmin Mod code up to date is important. With Centmin Mod 1.2.3-eva2000.08) (123.08stable) and higher releases, a newly added centmin.sh menu option 23 allows much easier code updates and version branch swicthing via Git backed environment you can setup. For full details read the following links:
     
  5. eva2000

    eva2000 Administrator Staff Member

    30,947
    6,915
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,413
    Local Time:
    8:50 AM
    Nginx 1.13.x
    MariaDB 5.5
    Last edited: May 22, 2017
    • Informative Informative x 1