zabbix安装完成后查看编译参数
1)首先进入源码安装的目录# cd zabbix-2.4.5 2)找到一个名字叫做config.log的文件
# ll
total 1608
-rw-r--r--.1 zabbix zabbix49045 Apr 222015 aclocal.m4
-rw-r--r--.1 zabbix zabbix 98 Apr 222015 AUTHORS
drwxr-xr-x.4 zabbix zabbix 32 Apr 222015 bin
drwxr-xr-x.4 zabbix zabbix 32 Apr 222015 build
-rw-r--r--.1 zabbix zabbix 595351 Apr 222015 ChangeLog
-rwxr-xr-x.1 zabbix zabbix 7333 Jan32014 compile
drwxr-xr-x.3 zabbix zabbix 159 Apr 222015 conf
-rwxr-xr-x.1 zabbix zabbix45297 Aug 112013 config.guess
-rw-r--r--.1 root root 280209 Sep 252017 config.log
-rwxr-xr-x.1 root root 48047 Sep 252017 config.status
-rwxr-xr-x.1 zabbix zabbix35564 Aug 112013 config.sub
-rwxr-xr-x.1 zabbix zabbix 355060 Apr 222015 configure
-rw-r--r--.1 zabbix zabbix42447 Apr 222015 configure.ac
-rw-r--r--.1 zabbix zabbix17990 Apr 222015 COPYING
drwxr-xr-x.7 zabbix zabbix 135 Sep 252017 database
-rwxr-xr-x.1 zabbix zabbix23566 Jan32014 depcomp
drwxr-xr-x.3 zabbix zabbix 17 Apr 222015 frontends
drwxr-xr-x.2 zabbix zabbix 4096 Sep 252017 include
-rw-r--r--.1 zabbix zabbix15744 Apr 222015 INSTALL
-rwxr-xr-x.1 zabbix zabbix13997 Jan32014 install-sh
drwxr-xr-x.2 zabbix zabbix 4096 Apr 222015 m4
-rw-r--r--.1 root root 28643 Sep 252017 Makefile 3)用grep来过滤
# grep ./configure config.log
$ ./configure --prefix=/usr/local/zabbix --enable-server --enable-agent --with-mysql --with-net-snmp --with-java --with-libcurl --with-libxml2 --with-openipmi--enable-proxy --with-mysql
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
页:
[1]