个人工具

“UbuntuHelp:DazukoTroubleshooting/zh”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(新页面: {{From|https://help.ubuntu.com/community/DazukoTroubleshooting}} {{Languages|UbuntuHelp:DazukoTroubleshooting}} == Getting Started == What is Dazuko? A common interface across all platf...)
 
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/DazukoTroubleshooting}} {{Languages|UbuntuHelp:DazukoTroubleshooting}}
 
{{From|https://help.ubuntu.com/community/DazukoTroubleshooting}} {{Languages|UbuntuHelp:DazukoTroubleshooting}}
  
== Getting Started ==
+
== 开始 ==
  
What is Dazuko? A common interface across all platforms is needed for 3rd party file access control. With such an interface, focus could be redirected from OS hacking to solving real problems. The interface is here. It is called Dazuko. http://www.dazuko.com This page is to help those that are having trouble installing dazuko on Linux. To begin, you MUST have build-essential and module-assistant installed. $ sudo apt-get install build-essential module-assistant
+
Dazuko是什么?它是一种由第三方开发的提供文件访问控制的跨平台通用接口。借助这一接口,程序员可以专注于解决实际问题,而不需深入理解内核。在Linux上安装Dazuko遇到问题,可以访问http://www.dazuko.com上的网页以寻求帮助。 To begin, you MUST have build-essential and module-assistant installed. $ sudo apt-get install build-essential module-assistant
  
 
=== Disable [[UbuntuHelp:AppArmor|AppArmor]] ===
 
=== Disable [[UbuntuHelp:AppArmor|AppArmor]] ===

2008年6月12日 (四) 22:25的版本


开始

Dazuko是什么?它是一种由第三方开发的提供文件访问控制的跨平台通用接口。借助这一接口,程序员可以专注于解决实际问题,而不需深入理解内核。在Linux上安装Dazuko遇到问题,可以访问http://www.dazuko.com上的网页以寻求帮助。 To begin, you MUST have build-essential and module-assistant installed. $ sudo apt-get install build-essential module-assistant

Disable AppArmor

First of all, dazuko cannot be inserted into your kernel if you have apparmor running. To turn this program off type or copy/paste in Terminal: $ sudo gedit /etc/modprobe.d/dazuko Copy and paste the following lines to the document. Then save and exit. install dazuko modprobe -r apparmor;\ modprobe -i dazuko; \ modprobe -i apparmor

Installation Methods

Deb Method

Now, we will first attempt to install dazuko via the .deb package. (This file was downloaded to my desktop.) Download the package -> http://www.dazuko.org/files/dazuko-source_2.3.3-1_all.deb Open Terminal. $ sudo dpkg -i ./Desktop/dazuko-source_2.3.3-1_all.deb $ sudo module-assistant prepare $ sudo m-a a-i dazuko For some reasons, this step may not work. Most of the time this is due to the capability module. To go around this move on to the next method.

Tar.gz Method

If the first method did not work, try the .tar.gz method. (This file was downloaded to my desktop.) Download the following file -> http://www.dazuko.org/files/dazuko-2.3.4.tar.gz Type or copy/paste the following lines into Terminal. $ tar -xvf ./Desktop/dazuko-2.3.4.tar.gz $ cd dazuko-2.3.4 $ su

  1. ./configure
  2. make
  3. sudo make test

If you receive any errors from this step, try this.

  1. rmmod capability
  2. insmod /dazuko.ko
  3. modprobe capability
  4. sudo make test

You should receive that the module is already installed.

  1. cat /proc/modules

You should find dazuko listed.

  1. cat /proc/devices

You should find dazuko listed with a number beside it.

  1. mknod -m 600 /dev/dazuko c [the number] 0
  2. chown root:root /dev/dazuko
  3. make install

Dazuko should now be installed. Source: http://www.dazuko.com