Update doc: how_to_creating_and_making_an_AMI_public.mkd and how_to_creating_and_making_a_QEMU_img.mkd.

This commit is contained in:
Samson-W 2019-04-16 15:43:55 +08:00
parent 49f7a90a54
commit b582708d5f
4 changed files with 4 additions and 5 deletions

View File

@ -58,7 +58,7 @@ admin@ip:/opt/harbian-audit-master$ sudo reboot
``` ```
After reboot: After reboot:
``` ```
admin@ip:/opt/harbian-audit-master$ sudo bash ./docs/examples/configurations/etc.iptables.rules.v4.sh admin@ip:/opt/harbian-audit-master$ sudo bash ./docs/configurations/etc.iptables.rules.v4.sh
admin@ip:/opt/harbian-audit-master$ sudo -s admin@ip:/opt/harbian-audit-master$ sudo -s
admin@ip:/opt/harbian-audit-master# iptables-save > /etc/iptables/rules.v4 admin@ip:/opt/harbian-audit-master# iptables-save > /etc/iptables/rules.v4
admin@ip:/opt/harbian-audit-master# ip6tables-save > /etc/iptables/rules.v6 admin@ip:/opt/harbian-audit-master# ip6tables-save > /etc/iptables/rules.v6

View File

@ -33,10 +33,9 @@ Copy publib key(example: /home/username/.ssh/id_rsa_1.pub) to QEMU server, add c
#### Add connection #### Add connection
![1](./picture/create_new_virt_1.png) ![1](./picture/create_new_virt_1.png)
![2](./picture/create_new_virt_2.png)
#### Create New Virtual Machine #### Create New Virtual Machine
![3](./picture/create_new_virt_3.png) ![2](./picture/create_new_virt_2.png)
Then follow the wizard to install step by step. Then follow the wizard to install step by step.
## How to making ## How to making
@ -70,7 +69,7 @@ root@harbian:/opt/harbian-audit-master# reboot
After reboot: After reboot:
``` ```
harbian-audit@harbian:/opt/harbian-audit-master$ sudo bash ./docs/examples/configurations/etc.iptables.rules.v4.sh harbian-audit@harbian:/opt/harbian-audit-master$ sudo bash ./docs/configurations/etc.iptables.rules.v4.sh
harbian-audit@harbian:/opt/harbian-audit-master$ sudo -s harbian-audit@harbian:/opt/harbian-audit-master$ sudo -s
root@harbian:/opt/harbian-audit-master# iptables-save > /etc/iptables/rules.v4 root@harbian:/opt/harbian-audit-master# iptables-save > /etc/iptables/rules.v4
root@harbian:/opt/harbian-audit-master# ip6tables-save > /etc/iptables/rules.v6 root@harbian:/opt/harbian-audit-master# ip6tables-save > /etc/iptables/rules.v6

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB