Install AV AntiVirus clamav on Solaris 10 11

clamav can installed on Solaris 10 and 11. The three easy steps to install it:

pkgadd -d http://get.opencsw.org/now
/opt/csw/bin/pkgutil -U
/opt/csw/bin/pkgutil -y -i clamav 

 For Example:
# pkgadd -d http://get.opencsw.org/now

## Downloading...
..............25%..............50%..............75%..............100%
## Download Complete


The following packages are available:
  1  CSWpkgutil     pkgutil - Installs Solaris packages easily
                    (all) 2.6.7,REV=2014.10.16

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:

Processing package instance <CSWpkgutil> from <http://get.opencsw.org/now>

pkgutil - Installs Solaris packages easily(all) 2.6.7,REV=2014.10.16
Please see /opt/csw/share/doc/pkgutil/license for license information.
## Processing package information.
## Processing system information.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.

This package contains scripts which will be executed with super-user
permission during the process of installing this package.

Do you want to continue with the installation of <CSWpkgutil> [y,n,?] y

Installing pkgutil - Installs Solaris packages easily as <CSWpkgutil>

## Installing part 1 of 1.
/etc/opt/csw/pkgutil.conf.CSW
/etc/opt/csw <implied directory>
/opt/csw/bin/pkgutil
/opt/csw <implied directory>
/opt/csw/bin <implied directory>
/opt/csw/etc/pkgutil.conf.CSW
/opt/csw/etc <implied directory>
/opt/csw/libexec/pkgutil/wget-i386
/opt/csw/libexec/pkgutil/wget-sparc
/opt/csw/share/doc/pkgutil/license
/opt/csw/share/doc/pkgutil/readme
/opt/csw/share/man/man1/pkgutil.1
/opt/csw/var/pkgutil/admin.CSW
[ verifying class <none> ]
## Executing postinstall script.

Copying sample pkgutil.conf to /opt/csw/etc.
Copying sample pkgutil.conf to /etc/opt/csw.
Copying sample admin from /opt/csw/var/pkgutil to /var/opt/csw/pkgutil.

NOTE!
NOTE! Make sure to check out any changes in /etc/opt/csw/pkgutil.conf.CSW.
NOTE!


