zoukankan      html  css  js  c++  java
  • 查看apache、linux、kernel、nginx等版本

    查看apache版本
    /usr/sbin/apachectl -v
    httpd -v
    安装目录,使用apachectl -v
     

    查看mysql版本

    mysql –help | grep Distrib
    mysql -V
    mysql/bin/mysql -u root -p -e “select version()”
    /bin mysqladmin version
     
    查看linux版本
     lsb_release -a
    head -n1 /etc/issue
    cat /etc/redhat-release (redhat)
    rpm -q redhat-release        (redhat)
     
    查看内核版本
    cat /proc/version
    uname -a
    uname -r
     
    查看php版本
    php -v
    phpinfo();
     
    查看nginx版本

    nginx -V

     
    Linux下查看nginx,apache,mysql,php的编译参数 
    1、nginx编译参数:
    #/usr/local/nginx/sbin/nginx -V

    2、apache编译参数:
    # cat /usr/local/apache/build/config.nice
    #/usr/local/apache/bin/apachectl -V
    #cat $apachehome$/build/config.nice

    3、php编译参数:
    # /usr/local/php/bin/php -i |grep configure
    #$PHP$/bin/php -i | grep configure
    # /usr/local/php/bin/php-config 

    4、mysql编译参数:
    # cat /usr/local/mysql/bin/mysqlbug|grep configure
     
    5、smartd编译参数:
    #/usr/sbin/smartctl -V|grep configure
  • 相关阅读:
    计算机编程基础
    css3 压缩及验证工具
    BFC
    【原创】bootstrap框架的学习 第五课
    曼珠沙华
    仓央嘉措
    waiting for spring......
    一天
    21-chttp连接池该取多大
    守护线程会不会执行finally?默认情况new thread怎么样确定守护状态?
  • 原文地址:https://www.cnblogs.com/hellowzd/p/6226607.html
Copyright © 2011-2022 走看看