refine doc; add more deploy instructions
This commit is contained in:
29
deploy/centos.md
Normal file
29
deploy/centos.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# Deploy redroid on CentOS
|
||||
```
|
||||
## use custom 5.10 kernel
|
||||
|
||||
### enable following kernel features
|
||||
|
||||
# codec2 required, can use ION for legacy kernel
|
||||
CONFIG_DMABUF_HEAPS=y
|
||||
CONFIG_DMABUF_HEAPS_SYSTEM=y
|
||||
|
||||
# optional, can use memfd
|
||||
CONFIG_STAGING=y
|
||||
CONFIG_ASHMEM=y
|
||||
|
||||
# binderfs required
|
||||
CONFIG_ANDROID=y
|
||||
CONFIG_ANDROID_BINDER_IPC=y
|
||||
CONFIG_ANDROID_BINDERFS=y
|
||||
CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
|
||||
|
||||
|
||||
### running redroid
|
||||
docker run -itd --rm --privileged \
|
||||
--pull always \
|
||||
-v ~/data11:/data \
|
||||
-p 5555:5555 \
|
||||
--name redroid11 \
|
||||
redroid/redroid:11.0.0-latest
|
||||
```
|
||||
Reference in New Issue
Block a user