当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 3 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 在10.04中安装小红伞之后,如何启动小红伞?
帖子发表于 : 2010-06-02 10:53 

注册: 2010-05-10 22:05
帖子: 22
送出感谢: 0 次
接收感谢: 0 次
我按照如下的方法安装的最新版小红伞for linux:
新版本中只要使用他自带的install就行,那个dazuko在小红伞的安装包中带了,我安装成功了,但是不知道怎么运行,菜单里没有
使用
#antivir
#AntiVir
#antivir-gui
#AntiVir-gui
都提示没有这个命令
那怎么启动小红伞呢?
另外我也把自己加入了antivir用户组了
可是用root都不能启动阿,求解


nstalling AntiVir, with on-access scanning, in Ubuntu Linux

Submitted by Brad Johnson on Sun, 2006-01-15 21:08.

There are a lot of people out there that say "You don't need an antivirus program for Linux." I believe that you do. Even though there are very few viruses in the wild that affect Linux there is still the looming possibility for more and more viruses to be created. This tutorial will walk you through the main steps of installing and configuring AntiVir on Ubuntu Linux. The setup will also enable AvGuard, the real-time scanning engine for AntiVir.

ClamAV is one of the most popular Linux antivirus programs but I have chosen to go with AntiVir. Why? Because I have used AntiVir on my Windows XP PC and I liked it’s low resource usage, fast scan times and frequent updates. Like everything else with Linux, it’s about personal choice.

System setup
The system I am using is setup as follows:

Dell Latitude D510 laptop
Ubuntu 5.10 (Breezy), fresh install with all critical updates
Gnome 2.12.1
Linux kernel 2.6.12-10
The user login name is admin. Substitute your login name where applicable.
Getting Dazuko
The most important requirement to enable on-access scanning is Dazuko. Dazuko was developed to allow antivirus programs real-time (on-access) scanning ability. The Ubuntu repositories have an older version that doesn’t work well with AntiVir. To get the latest version for Ubuntu/Debian, you can either go to the Dazuko Files web page or by using wget in a Terminal window (also known as a shell prompt).

The current version of Dazuko is dazuko-source_2.1.0-1_all.deb. Open a Terminal window (by default you will be in your home directory) and use the following command to download the latest package:

wget http://dazuko.org/files/dazuko-source_2.1.0-1_all.deb

Installing necessary programs
We first need to edit our repositories list so that we can use apt-get to install the other necessary files. The repository list is located in /etc/apt/sources.list but it can only be edited by root. To edit it, while in the Terminal window, use the following command:

sudo gedit /etc/apt/sources.list

