Update QEMU related documentation according to the harbian-audit project on September 10.
This commit is contained in:
parent
edc82b56fc
commit
1a8ebff456
|
@ -157,6 +157,11 @@ $ sudo -s
|
|||
# echo > /var/log/wtmp
|
||||
```
|
||||
|
||||
#### AIDE RE-INIT
|
||||
```
|
||||
$ sudo aideinit -y -f
|
||||
```
|
||||
|
||||
#### Clear bash hostory
|
||||
```
|
||||
# echo > ~/.bash_history
|
||||
|
@ -166,11 +171,6 @@ $ history -cw
|
|||
$ sudo poweroff
|
||||
```
|
||||
|
||||
#### AIDE RE-INIT
|
||||
```
|
||||
$ sudo aideinit -y -f
|
||||
```
|
||||
|
||||
## sign QEMU image
|
||||
ssh to QEMU server, find QEMU image dir, sign the QEMU image:
|
||||
```
|
||||
|
|
|
@ -1,50 +1,32 @@
|
|||
# How to use QEMU image of harbian-audit complicanced Debian GNU/Linux 9
|
||||
|
||||
## Overview
|
||||
Image name: harbian-audit_Debian_9.qcow2
|
||||
Disk size: 50G
|
||||
File system:
|
||||
```
|
||||
harbian-audit@harbian:~$ df -h
|
||||
Filesystem Size Used Avail Use% Mounted on
|
||||
udev 2.0G 0 2.0G 0% /dev
|
||||
tmpfs 396M 5.5M 391M 2% /run
|
||||
/dev/mapper/harbian--vg-root 15G 1.3G 12G 10% /
|
||||
tmpfs 2.0G 8.0K 2.0G 1% /dev/shm
|
||||
tmpfs 5.0M 0 5.0M 0% /run/lock
|
||||
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
|
||||
/dev/vda1 236M 37M 187M 17% /boot
|
||||
tmpfs 2.0G 0 2.0G 0% /tmp
|
||||
/dev/mapper/harbian--vg-home 27G 45M 25G 1% /home
|
||||
tmpfs 396M 0 396M 0% /run/user/1000
|
||||
```
|
||||
Image name: debian9.9-harbian-0910.qcow2
|
||||
Disk size: 20G
|
||||
|
||||
grub password protection:
|
||||
username: harbiansuper
|
||||
password: harbian_AUDIT,12@)
|
||||
password: harbian_AUDIT,09!)
|
||||
|
||||
Users info:
|
||||
user: root
|
||||
passwd: 1qaz@WSX3edc$RFV5tgb
|
||||
|
||||
user: harbian-audit
|
||||
user: auditadmin
|
||||
passwd: 2wsx#EDC4rfv%TGB6yhn
|
||||
|
||||
## Get QEMU image
|
||||
|
||||
### Download address
|
||||
[https://drive.google.com/file/d/1osqL0REFisSedOhL04dupC1aDM6jVpdm/view?usp=sharing](https://drive.google.com/file/d/1osqL0REFisSedOhL04dupC1aDM6jVpdm/view?usp=sharing)
|
||||
|
||||
![1](./picture/download_01.png)
|
||||
![2](./picture/download_02.png)
|
||||
![3](./picture/download_03.png)
|
||||
[debian9.9-harbian-0910.qcow2.tar.gz](https://drive.google.com/file/d/1HwaHF94AJx-95HeIVi4cUFA5aiQ_diz2/view?usp=sharing)
|
||||
|
||||
### Verify
|
||||
```
|
||||
$ wget https://github.com/hardenedlinux/harbian-audit/blob/master/docs/complianced_image/QEMU/signature/harbian-audit_Debian_9.qcow2.sig
|
||||
$ wget https://github.com/hardenedlinux/harbian-audit/blob/master/docs/complianced_image/QEMU/signature/harbian-audit_Debian_9.qcow2.tar.gz.sig
|
||||
$ gpg --verify harbian-audit_Debian_9.qcow2.tar.gz.sig harbian-audit_Debian_9.qcow2.tar.gz
|
||||
$ tar -xzvf harbian-audit_Debian_9.qcow2.tar.gz
|
||||
$ gpg --verify harbian-audit_Debian_9.qcow2.sig harbian-audit_Debian_9.qcow2
|
||||
$ wget https://github.com/hardenedlinux/harbian-audit/blob/master/docs/complianced_image/QEMU/debian9.9-harbian-0910.qcow2.sig
|
||||
$ wget https://github.com/hardenedlinux/harbian-audit/blob/master/docs/complianced_image/QEMU/signature/debian9.9-harbian-0910.qcow2.tar.gz.sig
|
||||
$ gpg --verify debian9.9-harbian-0910.qcow2.tar.gz.sig debian9.9-harbian-0910.qcow2.tar.gz
|
||||
$ tar -xzvf debian9.9-harbian-0910.qcow2.tar.gz
|
||||
$ gpg --verify debian9.9-harbian-0910.qcow2.sig debian9.9-harbian-0910.qcow2
|
||||
```
|
||||
|
||||
## Use the QEMU image to create virtual machine
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 52 KiB |
Binary file not shown.
Before Width: | Height: | Size: 26 KiB |
Binary file not shown.
Before Width: | Height: | Size: 37 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue