Vagrant

VagrantとAnsible

仕事でサーバ構築をすることになりました。 APIサーバとして、Tomcat上でwebアプリケーションを動かさないといけない。 用意してもらったサーバに直接SSHで入ってセットアップしてもいいけど、 手探りでやったら不要なファイルとかできたらやだなあって感じ…

VirtualBox Guest Additions

Vagrantで開発環境をつくるときに、 共有フォルダが見れないとか、仮想マシンから共有フォルダが見れないときは、 VirtualBox Guest Additionsのバージョンに原因があったりする。 VirtualBox Guest Additions とは、VirtualBox 上に作成したゲストマシンに…

Vagrant was unable to mount VirtualBox shared folders. This is usually because the filesystem "vboxsf" is not available.

VagrantでOSをcentos/7にすると以下のエラーが出た。 Vagrant was unable to mount VirtualBox shared folders. This is usually because the filesystem "vboxsf" is not available. This filesystem is made available via the VirtualBox Guest Additions…

Vagrant ポートフォワードでCentOS7.2-Docker上のMySQLサーバに接続できない

VagrantからCentOSを起動し、プロビジョンでansibleを実行し、 Docker-ComposeでMySQLサーバを起動するVagrantファイル一式を作った。 が、ホストOS(MacまたはWindows)から MySQLサーバにmysqlコマンドを使って接続しようと試みたが 以下のエラーが出てアク…