Difference between pages "Package:Owncloud" and "Package:Clamav"

(Difference between pages)
m (grammar, minor wording changes)
 
m (Added EICAR link)
 
Line 1: Line 1:
 
{{Ebuild
 
{{Ebuild
|Summary=Web-based storage application where all your data is under your own control
+
|Summary=Clam Anti-Virus Scanner
|CatPkg=www-apps/owncloud
+
|CatPkg=app-antivirus/clamav
|Homepage=http://owncloud.org
+
|Homepage=http://www.clamav.net/
 
}}
 
}}
{{PageNeedsUpdates}}
+
Clamav is an open source antivirus solution.
Owncloud is a self hosted cloud repository web application.
+
  
=== Install ===
+
=== Installation ===
{{note|Owncloud is typically run with {{package|dev-libs/openssl}}.  If this is intended for internal (local) use only, using without SSL (and VPN between office locations) is probably ok.}}
+
{{console|body=###i## emerge app-antivirus/clamav}}
  
{{console|body=###i## emerge owncloud}}
+
Virus definitions need to be installed before starting the clamd service
 +
{{console|body=###i## freshclam}}
  
=== Nginx ===
+
=== Configuration ===
Upstream has configs for nginx.
+
Configuration files are located at {{c|/etc/conf.d/clamd}}, {{c|/etc/clamd.conf}}, and {{c|/etc/freshclam.conf}}
;https://doc.owncloud.org/server/8.0/admin_manual/installation/nginx_configuration.html
+
 
 +
=== Runtime ===
 +
{{console|body=###i## rc-update add clamd default
 +
###i## rc}}
 +
 
 +
==== Testing ====
 +
To make sure things are installed correctly, users have the option to run against the the [http://www.eicar.org/86-0-Intended-use.html EICAR Standard Anti-Virus Test File]:
 +
{{console|body=###i## wget -O- http://www.eicar.org/download/eicar.com.txt | clamscan -
 +
###i##rm eicar.com.txt}}
 +
 
 +
==== Usage ====
 +
To scan single files:
 +
{{console|body=###i## clamscan /usr/bin/portageq}}
 +
 
 +
To scan a directory:
 +
{{console|body=###i## clamscan -ir /var/www/localhost/htdocs/
 +
----------- SCAN SUMMARY -----------
 +
Known viruses: 3736482
 +
Engine version: 0.98.6
 +
Scanned directories: 663
 +
Scanned files: 6067
 +
Infected files: 0
 +
Total errors: 8
 +
Data scanned: 58.61 MB
 +
Data read: 36.59 MB (ratio 1.60:1)
 +
Time: 42.691 sec (0 m 42 s)
 +
}}
  
 
=== External Resources ===
 
=== External Resources ===
;https://wiki.archlinux.org/index.php/OwnCloud
+
http://www.clamav.net/doc/install.html
;http://wiki.gentoo.org/wiki/Owncloud
+
 
{{EbuildFooter}}
 
{{EbuildFooter}}

Latest revision as of 16:07, March 22, 2015

app-antivirus/clamav


Source Repository:Repository:Gentoo Portage Tree

http://www.clamav.net/

Summary: Clam Anti-Virus Scanner

Use Flags

clamdtop
A Top like tool which shows what clamd is currently scanning amongst other things
metadata-analysis-api
Enables collection of file property metadata using ClamAV API for analysis by ClamAV bytecode programs.

News

Drobbins

ARM Rebuild

ARM systems will use new stage3's that are not compatible with earlier versions.
2015-06-27 by Drobbins
Drobbins

ABI X86 64 and 32

Funtoo Linux has new 32-bit compatibility libraries inherited from Gentoo. Learn about them here.
2015-06-18 by Drobbins
Drobbins

Pre-built kernels!

Funtoo stage3's are now starting to offer pre-built kernels for ease of install. read more....
2015-05-12 by Drobbins
More...

Clamav

Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

Clamav is an open source antivirus solution.

Installation

# emerge app-antivirus/clamav


Virus definitions need to be installed before starting the clamd service

# freshclam


Configuration

Configuration files are located at /etc/conf.d/clamd, /etc/clamd.conf, and /etc/freshclam.conf

Runtime

# rc-update add clamd default
# rc


Testing

To make sure things are installed correctly, users have the option to run against the the EICAR Standard Anti-Virus Test File:

# wget -O- http://www.eicar.org/download/eicar.com.txt


Usage

To scan single files:

# clamscan /usr/bin/portageq


To scan a directory:

# clamscan -ir /var/www/localhost/htdocs/
----------- SCAN SUMMARY -----------
Known viruses: 3736482
Engine version: 0.98.6
Scanned directories: 663
Scanned files: 6067
Infected files: 0
Total errors: 8
Data scanned: 58.61 MB
Data read: 36.59 MB (ratio 1.60:1)
Time: 42.691 sec (0 m 42 s)


External Resources

http://www.clamav.net/doc/install.html