[mmodify] add gem source in China, and add more info about openwrt
This commit is contained in:
parent
ea87853a7b
commit
15362bfeea
@ -242,6 +242,8 @@ systemctl start nginx.service
|
||||
# =============================================================================================================
|
||||
# install jekyll
|
||||
echo -e "\n\e[1;34mInstall jekyll blog env...\e[0m\n"
|
||||
gem sources --add https://mirrors.tuna.tsinghua.edu.cn/rubygems/ --remove https://rubygems.org/
|
||||
gem sources -l
|
||||
gem install jekyll jekyll-paginate
|
||||
jekyll b -s /opt/apps/blog/ -d /opt/websites/blog/
|
||||
|
||||
@ -303,13 +305,16 @@ docker network create -d bridge --subnet=10.10.0.0/24 --gateway 10.10.0.1 inner
|
||||
# option ifname 'eth0'
|
||||
# option proto 'static'
|
||||
# option netmask '255.255.255.0'
|
||||
# option gateway '192.168.0.1'
|
||||
# option gateway '192.168.31.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'
|
||||
# option ipaddr '192.168.31.123'
|
||||
# option broadcast '192.168.31.255'
|
||||
# /etc/init.d/network restart
|
||||
# modify the above according to different situations
|
||||
# modify the above according to different situations, and the following is another method to do this
|
||||
# docker network create -d macvlan --subnet=192.168.31.1/24 --gateway=192.168.31.2 -o parent=enp1s0 net_openwrt
|
||||
# docker run -d --name openwrt --net net_openwrt --privileged --ip 192.168.183.123 sulinggg/openwrt:x86_64 /sbin/init
|
||||
# when using openwrt or another ethernet port, keep in mind that need to modify ip addr accordingly
|
||||
|
||||
# =============================================================================================================
|
||||
# configure cloudreve after mysql docker is up
|
||||
|
Loading…
x
Reference in New Issue
Block a user