In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
In this issue, Xiaobian will bring you about how to use VeraCrypt in CentOS. The article is rich in content and analyzed and described from a professional perspective. After reading this article, I hope you can gain something.
1. Prepare the experimental environment
1, Install CentOS 6.8 in VirtualBox and upgrade to the latest version, shut down;
2. Add a new disk to the virtual machine. The recommended size is 8GB. Because when using VeraCrypt encryption, although you set the "dynamic allocation" virtual disk size when creating a new virtual disk, the virtual disk will take up the same amount of space as the size you set.
As shown in the figure:
Second, install VeraCrypt
1. Download the installation package and extract it.
The latest version of VeraCrypt is 1.19, click here to go to the project home page
Find the Linux installation package on the download page, as shown below:
Download the installation package using the wget command:
cd /usr/local/src
wget https://launchpad.net/veracrypt/trunk/1.19/+download/veracrypt-1.19-setup.tar.bz2
Extract files:
tar -jxvf veracrypt-1.19-setup.tar.bz2
After decompression, there are four files:
(2) Installation
Because CentOS I installed is 64-bit and there is no GUI installed, I installed veracrypt-1.19-setup-console-x64.
./ veracrypt-1.19-setup-console-x64
1. Select installation mode
Setup pop-up prompt: ask you whether to install veracrypt(option 1) or extract the installation package to/tmp directory, here select "1" and enter:
VeraCrypt 1.19 Setup
____________________
Installation options:
1) Install veracrypt_1.19_console_amd64.tar.gz
2) Extract package file veracrypt_1.19_console_amd64.tar.gz and place it to /tmp
To select, enter 1 or 2:
2. View and accept user permissions
Next, a prompt pops up asking you to enter to view user permissions:
Before you can use, extract, or install VeraCrypt, you must accept the
terms of the VeraCrypt License.
Press Enter to display the license terms...
Click enter to see the full text of the user license, if you don't want to read it, you can press q to exit; then the program will ask you if you accept the license, enter yes.
Do you accept and agree to be bound by the license terms? (yes/no): yes
Uninstalling VeraCrypt:
-----------------------
To uninstall VeraCrypt, please run 'veracrypt-uninstall.sh'.
Installing package...
usr/
usr/share/
usr/share/veracrypt/
usr/share/veracrypt/doc/
usr/share/veracrypt/doc/License.txt
usr/share/veracrypt/doc/VeraCrypt User Guide.pdf
usr/share/pixmaps/
usr/share/pixmaps/veracrypt.xpm
usr/share/applications/
usr/share/applications/veracrypt.desktop
usr/bin/
usr/bin/veracrypt
usr/bin/veracrypt-uninstall.sh
Press Enter to exit...
At this point, enter Enter to complete the installation.
3. Verify installation
Enter the following command:
[root@localhost src]# veracrypt --version
VeraCrypt 1.19
If the program displays the following error prompt at this time
eracrypt -version
veracrypt: error while loading shared libraries: libfuse.so.2: cannot open shared object file: No such file or directory
fuse-libs needs to be installed
yum install -y fuse-libs
Third, create the entire encrypted hard disk
Now use fdisk -l to see the 8GB virtual hard disk we added earlier:
Disk /dev/sdb: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0000000 No partitioning has been performed yet. In fact, we do not need to encrypt the entire disk partition operation, unless we only want to add a part of the disk encryption operation, then we can first partition the disk, and then use veracrypt for a partition encryption.
The above is how to use VeraCrypt in CentOS shared by Xiaobian. If you happen to have similar doubts, you may wish to refer to the above analysis for understanding. If you want to know more about it, please pay attention to the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.