2021年6月16日 星期三

List - Compilation

◆ Linux - Desktop

  ⦁ 安裝之源碼編譯 - 以ClamAV為範例 

 

 

◆ Windows - Desktop

安裝之源碼編譯 - 以ClamAV為範例

1、zlib-1.2.11.tar.gz安裝 # tar xvzf zlib-1.2.11.tar.gz //安裝gcc編譯環境: yum install gc # cd zlib-1.2.11 # CFLAGS="-O3 -fPIC" ./configure --prefix=/usr/local/zlib/ # make && make install 2:增加群組clamav 和組員clamav # groupadd clamav # useradd -g clamav -s /bin/false -c "Clam AntiVirus" clamav 3:安裝Clamav-0.103.2 # tar xvzf clamav-0.103.2.tar.gz # cd clamav-0.103.2 # ./configure --prefix=/opt/clamav --disable-clamav -with-zlib=/usr/local/zlib # make # make install