Welcome to Centmin Mod Community
Become a Member

Command to check all details of a server

Discussion in 'System Administration' started by pamamolf, Jul 1, 2014.

Tags:
  1. pamamolf

    pamamolf Well-Known Member

    2,675
    240
    63
    May 31, 2014
    Ratings:
    +425
    Local Time:
    2:44 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    Hi

    Which command can i use on latest Centos to view all hardware details of a server like cpu,ram,ethernet speed,Raid info,Total ssd size and so on?

    Thanks
     
  2. eva2000

    eva2000 Administrator Staff Member

    29,743
    6,719
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,031
    Local Time:
    9:44 AM
    Nginx 1.13.x
    MariaDB 5.5
    For Centmin Mod, you might as well install Linfo addon http://centminmod.com/addons.html#linfo will install to yourhostname.com/cinfo/ a password protected (auto generated user/pass) page.

    addon_linfo_00.png
    Code:
    [root@vultr addons]# ls -lah
    total 56K
    drwxr-xr-x  2 root root 4.0K Jun 28 23:36 .
    drwxr-xr-x 11 root root 4.0K Jun 30 02:36 ..
    -rwxr-xr-x  1 root root 3.5K Jun 28 23:36 avginstall.sh
    -rwxr-xr-x  1 root root 8.2K Jun 28 23:36 geoip.sh
    -rwxr-xr-x  1 root root 5.1K Jun 28 23:36 linfo.sh
    -rwxr-xr-x  1 root root 8.3K Jun 28 23:36 passenger.sh
    -rwxr-xr-x  1 root root 5.8K Jun 28 23:36 python27_install.sh
    -rwxr-xr-x  1 root root 3.2K Jun 28 23:36 wpcli.sh
    
    [root@vultr addons]# ./linfo.sh
    ./linfo.sh install
    ./linfo.sh update
    ./linfo.sh delete
    
    [root@vultr addons]# ./linfo.sh install
    Download linfo-1.10.tar.gz ...
    Download done.
    linfo-1.10.tar.gz valid file.
    
    Creating cinfo_htpasswd user/pass...
    python /usr/local/nginx/conf/htpasswd.py -b /usr/local/nginx/conf/cinfo_htpasswd admin7skd3M8= Mlsnh8tyhsLQUg==
    
    cinfo_htpasswd user/pass created...
    admin7skd3M8=:VALbOLdRF3wAw
    
    Create /usr/local/nginx/conf/cinfo.conf
    
                location /cinfo/ {
            auth_basic "Private";
            auth_basic_user_file /usr/local/nginx/conf/cinfo_htpasswd;
                }
    
    Setup virtual.conf
    Adding /usr/local/nginx/conf/cinfo.conf include entry
    
    nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
    nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
    Stopping nginx:                                            [  OK  ]
    Starting nginx:                                            [  OK  ]
    Gracefully shutting down php-fpm . done
    Starting php-fpm  done
    
    -------------------------------------------------------
    Password protected vultr.guest/cinfo
    at path /usr/local/nginx/html/cinfo
    -------------------------------------------------------
    Username: admin7ssaskd3M8=
    Password: Mlsnh8tysafhsLQUg==
    -------------------------------------------------------
     
    • Like Like x 1
  3. RoldanLT

    RoldanLT Well-Known Member

    3,883
    947
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,291
    Local Time:
    7:44 AM
    1.11
    10.2
    Didn't know that one exist :D
    Thanks!
     
  4. eva2000

    eva2000 Administrator Staff Member

    29,743
    6,719
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,031
    Local Time:
    9:44 AM
    Nginx 1.13.x
    MariaDB 5.5
    pays to read the official site > http://centminmod.com/ ;)

    ah double post = right now stress testing the forum server + tuning so this might happen :D
     
  5. RoldanLT

    RoldanLT Well-Known Member

    3,883
    947
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,291
    Local Time:
    7:44 AM
    1.11
    10.2
    Ow, there should be something wrong with CentminMod Forum site right now, post are double posting :eek:
     
  6. eva2000

    eva2000 Administrator Staff Member

    29,743
    6,719
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,031
    Local Time:
    9:44 AM
    Nginx 1.13.x
    MariaDB 5.5
    Last edited: Jul 2, 2014
    • Like Like x 1