Update docs/tech_docs/OpenWrt.md
This commit is contained in:
@@ -135,18 +135,18 @@ passwd
|
||||
pct console 300
|
||||
```
|
||||
|
||||
```bash
|
||||
apk update
|
||||
```
|
||||
|
||||
```bash
|
||||
apk upgrade
|
||||
```
|
||||
|
||||
```bash
|
||||
sed -i '/^#.*community/s/^#//' /etc/apk/repositories
|
||||
```
|
||||
|
||||
```bash
|
||||
apk update && apk upgrade
|
||||
```
|
||||
|
||||
```bash
|
||||
reboot
|
||||
```
|
||||
|
||||
```bash
|
||||
setup-interfaces
|
||||
```
|
||||
@@ -160,32 +160,19 @@ service networking restart
|
||||
apk add bash curl wget vim htop qemu-guest-agent
|
||||
```
|
||||
|
||||
```bash
|
||||
apk add build-base gcc abuild binutils binutils-doc gcc-doc
|
||||
```
|
||||
|
||||
## Notes
|
||||
|
||||
```bash
|
||||
passwd
|
||||
```
|
||||
|
||||
```bash
|
||||
apk update && apk upgrade
|
||||
```
|
||||
|
||||
```bash
|
||||
apk add vim
|
||||
```
|
||||
|
||||
```bash
|
||||
cat /etc/apk/repositories
|
||||
```
|
||||
|
||||
## Build Tools
|
||||
```bash
|
||||
apk add build-base gcc abuild binutils binutils-doc gcc-doc
|
||||
```
|
||||
|
||||
```bash
|
||||
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
|
||||
```
|
||||
|
||||
# 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:
|
||||
```
|
||||
adduser -s /bin/ash medusa
|
||||
|
||||
Reference in New Issue
Block a user