Description: 赵阳的独立博客
blog (28659) html (17513) css (13178) html5 (12291) css3 (7483) 技巧 (162) yann (42) yc (28) ityc (3) yannchao (2)
这是一篇简短的文章,展示了如何构建自己的 VyOS LTS iso 映像。已经在 Debian Buster(Debian 10)通过测试!~
$ sudo apt-get update $ sudo apt-get install -y apt-transport-https ca-certificates curl gnupg2 software-properties-common $ curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - $ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" $ sudo apt-get update $ sudo apt-get install -y docker-ce $ sudo usermod -aG docker <Your username> 注:国内网络环境可参考 https://mirror.tuna.tsinghua.edu.cn/help/docker-ce/
vyos@vyos:~$ install image Welcome to the VyOS install program. This script will walk you through the process of installing the VyOS image to a local hard drive. Would you like to continue? (Yes/No) [Yes]: Yes Probing drives: OK Looking for pre-existing RAID groups...none found. The VyOS image will require a minimum 2000MB root. Would you like me to try to partition a drive automatically or would you rather partition it manually with parted? If you have already setup your partitions, you may skip this step