2019年12月

1.docker 安装wget -qO- get.docker.com | bash 2.下载 Ubuntu 16.04 镜像docker pull ubuntu:14.04.5 3.配置运行环境docker run -ti ubuntu:16.04 以下命令在docker中运行apt-get update apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git nano curl libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler sudo useradd -m openwrt passwd openwrt nano /etc/sudoers 添加:openwrt ALL=(ALL:ALL) mkdir -p /home/openwrt/openwrt apt-get clean exit 4.制作新的镜像docker ps -l 记下ID docker commit ID ubuntu/foropenwrt 5.重新按新镜像启动一个容器docker run -it -v --net=host --user=openwrt /home/user/openwrt:/home/openwrt/op

- 阅读剩余部分 -

1.下载rclone和winfsp,自行google。2.配置cmd中执行rclone config,按提示操作。3.挂载:新建批处理:startrclone.bat内容为:F:myapprclone-v1.50.2-windows-amd64rclone.exe mount onedrive:/ K: --cache-dir F:onedrivetemp --vfs-cache-mode writes &新建vbs脚本:rclone.vbs内容为:CreateObject("WScript.Shell").Run "cmd /c F:/myapp/startrclone.bat",

- 阅读剩余部分 -

1.设置IP 网关 DNSsudo nano /etc/network/interfaces# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 192.168.10.150 network 192.168.10.0 netmask 255.255.255.0 broadcast 192.168.10.255 gateway 192.168.10.10 dns-nameservers 192.168.10.10 2.查看IP 网关 DNS查看IP:ip addr 查看网关:route

- 阅读剩余部分 -