https://stackoverflow.com/questions/3582108/create-windows-service-from-executable
13.02.2018 22:15, teo peishen пишет: > Btw, how to set up it as windows service? > > Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 > > From: teo peishen<mailto:teopeis...@live.com> > Sent: Wednesday, February 14, 2018 12:01 AM > To: ClamAV users ML<mailto:clamav-users@lists.clamav.net> > Subject: Re: [clamav-users] Please guide me > > Thank a lot. I am learning introduction to Linux subject for my IT course. > That is why I wanna try out clamAV. I am learning. Thanks for your tips. I > try the clam.exe –help. But it does not help much. Maybe you can improve the > documentation for the application. > > Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 > > From: Micah Snyder (micasnyd)<mailto:micas...@cisco.com> > Sent: Tuesday, February 13, 2018 10:14 PM > To: ClamAV users ML<mailto:clamav-users@lists.clamav.net> > Subject: Re: [clamav-users] Please guide me > > Hi Teo Peishen, > > ClamAV is a command-line based program so the learning curve is a little high > for setup. One of our goals going forwards after our next version release is > to make ClamAV easier to work with, but for the time being it’s a little > cumbersome. If you’re fairly adept with command line programs on Windows or > Linux, stay around and try out ClamAV. If you’re just looking for a free > antivirus product that works out-of-the-box, you may want to try Immunet. > > If you want to keep playing with ClamAV on Windows, I recommend using > ClamAV-0.100.0-beta. This version has configuration files that are written > with Windows in mind (older versions have the Unix ones which won’t work > without modification). The 0.100.0-beta version also sets up the database > directory for you. > > The basics of ClamAV usage are: > 1. Configure the virus definition updater, Freshclam. > a. Start by copying the C:\Program > Files\ClamAV\conf_examples\freshclam.conf.sample > to C:\Program Files\ClamAV\freshclam.conf. > b. Modify C:\Program Files\ClamAV\freshclam.conf to remove or comment out the > “Example” line. > This line exists to force users to read the configuration files themselves so > they don’t make assumptions about the way ClamAV is configured. I realize > it’s not a friendly way to do that and we’re investigating ways to improve > configuration set up in the future. Again, if you’re using ClamAV 0.99.3 or > older, you’ll have to modify a lot of fields in the configuration file such > as the file paths so they make sense for Windows. > > 2 (0.99.3 only). On ClamAV v0.99.3 and earlier you may need to create the > C:\Program Files\ClamAV\\database directory by hand. In v0.100.0-beta, the > database directory should already exist. > > 3. Freshclam is the program to update your virus definitions, and it’s time > to update those definitions. Open an elevated command prompt: > a. Open the Start menu. > b. Type “cmd”. > c. Right click on “cmd.exe” and select “Run as Administrator” > d. Using the elevated command prompt, run freshclam.exe. This will update > your virus definitions. The command is something like: > C:\Users\Micah> "C:\Program Files\ClamAV\freshclam.exe" > > 4. Now you can scan stuff. Keep the command prompt open. You’ll want it to > run scans. You basically have 2 options for how to scan stuff. > a. You can scan things directly using Clamscan.exe. It may take a minute for > the virus definitions to load before the scan begins. > Example usage: > C:\Users\Micah> "C:\Program Files\ClamAV\clamscan.exe” > "C:\Users\Micah\Documents” > b. -or- You can scan things indirectly, by running the ClamD.exe scanning > engine continuously, and [in a different command prompt] trigger scans using > ClamDScan.exe. This option has the benefit of loading the virus definition > database once when you start ClamD.exe, and then any file or directory you > scan with ClamDScan.exe will be scanned immediately. > To use ClamD.exe, you will need to set up the clamd.conf file in the same way > you set up freshclam.conf. > Example usage: > C:\Users\Micah> "C:\Program Files\ClamAV\clamd.exe” > In another cmd.exe: > C:\Users\Micah> "C:\Program Files\ClamAV\clamdscan.exe” > "C:\Users\Micah\Documents” > > That’s it for the basics. > For more information about how to use each of the ClamAV programs, use the > “--help” command line options. > Do please note that the default configuration for ClamAV will notify you > about infected files, but it will not quarantine or delete them by default. > > Cheers, > Micah > > Micah Snyder > Software Engineer > Talos > Cisco Systems, Inc. > > > > On Feb 13, 2018, at 4:18 AM, Al Varnell > <alvarn...@mac.com<mailto:alvarn...@mac.com>> wrote: > > Cisco is the developer of Immunet, which uses ClamAV, so not really third > party. > > -Al- > ClamXAV (3rd party) user > > On Tue, Feb 13, 2018 at 01:14 AM, teo peishen wrote: > > So, you suggest the third party software instead of open source software? > > From: Al Varnell > I suspect you will find the Immunet <http://www.immunet.com/index> or ClamWin > <http://www.clamwin.com> versions much easier to setup and use with your > setup. > > -Al- > ClamXAV user > > On Tue, Feb 13, 2018 at 12:58 AM, teo peishen wrote: > > I download from here. > https://www.clamav.net/downloads#otherversions > The win64 version. > > From: Al Varnell > First off, which of these versions did you download and install > <http://www.clamav.net/downloads#otherversions>. > > And then did you look through the applicable installation documentation > <http://www.clamav.net/documents/installing-clamav>. > > -Al- > > On Mon, Feb 12, 2018 at 11:45 PM, teo peishen wrote: > > I am running windows 10. I download clamav installer from your website. After > running the installer, the installer create a file in my program files. About > next, how to run it conf and download database and set it as service. I am > totally lost and there are no information on the web. I wish someone can help > me . Thanks. > > Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 > _______________________________________________ > clamav-users mailing list > clamav-users@lists.clamav.net<mailto:clamav-users@lists.clamav.net> > http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users > > > Help us build a comprehensive ClamAV guide: > https://github.com/vrtadmin/clamav-faq > > http://www.clamav.net/contact.html#ml > > _______________________________________________ > clamav-users mailing list > clamav-users@lists.clamav.net > http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users > > > Help us build a comprehensive ClamAV guide: > https://github.com/vrtadmin/clamav-faq > > http://www.clamav.net/contact.html#ml > > _______________________________________________ > clamav-users mailing list > clamav-users@lists.clamav.net > http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users > > > Help us build a comprehensive ClamAV guide: > https://github.com/vrtadmin/clamav-faq > > http://www.clamav.net/contact.html#ml > > _______________________________________________ > clamav-users mailing list > clamav-users@lists.clamav.net > http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users > > > Help us build a comprehensive ClamAV guide: > https://github.com/vrtadmin/clamav-faq > > http://www.clamav.net/contact.html#ml -- ***************************** * C++20 : Bug to the future * *****************************
signature.asc
Description: OpenPGP digital signature
_______________________________________________ clamav-users mailing list clamav-users@lists.clamav.net http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml