Update docs/tech_docs/OpenWrt.md
This commit is contained in:
@@ -135,18 +135,18 @@ passwd
|
|||||||
pct console 300
|
pct console 300
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
|
||||||
apk update
|
|
||||||
```
|
|
||||||
|
|
||||||
```bash
|
|
||||||
apk upgrade
|
|
||||||
```
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sed -i '/^#.*community/s/^#//' /etc/apk/repositories
|
sed -i '/^#.*community/s/^#//' /etc/apk/repositories
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
apk update && apk upgrade
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
reboot
|
||||||
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
setup-interfaces
|
setup-interfaces
|
||||||
```
|
```
|
||||||
@@ -160,32 +160,19 @@ service networking restart
|
|||||||
apk add bash curl wget vim htop qemu-guest-agent
|
apk add bash curl wget vim htop qemu-guest-agent
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
|
||||||
apk add build-base gcc abuild binutils binutils-doc gcc-doc
|
|
||||||
```
|
|
||||||
|
|
||||||
## Notes
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
passwd
|
passwd
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
apk update && apk upgrade
|
apk update && apk upgrade
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
|
||||||
apk add vim
|
|
||||||
```
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cat /etc/apk/repositories
|
cat /etc/apk/repositories
|
||||||
```
|
```
|
||||||
|
|
||||||
## Build Tools
|
|
||||||
```bash
|
|
||||||
apk add build-base gcc abuild binutils binutils-doc gcc-doc
|
|
||||||
```
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sed -i '/^#.*community/s/^#//' /etc/apk/repositories
|
sed -i '/^#.*community/s/^#//' /etc/apk/repositories
|
||||||
```
|
```
|
||||||
@@ -204,6 +191,11 @@ Uncomment the line for the community repository, then save and exit.
|
|||||||
apk add qemu-guest-agent htop docker curl wget iperf3 sudo
|
apk add qemu-guest-agent htop docker curl wget iperf3 sudo
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Build Tools
|
||||||
|
```bash
|
||||||
|
apk add build-base gcc abuild binutils binutils-doc gcc-doc
|
||||||
|
```
|
||||||
|
|
||||||
4. Create a system user and add them to the docker group and sudoers:
|
4. Create a system user and add them to the docker group and sudoers:
|
||||||
```
|
```
|
||||||
adduser -s /bin/ash medusa
|
adduser -s /bin/ash medusa
|
||||||
|
|||||||
Reference in New Issue
Block a user