Warning: Declaration of FeedWordPie_Item::get_id($hash = false) should be compatible with SimplePie_Item::get_id($hash = false, $fn = 'md5') in /home/nekyo/nekyo.wp.xdomain.jp/public_html/wp-content/plugins/feedwordpress/feedwordpie_item.class.php on line 0

Warning: Declaration of FeedWordPress_Parser::parse(&$data, $encoding) should be compatible with SimplePie_Parser::parse(&$data, $encoding, $url = '') in /home/nekyo/nekyo.wp.xdomain.jp/public_html/wp-content/plugins/feedwordpress/feedwordpress_parser.class.php on line 0

Warning: Cannot modify header information - headers already sent by (output started at /home/nekyo/nekyo.wp.xdomain.jp/public_html/wp-content/plugins/feedwordpress/feedwordpie_item.class.php:0) in /home/nekyo/nekyo.wp.xdomain.jp/public_html/wp-includes/feed-rss2.php on line 8
Vagrant – 日々のできごと http://nekyo.wp.xdomain.jp きがついたこと、みたこと、やったこと、かんじたこと Wed, 05 Apr 2017 03:19:15 +0000 ja hourly 1 VMware vs VirtualBox http://nekyo.wp.xdomain.jp/2015/12/08/vmware-vs-virtualbox/ http://nekyo.wp.xdomain.jp/2015/12/08/vmware-vs-virtualbox/#respond Tue, 08 Dec 2015 07:34:08 +0000 http://nekyo.wp.xdomain.jp/?p=1442 続きを読む VMware vs VirtualBox ]]> ここのところ、開発環境の構築・共有を簡単にする Vagrant が便利で、CentOS6 や CentOS7 も vagrant up で構築できるので、使っていたんだけれど、
あれはベースが VirtualBox !!
最近、Asterisk の評価をするために VirtualBox に環境を作ったところ、遅い遅い(^^;

VMware の方が圧倒的に、体感的に早かった。

なので、一旦 Vagrant は休止だな。ちょっとしばらくは VMware で行こう。

ゲッ! Docker も VirtualBox 使ってる!?

その後の顛末

どうやら VirtualBox は初期設定状態だと遅いらしい。
先ず、メモリーは緑色の部分まで目いっぱい取る。(ホストOSとの兼ね合いを考慮する。)
後は、Guest additions というのをインストールすれば良いらしい。

]]>
http://nekyo.wp.xdomain.jp/2015/12/08/vmware-vs-virtualbox/feed/ 0
Vagrant マウントエラー http://nekyo.wp.xdomain.jp/2015/11/18/vagrant-%e3%83%9e%e3%82%a6%e3%83%b3%e3%83%88%e3%82%a8%e3%83%a9%e3%83%bc/ http://nekyo.wp.xdomain.jp/2015/11/18/vagrant-%e3%83%9e%e3%82%a6%e3%83%b3%e3%83%88%e3%82%a8%e3%83%a9%e3%83%bc/#respond Wed, 18 Nov 2015 01:49:35 +0000 http://nekyo.wp.xdomain.jp/?p=1434 続きを読む Vagrant マウントエラー ]]> Vagrant を起動しようとするとマウントエラーになる場合がある。

Failed to mount folders in Linux guest. This is usually because
the "vboxsf" file system is not available. Please verify that
the guest additions are properly installed in the guest and
can work properly. The command attempted was:

mount -t vboxsf -o uid=`id -u vagrant`,gid=`getent group vagrant | cut -d: -f3`
vagrant /vagrant
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` vagrant /vagrant

The error output from the last command was:

/sbin/mount.vboxsf: mounting failed with the error: No such device

解決方法

Windows のコンソールのプロンプトが出た状態で

vagrant ssh -c 'sudo /etc/init.d/vboxadd setup;exit'

を実行。

※この前久々にCentOS 7.2 でやってみたら場所が違っていた。(バージョンは都度変わるので注意)

sudo /opt/VBoxGuestAdditions-5.0.20/init/vboxadd setup

sshで一回ログインして探しながら実行した方がいいかもしれない。

Removing existing VirtualBox non-DKMS kernel modules [ OK ]
Building the VirtualBox Guest Additions kernel modules
Building the main Guest Additions module [ OK ]
Building the shared folder support module [ OK ]
Building the OpenGL support module [失敗]
(Look at /var/log/vboxadd-install.log to find out what went wrong)
Doing non-kernel setup of the Guest Additions [ OK ]

vagrant再起動

これでエラーは解消される。

vagrant halt
vagrant up

]]>
http://nekyo.wp.xdomain.jp/2015/11/18/vagrant-%e3%83%9e%e3%82%a6%e3%83%b3%e3%83%88%e3%82%a8%e3%83%a9%e3%83%bc/feed/ 0