Monday, February 7, 2011

Linux system and server antivirus real

VI. application examples such as the need to check local system loaded Windows partition, if you want to check the C disk: use the command: # avastcmd/mnt/winc-report = cj above this command also generates a report file name is cjh.

If you cannot confirm that your e-mail server support 8-bit bytes, you can directly send a report with the command to an administrator <附件文件名>| e-mail: <邮件地址>mail cat cat (abbreviation for "concatenate") command is handled several files into one file and save the results of processing to a single output file, here we use it to merge the text of the message.   Catcjh | mailgoodcj above command indicates that the content of the file contents for cjh message to user goodcj. Killing the heterogeneous network of computers in the Windows platform: in addition we usually use Samba to make the file share, Samba can and use the Windows operating system of the machine very good collaboration, on a Windows machine, Samba service is displayed in the network neighborhood of a server, we can put the Windows file saved on the server. You can take a share of other Windows machines on the Samba directory, and then together kill, even Windows machine for viruses also killed. Mapping a network drive, we know, in Windows you can set the shared directory mapped as network drives, so you can take a share as a local folder. In Linux there are similar in functionality, you can achieve with smbmount command: first/mnt directory create a directory, say $/mnt/smb/A1, # mkdir – pmnt/smb/A1 to remote computer: a1 shared disk mounted to/mnt/smb/A1 d, and just like the local file system like killing the computer virus: # smbmount//A1/d/mnt/smb/A1 # cd/mnt/smb/A1 # avastcmd 2, uninstall the map directory, you can use the umount command, and then mount the other computer virus checking is the same as the method will not repeat them here. VII. scheduled start avastcmd method avastdwatch.sh is a software that establishes the steps of the file, it can be scheduled using the cron and avastcmd on Linux, the task can be configured within a specified time period, the specified date, or system average load below specified number automatically. 1. use the cron command scheduled start avastcmd cron is a can be used depending on the time, date, month, week, to scheduling to duplicate tasks performed by the daemon. Cron assumes that the system continues to run. The primary configuration file for the cron is/etc/crontab,/etc/crontab each line in the file represents a task, its format is: minutehourdaymonthdayofweekcommand · minute — minute, from 0 to 59 on any integer hour-hour ·., ranging from 0 to any integer between 23. date from day · — from 1 to 31 of any integer number (must be the effective date of the month). · month-the month, from 1 to 12 of any integer between (or use the English abbreviation of the month such as jan). · dayofweek-week from 0 to 7 any integer (or use the English abbreviation such as week sun, etc.). · command-command to execute. Application example: first establish a timer settings file, the file name mytype (name your own setting): # crontab-e file content: */* 5 * * * avastdwatch.sh-a =/var/run/avast4/local.sock-t = 15-d =/tmp-l =/var/log/avast4/avastdwatch.log so that users in each of the five minutes automatically catalog/tmp scanned for viruses and produces a report file log file avastdwatch.log. Here we describe the command-line-based Linux Server antivirus software, you may find the command line mode is not very friendly, behind the author will introduce and avast! forLinux/UnixServers similar with GUI interface anti-virus tools: avast! LinuxHomeEdition.

No comments:

Post a Comment