Installation of <CSWpkgutil> was successful.
root@comorc1:/var/tmp/clamav-0.102.2# /opt/csw/bin/pkgutil -U
=> Fetching new catalog and descriptions (http://mirror.opencsw.org/opencsw/testing/i386/5.11) if available ...
==> 4027 packages loaded from /var/opt/csw/pkgutil/catalog.mirror.opencsw.org_opencsw_testing_i386_5.11
root@comorc1:/var/tmp/clamav-0.102.2# /opt/csw/bin/pkgutil -y -i clamav
Solving needed dependencies ...
Solving dependency order ...
Install 20 NEW packages:
        CSWcas-cpsampleconf-1.50,REV=2015.01.17 (opencsw/testing)
        CSWcas-initsmf-1.50,REV=2015.01.17 (opencsw/testing)
        CSWcas-migrateconf-1.50,REV=2015.01.17 (opencsw/testing)
        CSWcas-usergroup-1.50,REV=2015.01.17 (opencsw/testing)
        CSWclamav-0.100.2,REV=2018.10.06 (opencsw/testing)
        CSWcommon-1.5,REV=2010.12.11 (opencsw/testing)
        CSWlibbz2-1-0-1.0.6,REV=2011.08.18 (opencsw/testing)
        CSWlibclam7-0.100.2,REV=2018.10.06 (opencsw/testing)
        CSWlibgcc-s1-5.5.0,REV=2017.10.23 (opencsw/testing)
        CSWlibiconv2-1.14,REV=2011.08.07 (opencsw/testing)
        CSWlibltdl7-2.4.5,REV=2015.02.05 (opencsw/testing)
        CSWliblzma5-5.0.5,REV=2013.07.05 (opencsw/testing)
        CSWlibncurses6-6.1,REV=2018.02.01 (opencsw/testing)
        CSWlibpcre1-8.38,REV=2015.11.23 (opencsw/testing)
        CSWlibssl1-0-0-1.0.2t,REV=2019.09.11 (opencsw/testing)
        CSWlibstdc++6-5.5.0,REV=2017.10.23 (opencsw/testing)
        CSWlibxml2-2-2.9.3,REV=2016.02.16 (opencsw/testing)
        CSWlibz1-1.2.8,REV=2013.09.23 (opencsw/testing)
        CSWterminfo-6.1,REV=2018.02.01 (opencsw/testing)
        CSWterminfo-rxvt-unicode-9.20,REV=2014.10.31 (opencsw/testing)
Total size: 15.7 MB
=> Fetching CSWcommon-1.5,REV=2010.12.11 (1/20) ...
=> Fetching CSWterminfo-rxvt-unicode-9.20,REV=2014.10.31 (2/20) ...
=> Fetching CSWliblzma5-5.0.5,REV=2013.07.05 (3/20) ...
=> Fetching CSWlibz1-1.2.8,REV=2013.09.23 (4/20) ...
=> Fetching CSWlibiconv2-1.14,REV=2011.08.07 (5/20) ...
=> Fetching CSWlibgcc-s1-5.5.0,REV=2017.10.23 (6/20) ...
=> Fetching CSWterminfo-6.1,REV=2018.02.01 (7/20) ...
=> Fetching CSWlibpcre1-8.38,REV=2015.11.23 (8/20) ...
=> Fetching CSWlibssl1-0-0-1.0.2t,REV=2019.09.11 (9/20) ...
=> Fetching CSWlibbz2-1-0-1.0.6,REV=2011.08.18 (10/20) ...
=> Fetching CSWlibxml2-2-2.9.3,REV=2016.02.16 (11/20) ...
=> Fetching CSWlibstdc++6-5.5.0,REV=2017.10.23 (12/20) ...
=> Fetching CSWlibltdl7-2.4.5,REV=2015.02.05 (13/20) ...
=> Fetching CSWlibncurses6-6.1,REV=2018.02.01 (14/20) ...
=> Fetching CSWlibclam7-0.100.2,REV=2018.10.06 (15/20) ...
=> Fetching CSWcas-usergroup-1.50,REV=2015.01.17 (16/20) ...
=> Fetching CSWcas-migrateconf-1.50,REV=2015.01.17 (17/20) ...
=> Fetching CSWcas-initsmf-1.50,REV=2015.01.17 (18/20) ...
=> Fetching CSWcas-cpsampleconf-1.50,REV=2015.01.17 (19/20) ...
=> Fetching CSWclamav-0.100.2,REV=2018.10.06 (20/20) ...

=> Installing CSWcommon-1.5,REV=2010.12.11 (1/20) ...

Installation of <CSWcommon> was successful.

=> Installing CSWterminfo-rxvt-unicode-9.20,REV=2014.10.31 (2/20) ...
Please see /opt/csw/share/doc/terminfo_rxvt_unicode/license for license information.

Installation of <CSWterminfo-rxvt-unicode> was successful.

=> Installing CSWliblzma5-5.0.5,REV=2013.07.05 (3/20) ...
Please see /opt/csw/share/doc/liblzma5/license for license information.

Installation of <CSWliblzma5> was successful.

=> Installing CSWlibz1-1.2.8,REV=2013.09.23 (4/20) ...
Please see /opt/csw/share/doc/libz1/license for license information.

Installation of <CSWlibz1> was successful.

=> Installing CSWlibiconv2-1.14,REV=2011.08.07 (5/20) ...
Please see /opt/csw/share/doc/libiconv2/license for license information.

Installation of <CSWlibiconv2> was successful.

=> Installing CSWlibgcc-s1-5.5.0,REV=2017.10.23 (6/20) ...
Please see /opt/csw/share/doc/libgcc_s1/license for license information.

Installation of <CSWlibgcc-s1> was successful.

=> Installing CSWterminfo-6.1,REV=2018.02.01 (7/20) ...
Please see /opt/csw/share/doc/terminfo/license for license information.

Installation of <CSWterminfo> was successful.

=> Installing CSWlibpcre1-8.38,REV=2015.11.23 (8/20) ...
Please see /opt/csw/share/doc/libpcre1/license for license information.

Installation of <CSWlibpcre1> was successful.

=> Installing CSWlibssl1-0-0-1.0.2t,REV=2019.09.11 (9/20) ...
Please see /opt/csw/share/doc/libssl1_0_0/license for license information.

Installation of <CSWlibssl1-0-0> was successful.

=> Installing CSWlibbz2-1-0-1.0.6,REV=2011.08.18 (10/20) ...
Please see /opt/csw/share/doc/libbz2_1_0/license for license information.

Installation of <CSWlibbz2-1-0> was successful.

=> Installing CSWlibxml2-2-2.9.3,REV=2016.02.16 (11/20) ...
Please see /opt/csw/share/doc/libxml2_2/license for license information.

Installation of <CSWlibxml2-2> was successful.

=> Installing CSWlibstdc++6-5.5.0,REV=2017.10.23 (12/20) ...
Please see /opt/csw/share/doc/libstdc++6/license for license information.

Installation of <CSWlibstdc++6> was successful.

=> Installing CSWlibltdl7-2.4.5,REV=2015.02.05 (13/20) ...
Please see /opt/csw/share/doc/libltdl7/license for license information.

Installation of <CSWlibltdl7> was successful.

=> Installing CSWlibncurses6-6.1,REV=2018.02.01 (14/20) ...
Please see /opt/csw/share/doc/libncurses6/license for license information.

Installation of <CSWlibncurses6> was successful.

=> Installing CSWlibclam7-0.100.2,REV=2018.10.06 (15/20) ...
Please see /opt/csw/share/doc/libclam7/license for license information.

Installation of <CSWlibclam7> was successful.

=> Installing CSWcas-usergroup-1.50,REV=2015.01.17 (16/20) ...
Please see /opt/csw/share/doc/cas_usergroup/license for license information.

Installation of <CSWcas-usergroup> was successful.

=> Installing CSWcas-migrateconf-1.50,REV=2015.01.17 (17/20) ...
Please see /opt/csw/share/doc/cas_migrateconf/license for license information.

Installation of <CSWcas-migrateconf> was successful.

=> Installing CSWcas-initsmf-1.50,REV=2015.01.17 (18/20) ...
Please see /opt/csw/share/doc/cas_initsmf/license for license information.

Installation of <CSWcas-initsmf> was successful.

=> Installing CSWcas-cpsampleconf-1.50,REV=2015.01.17 (19/20) ...
Please see /opt/csw/share/doc/cas_cpsampleconf/license for license information.

Installation of <CSWcas-cpsampleconf> was successful.

=> Installing CSWclamav-0.100.2,REV=2018.10.06 (20/20) ...
Please see /opt/csw/share/doc/clamav/license for license information.
Installing class <cswusergroup> ...
Group clamav has been added
User clamav has been added

Copying sample config to /etc/opt/csw/clamav-milter.conf
Copying sample config to /etc/opt/csw/clamd.conf
Copying sample config to /etc/opt/csw/freshclam.conf

Installing class <cswinitsmf> ...
Creating /var/opt/csw/svc/manifest/network ...
Creating service script in /var/opt/csw/svc/method/svc-cswclamav-milter ...
Creating manifest ...
Configuring service in SMF ...
CSWclamav is using Service Management Facility. The FMRI is svc:/network/cswclamav-milter:default
Clearing svc:/network/cswclamav-milter in case it's in the maintenance state...
Enabling svc:/network/cswclamav-milter ...
Creating service script in /var/opt/csw/svc/method/svc-cswclamd ...
Creating manifest ...
Configuring service in SMF ...
CSWclamav is using Service Management Facility. The FMRI is svc:/network/cswclamd:default
Clearing svc:/network/cswclamd in case it's in the maintenance state...
Enabling svc:/network/cswclamd ...

Installation of <CSWclamav> was successful.

 After the installation is completed, update the clamav with the latest database:

Command: # /opt/csw/bin/freshclam
# /opt/csw/bin/freshclam
ClamAV update process started at Sun Mar 29 12:25:11 2020
Downloading main.cvd [100%]
main.cvd updated (version: 59, sigs: 4564902, f-level: 60, builder: sigmgr)
Downloading daily.cvd [100%]
daily.cvd updated (version: 25766, sigs: 2241266, f-level: 63, builder: raynman)
Downloading bytecode.cvd [100%]
bytecode.cvd updated (version: 331, sigs: 94, f-level: 63, builder: anvilleg)
Database updated (6806262 signatures) from database.clamav.net (IP: 104.16.218.84)



Comments

Popular posts from this blog

VIOS TIPs

Configure Solaris 10 LDOM on Solaris 11.4

Change P410i from HBA mode to Raid mdoe