VyOS - yusukew62/docs GitHub Wiki
VyOS
インストール
VyOSのサイトからISOをダウンロード
ESXiのストレージ領域にアップロード
Debianベースで仮想マシンを作成
初期ID・PWは vyos/vyos
初期設定
編集モード
# configure
eth0へIPアドレスの割当
# set interfaces ethernet eth0 address 192.168.1.38/24
SSHログイン設定
# set service ssh
設定の確認、保存
# show
# commit
これでSSHクライアントからssh接続でログインできるようになった
[wmba13@yusukew62 ~]$ ssh vyos@vyos01
Welcome to VyOS
vyos@vyos01's password:
Linux vyos 3.13.11-1-amd64-vyos #1 SMP Wed Aug 12 02:08:05 UTC 2015 x86_64
Welcome to VyOS.
This system is open-source software. The exact distribution terms for
each module comprising the full system are described in the individual
files in /usr/share/doc/*/copyright.
Last login: Mon Feb 20 19:27:05 2017 from 192.168.1.3
インストール
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 1000MB 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
Partition (Auto/Parted/Skip) [Auto]:
I found the following drives on your system:
sda 34359MB
Install the image on? [sda]:
This will destroy all data on /dev/sda.
Continue? (Yes/No) [No]: yes
How big of a root partition should I create? (1000MB - 34359MB) [34359]MB:
Creating filesystem on /dev/sda1: OK
Done!
Mounting /dev/sda1...
What would you like to name this image? [1.1.7]:
OK. This image will be named: 1.1.7
Copying squashfs image...
Copying kernel and initrd images...
Done!
I found the following configuration files:
/config/config.boot
/opt/vyatta/etc/config.boot.default
Which one should I copy to sda? [/config/config.boot]:
Copying /config/config.boot to sda.
Enter password for administrator account
Enter password for user 'vyos':
Retype password for user 'vyos':
I need to install the GRUB boot loader.
I found the following drives on your system:
sda 34359MB
Which drive should GRUB modify the boot partition on? [sda]:
Setting up grub: OK
Done!
メディアをアンマウントする前にpoweroffする
vyos@vyos:~$ poweroff
Proceed with poweroff? (Yes/No) [No] yes
Broadcast message from root@vyos (pts/0) (Mon Feb 20 19:32:39 2017):
The system is going down for system halt NOW!
Connection to vyos01 closed by remote host.
Connection to vyos01 closed.