Join the community today
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 Premium Member Premium Member

    4,101
    428
    83
    May 31, 2014
    Ratings:
    +837
    Local Time:
    6:32 PM
    Nginx-1.26.x
    MariaDB 10.6.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

    55,234
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,831
    Local Time:
    1:32 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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==
    -------------------------------------------------------
     
  3. rdan

    rdan Well-Known Member

    5,449
    1,410
    113
    May 25, 2014
    Ratings:
    +2,204
    Local Time:
    11:32 PM
    Mainline
    10.2
    Didn't know that one exist :D
    Thanks!
     
  4. eva2000

    eva2000 Administrator Staff Member

    55,234
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,831
    Local Time:
    1:32 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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. rdan

    rdan Well-Known Member

    5,449
    1,410
    113
    May 25, 2014
    Ratings:
    +2,204
    Local Time:
    11:32 PM
    Mainline
    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

    55,234
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,831
    Local Time:
    1:32 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Last edited: Jul 2, 2014