creyptsetup源码下载地址:相关知识学习:
https://www.ibm.com/developerworks/cn/linux/l-devmapper/index.html
一、Ubuntu1604
1.sudo
apt-get build-dep cryptsetup
2.sudo ./autogen.sh
3.sudo ./configure --prefix=/usr/local/cryptsetup
报如下错误:
apt-get install libjson-c-dev
继续报如下错误:
apt-get install libblkid-dev
4.sudo make
5.sudo make install
会安装在/usr/local/cryptsetup目录下
》》》》》》》》》》》》》》》》》》》》》》》》》》》》》
dpkg -l|grep dmsetup 查看是否安装dmsetup 安装包,若无,则执行如下命令:
sudo apt-get install dmsetup
若不安装该包,执行cryptsetup luksOpen 命令可能会失败,无响应
二、Fedora25
1.
dnf builddep cryptsetup
2.dnf install autoconf automake gettext-devel
3.dnf install libtool m4 automake
4.dnf install json-c-devel
5.dnf install libblkid-devel
6../autogen.sh
7../configure --prefix=/usr/local/cryptsetup
8.make
9.make install
后续介绍基本的使用
阅读(6026) | 评论(0) | 转发(0) |