“UbuntuHelp:DazukoTroubleshooting”的版本间的差异
来自Ubuntu中文
小 (新页面: {{From|https://help.ubuntu.com/community/DazukoTroubleshooting}} {{Languages|UbuntuHelp:DazukoTroubleshooting}} == Getting Started == What is Dazuko? A common interface across all pla...) |
小 |
||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/DazukoTroubleshooting}} | {{From|https://help.ubuntu.com/community/DazukoTroubleshooting}} | ||
{{Languages|UbuntuHelp:DazukoTroubleshooting}} | {{Languages|UbuntuHelp:DazukoTroubleshooting}} | ||
− | |||
− | |||
== Getting Started == | == Getting Started == | ||
− | |||
What is Dazuko? | 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. | 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 | http://www.dazuko.com | ||
− | |||
This page is to help those that are having trouble installing dazuko on Linux. | 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. | To begin, you MUST have build-essential and module-assistant installed. | ||
− | |||
$ sudo apt-get install build-essential module-assistant | $ sudo apt-get install build-essential module-assistant | ||
− | |||
=== Disable AppArmor === | === 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: | 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 | $ sudo gedit /etc/modprobe.d/dazuko | ||
− | |||
Copy and paste the following lines to the document. Then save and exit. | Copy and paste the following lines to the document. Then save and exit. | ||
− | |||
install dazuko modprobe -r apparmor;\ | install dazuko modprobe -r apparmor;\ | ||
− | |||
modprobe -i dazuko; \ | modprobe -i dazuko; \ | ||
− | |||
modprobe -i apparmor | modprobe -i apparmor | ||
− | |||
=== Installation Methods === | === Installation Methods === | ||
− | |||
===== Deb Method ===== | ===== Deb Method ===== | ||
− | |||
Now, we will first attempt to install dazuko via the .deb package. (This file was downloaded to my desktop.) | 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 | Download the package -> http://www.dazuko.org/files/dazuko-source_2.3.3-1_all.deb | ||
− | |||
Open Terminal. | Open Terminal. | ||
− | |||
$ sudo dpkg -i ./Desktop/dazuko-source_2.3.3-1_all.deb | $ sudo dpkg -i ./Desktop/dazuko-source_2.3.3-1_all.deb | ||
− | |||
$ sudo module-assistant prepare | $ sudo module-assistant prepare | ||
− | |||
$ sudo m-a a-i dazuko | $ 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. | 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 ====== | ====== Tar.gz Method ====== | ||
− | |||
If the first method did not work, try the .tar.gz method. (This file was downloaded to my desktop.) | 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 | Download the following file -> http://www.dazuko.org/files/dazuko-2.3.4.tar.gz | ||
− | |||
Type or copy/paste the following lines into Terminal. | Type or copy/paste the following lines into Terminal. | ||
− | |||
$ tar -xvf ./Desktop/dazuko-2.3.4.tar.gz | $ tar -xvf ./Desktop/dazuko-2.3.4.tar.gz | ||
− | |||
$ cd dazuko-2.3.4 | $ cd dazuko-2.3.4 | ||
− | |||
$ su | $ su | ||
− | |||
# ./configure | # ./configure | ||
− | |||
# make | # make | ||
− | |||
# sudo make test | # sudo make test | ||
− | |||
If you receive any errors from this step, try this. | If you receive any errors from this step, try this. | ||
− | |||
# rmmod capability | # rmmod capability | ||
− | |||
# insmod /dazuko.ko | # insmod /dazuko.ko | ||
− | |||
# modprobe capability | # modprobe capability | ||
− | |||
# sudo make test | # sudo make test | ||
− | |||
You should receive that the module is already installed. | You should receive that the module is already installed. | ||
− | |||
# cat /proc/modules | # cat /proc/modules | ||
− | |||
You should find dazuko listed. | You should find dazuko listed. | ||
− | |||
# cat /proc/devices | # cat /proc/devices | ||
− | |||
You should find dazuko listed with a number beside it. | You should find dazuko listed with a number beside it. | ||
− | |||
# mknod -m 600 /dev/dazuko c [the number] 0 | # mknod -m 600 /dev/dazuko c [the number] 0 | ||
− | |||
# chown root:root /dev/dazuko | # chown root:root /dev/dazuko | ||
− | |||
# make install | # make install | ||
− | |||
Dazuko should now be installed. | Dazuko should now be installed. | ||
− | |||
Source: http://www.dazuko.com | Source: http://www.dazuko.com | ||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2007年11月30日 (五) 16:40的版本
目录
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
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
- ./configure
- make
- sudo make test
If you receive any errors from this step, try this.
- rmmod capability
- insmod /dazuko.ko
- modprobe capability
- sudo make test
You should receive that the module is already installed.
- cat /proc/modules
You should find dazuko listed.
- cat /proc/devices
You should find dazuko listed with a number beside it.
- mknod -m 600 /dev/dazuko c [the number] 0
- chown root:root /dev/dazuko
- make install
Dazuko should now be installed. Source: http://www.dazuko.com