Check that the following lines are not commented out (i.e. no pound sign (#) beginning the line):

deb http://us.archive.ubuntu.com/ubuntu breezy universe
deb-src http://us.archive.ubuntu.com/ubuntu breezy universe

If they are commented out, remove the pound sign. After you uncomment the lines, or if they weren’t commented, add the words ‘restricted’ and ‘multiverse’ (without the quotes, seperated by a space) after the word ‘universe’. The multiverse is needed so that we can download the Java Runtime Environment 1.4 from the repository. Be sure to save the file after editing and close gedit.

Back in the Terminal window, run the following command to update the repository file list:

sudo apt-get update

The files to download and install are:

Module-Assistant
debhelper
GCC-3.4
GCC 4.0 is installed by Module-Assistant, when the Prepare command is issued, but it does not work properly with the Dazuko installation. I had to install GCC 3.4 in order to get Dazuko to install and work properly.
Java Runtime Environment 1.4
This is the latest version that has been ported for use on Debian. JRE 1.5, from Sun, has changed licenses so it is no longer free for distribution.
Run the following command, in the Terminal window, to download and install the files:

sudo apt-get install module-assistant debhelper j2re1.4

Answer yes when asked if you want to download any dependencies. Once the installation is complete, install Dazuko by running the following command:

sudo dpkg -i dazuko-source_2.1.0-1_all.deb

Installing the package does not insert it into the kernel as a module.

Inserting Dazuko module into the kernel
Inserting the Dazuko module is simplified thanks to module-assistant. The first time you run module-assistant, you have to run the prepare. Using the module-assistant prepare command will download the kernel headers, matching your installed kernel version, and other files necessary to insert modules into the kernel. Issue the following command in the Terminal window:

sudo module-assistant prepare

The version of gcc that gets installed is 4.0. The Dazuko installation will fail unless you install gcc 3.4. To do this, issue the following command:

sudo apt-get install gcc-3.4

The system is now ready to insert the Dazuko module. Run the following command to insert the Dazuko module:

sudo m-a a-i dazuko

Configuring Dazuko
Dazuko will fail to start properly if the module named capability is running first. To do this, a couple of files must be created/modified. To create the first file, open gedit as root by issuing the following Terminal command:

sudo gedit /etc/modprobe.d/dazuko

Copy and paste the following code into the blank document and save it.

install dazuko modprobe -r capability;\
modprobe -i dazuko; \
modprobe -i capability

While still running gedit as root, open the modules file, located in /etc directory. Add the word dazuko to the end of the list. Save the file.

To get Dazuko loaded, without having to reboot, issue the following Terminal commands

sudo rmmod capability
sudo modprobe dazuko
sudo modprobe capability

Downloading and installing Antivir
To download AntiVir for Linux, go to the AntiVir downloads page. Right-click the Workstation link and save the file. For this tutorial, it will be assumed that the file is saved to your home directory. Extract the file using the following Terminal command:

tar -xvf antivir-workstation-pers.tar.gz

Rename the AntiVir directory to antivir. This will save typing later. Start the installation by using the following Terminal commands:

cd antivir
sudo ./install

Follow the instructions given during the installation. Some points to be aware of:

Step 1
When asked for the path to the hbedv.key file, enter /home/admin/antivir/hbedv.key
Step 2
Answer yes when asked if you want to install the automatic updater in Step 2. It’s good to have in case you forget to manually run the update. Updates are released frequently.
Answer yes to create a link in /usr/sbin for avupdater.
Answer yes to start Internet updater automatically.
Step 3
Answer ‘k’ (without quotes) when asked how AvGuard should be installed. This let’s AntiVir know that Dazuko is installed as a kernel (k) module and AvGuard should not try to start the module.
Answer yes to create a link in /usr/sbin for AvGuard.
Answer yes to set AvGuard to start automatically. This is the on-access (real-time) scanner.
Step 4
Answer yes if you want to have the graphical interface (GUI) installed. This makes AntiVir easier to use for most users versus using the command line scanner only.
Step 5
Answer yes to configure AntiVir. You can accept most of the default values by not typing anything in and pressing Enter.
Answer yes to scan files as they are executed. There is a small performance hit but will add extra protection.
Answer yes to try and repair concerning (infected) files. Access to the file will be blocked if a concerning file cannot be repaired.
Scanning archives is optional. There can be a significant performance hit scanning archives because those files must be decompressed before they can be scanned. I opted not to scan inside archives because I have AntiVir set to scan files that are created/saved.
You can disable automatic updates or set it to check for updates either every 2 hours or every day. I opted for the daily (d) checks. An Internet connection is required for automatic updates.
Since I opted for daily updates, the next question is what time of day to check. You can either specify a time or tell AntiVir to randomly check.
Answer yes to create a custom log file if you are not comfortable looking through syslogs. You can accept the default custom log file that will be created as /var/log/avguard.log.
Once configuration is complete, AntiVir is installed. Go ahead and update the virus definition files by running the following in the Terminal:

sudo antivir --update

Configuring AntiVir users
In order to run the AntiVir GUI properly, users must be added to the antivir group. Open the Users and Groups application, located in the System -> Administration menu. Click on the Groups tab and scroll down the list in order to double-click on the antivir group. Add any logins you want to have access to the AntiVir GUI to this group (i.e. root, your login, etc.).

Note: Only the root user will be able to save configuration changes.

Conclusion
In the Terminal window, enter the following command to start the AntiVir GUI:

sudo antivir-gui

You will see the AntiVir splash screen and the loading process. When the GUI starts, look under State. It should show running. This indicates that AvGuard is functioning and scanning files in the background as they are accessed. You can change the configuration because the root user is allowed to save configuration changes.

If you create a launcher (shortcut) for the AntiVir GUI, the command is antivir-gui. This will allow you to scan any files in your home directory. If you wish to scan the entire system, you will have to launch AntiVir (GUI or command line) using sudo.

The installation of Dazuko used for this tutorial will also work for ClamAV, avast! and the recently released AVG Free.


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 在10.04中安裝小紅傘之後,如何啟動小紅傘?
帖子发表于 : 2010-06-30 11:26 
头像

注册: 2009-10-12 15:48
帖子: 9
送出感谢: 0 次
接收感谢: 0 次
跟我遇到的問題都一樣沒辦法開啟 gui 介面


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 在10.04中安装小红伞之后,如何启动小红伞?
帖子发表于 : 2010-12-24 13:40 

注册: 2006-09-18 20:07
帖子: 185
送出感谢: 0 次
接收感谢: 0 次
西电隋哥 写道:
Conclusion
In the Terminal window, enter the following command to start the AntiVir GUI:

代码:
sudo antivir-gui




页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 3 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 1 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译