Here are the steps:
1) Login to ownCloud as admin
2) Click menu link next to cloud icon on top left of your screen, expand the menu and click Apps button:
![add apps](https://controlvm.com/images/addapps.jpg)
3) On left panel, click on Tool, look for Antivirus and click enable.
![Enable Antivirus](https://controlvm.com/images/eanbleav.jpg)
4) Now, back to admin area by click on your admin username to top right of your screen. Look for Antivirus Configuration on left panel.
![Enable Antivirus](https://controlvm.com/images/avmenu.jpg)
5) Choose Daemon Socket in Mode and make sure the scoket is /var/run/clamav/clamd.ctl. Press save. You define your own rules by pressing advance button.
That's all.
For more details, please refer to https://doc.owncloud.org/server/8.2/admin_manual/configuration_server/antivirus_configuration.html