[modify] add openwrt to restore and gather all tasks which need to execute to init.sh
This commit is contained in:
@ -291,6 +291,26 @@ docker network create -d bridge --subnet=10.10.0.0/24 --gateway 10.10.0.1 inner
|
||||
# php artisan koel:sync
|
||||
# /app/Models/User.php --> sprintf('https://www.rustle.cc/assets/img/logo.jpg', md5($this->email))
|
||||
|
||||
# docker - openwrt
|
||||
# docker-compose pull
|
||||
# docker-compose up -d
|
||||
# docker exec -it openwrt bash
|
||||
# ip link set enp1s0 promisc on
|
||||
# ip link set enp2s0 promisc on
|
||||
# docker exec -it OpenWRT bash
|
||||
# vim /etc/config/network
|
||||
# config interface 'lan'
|
||||
# option ifname 'eth0'
|
||||
# option proto 'static'
|
||||
# option netmask '255.255.255.0'
|
||||
# option gateway '192.168.0.1'
|
||||
# option ip6assign '60'
|
||||
# option dns ' 8.8.8.8 114.114.114.114'
|
||||
# option ipaddr '192.168.0.254'
|
||||
# option broadcast '192.168.0.255'
|
||||
# /etc/init.d/network restart
|
||||
# modify the above according to different situations
|
||||
|
||||
# =============================================================================================================
|
||||
# configure cloudreve after mysql docker is up
|
||||
echo -e "\n\e[1;34mRestore cloudreve env...\e[0m\n"
|
||||
|
Reference in New Issue
Block a user