Update docs/tech_docs/OpenWrt.md
This commit is contained in:
@@ -11,7 +11,7 @@ pct start 100
|
|||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pct create 200 /var/lib/vz/template/cache/kali-rootfs.tar.xz \
|
pct create 110 /var/lib/vz/template/cache/kali-rootfs.tar.xz \
|
||||||
--unprivileged 1 --arch amd64 --ostype debian --hostname kali-0 \
|
--unprivileged 1 --arch amd64 --ostype debian --hostname kali-0 \
|
||||||
--password fuzzy817 --tag tools --storage local-lvm --cores 2 \
|
--password fuzzy817 --tag tools --storage local-lvm --cores 2 \
|
||||||
--memory 2048 --swap 1024 --rootfs local-lvm:1,size=10G \
|
--memory 2048 --swap 1024 --rootfs local-lvm:1,size=10G \
|
||||||
@@ -19,11 +19,11 @@ pct create 200 /var/lib/vz/template/cache/kali-rootfs.tar.xz \
|
|||||||
--debug 0 --features nesting=1,keyctl=1
|
--debug 0 --features nesting=1,keyctl=1
|
||||||
```
|
```
|
||||||
```bash
|
```bash
|
||||||
pct start 200
|
pct start 110
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pct create 300 /var/lib/vz/template/cache/alpine-rootfs.tar.xz \
|
pct create 120 /var/lib/vz/template/cache/alpine-rootfs.tar.xz \
|
||||||
--unprivileged 1 --arch amd64 --ostype alpine --hostname alpine-0 \
|
--unprivileged 1 --arch amd64 --ostype alpine --hostname alpine-0 \
|
||||||
--password fuzzy817 --tag docker --storage local-lvm --cores 2 \
|
--password fuzzy817 --tag docker --storage local-lvm --cores 2 \
|
||||||
--memory 1024 --swap 256 --rootfs local-lvm:1,size=8G \
|
--memory 1024 --swap 256 --rootfs local-lvm:1,size=8G \
|
||||||
@@ -31,7 +31,7 @@ pct create 300 /var/lib/vz/template/cache/alpine-rootfs.tar.xz \
|
|||||||
--debug 0 --features nesting=1,keyctl=1
|
--debug 0 --features nesting=1,keyctl=1
|
||||||
```
|
```
|
||||||
```bash
|
```bash
|
||||||
pct start 300
|
pct start 120
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
@@ -119,7 +119,7 @@ Set up an Alpine Linux container optimized for running Docker, ensuring lightwei
|
|||||||
|
|
||||||
#### Create and Configure the Alpine Container
|
#### Create and Configure the Alpine Container
|
||||||
```bash
|
```bash
|
||||||
pct create 300 /var/lib/vz/template/cache/alpine-rootfs.tar.xz \
|
pct create 120 /var/lib/vz/template/cache/alpine-rootfs.tar.xz \
|
||||||
--unprivileged 1 --arch amd64 --ostype alpine --hostname alpine-0 \
|
--unprivileged 1 --arch amd64 --ostype alpine --hostname alpine-0 \
|
||||||
--password <password> --tag docker --storage local-lvm --cores 2 \
|
--password <password> --tag docker --storage local-lvm --cores 2 \
|
||||||
--memory 1024 --swap 256 --rootfs local-lvm:1,size=8G \
|
--memory 1024 --swap 256 --rootfs local-lvm:1,size=8G \
|
||||||
@@ -129,7 +129,7 @@ pct create 300 /var/lib/vz/template/cache/alpine-rootfs.tar.xz \
|
|||||||
|
|
||||||
#### Enter the Container
|
#### Enter the Container
|
||||||
```bash
|
```bash
|
||||||
pct enter 300
|
pct enter 120
|
||||||
```
|
```
|
||||||
|
|
||||||
#### System Update and Package Installation
|
#### System Update and Package Installation
|
||||||
@@ -179,7 +179,7 @@ Configure a Kali Linux container tailored for security testing and penetration t
|
|||||||
|
|
||||||
#### Create and Configure the Kali Linux Container
|
#### Create and Configure the Kali Linux Container
|
||||||
```bash
|
```bash
|
||||||
pct create 200 /var/lib/vz/template/cache/kali-default-rootfs.tar.xz \
|
pct create 110 /var/lib/vz/template/cache/kali-default-rootfs.tar.xz \
|
||||||
--unprivileged 1 --arch amd64 --ostype debian --hostname kali-0 \
|
--unprivileged 1 --arch amd64 --ostype debian --hostname kali-0 \
|
||||||
--password <password> --tag tools --storage local-lvm --cores 2 \
|
--password <password> --tag tools --storage local-lvm --cores 2 \
|
||||||
--memory 2048 --swap 1024 --rootfs local-lvm:1,size=10G \
|
--memory 2048 --swap 1024 --rootfs local-lvm:1,size=10G \
|
||||||
@@ -199,7 +199,7 @@ pct create 100 /var/lib/vz/template/cache/openwrt-rootfs.tar.xz \
|
|||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pct create 200 /var/lib/vz/template/cache/kali-default-rootfs.tar.xz \
|
pct create 110 /var/lib/vz/template/cache/kali-default-rootfs.tar.xz \
|
||||||
--unprivileged 1 --arch amd64 --ostype debian --hostname kali-0 \
|
--unprivileged 1 --arch amd64 --ostype debian --hostname kali-0 \
|
||||||
--password <password> --tag tools --storage local-lvm --cores 2 \
|
--password <password> --tag tools --storage local-lvm --cores 2 \
|
||||||
--memory 2048 --swap 1024 --rootfs local-lvm:1,size=10G \
|
--memory 2048 --swap 1024 --rootfs local-lvm:1,size=10G \
|
||||||
@@ -208,7 +208,7 @@ pct create 200 /var/lib/vz/template/cache/kali-default-rootfs.tar.xz \
|
|||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pct create 300 /var/lib/vz/template/cache/alpine-rootfs.tar.xz \
|
pct create 120 /var/lib/vz/template/cache/alpine-rootfs.tar.xz \
|
||||||
--unprivileged 1 --arch amd64 --ostype alpine --hostname alpine-0 \
|
--unprivileged 1 --arch amd64 --ostype alpine --hostname alpine-0 \
|
||||||
--password <password> --tag docker --storage local-lvm --cores 2 \
|
--password <password> --tag docker --storage local-lvm --cores 2 \
|
||||||
--memory 1024 --swap 256 --rootfs local-lvm:1,size=8G \
|
--memory 1024 --swap 256 --rootfs local-lvm:1,size=8G \
|
||||||
|
|||||||
Reference in New Issue
Block a user