LoginSignup
4
4

More than 5 years have passed since last update.

VyOSをVirtualboxへインストール

Last updated at Posted at 2015-12-29

やりたいこと

Debian LinuxをベースとしたオープンソースOSのVyOSを自分のPC上で稼働させたいと思います.
クラウド上のVyattaの設定をする前に自分の環境でいろいろ試してみる用です.

isoファイルのダウンロード

こちらからisoファイルをダウンロードします
http://vyos.net/wiki/Main_Page

今回は「Physical and virtual 64-bit」を選択します
http://mirror.vyos.net/iso/release/1.1.6/vyos-1.1.6-amd64.iso
スクリーンショット 2015-12-29 13.25.39.png

サイズは約250MBくらいです
推奨システム要件は「512MB RAM and 2GB storage」なのでVirtualBoxにはこれを指定してあげれば大丈夫です

Virtualboxへのインストール

新規から「Linux-Debian-64bit」を選択し、isoから起動させます
username:vyos
password:vyos
でログインします

インストールには「install image」「install system」の2つのコマンドがありますが、「The image install is the recommended installation method for VyOS」とあるので
install imageを実行して、インストールします
(詳しくは http://vyos.net/wiki/User_Guide#Installation を参照)
Continue? (Yes/No) [No]: Yes ←他はenterで問題ないですが、これだけは入力しましょう

インストールができたら、poweroffし、isoをアンマウントして再度起動すると、VyOSが起動します
スクリーンショット 2015-12-29 13.33.19.png

試しに
show configrationと打つと設定一覧が表示されます
pwdと打つと「/home/vyos」と表示されます
find / -name ‘* easy-rsa *’と打つとOpenVPN関連のフォルダがあることも確認できます
スクリーンショット 2015-12-29 13.44.28.png

cdやlsコマンドも普通のLinux同様に使えますね

参考リンク
http://fujitea.no-ip.info/?p=716

4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4