Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/view-tokyo/www/etc/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340
Windows + Vagrant で Ubuntu Desktopを構築した時にハマったのでメモ
Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/view-tokyo/www/etc/wp-content/plugins/ultimate-google-analytics/ultimate_ga.php on line 524

*

Windows + Vagrant で Ubuntu Desktopを構築した時にハマったのでメモ

公開日: : その他


Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/view-tokyo/www/etc/wp-content/plugins/ultimate-google-analytics/ultimate_ga.php on line 524

WindowsのPCにVagrantを入れ、Ubuntuのデスクトップ環境を構築しようとした時にハマったのでメモしておきます。

先ずやること。

HashiCorpのサイトでアカウントを登録。
※良く見かける、Vagrantbox.esのUbuntu用 Boxファイルだと何故か上手く起動できませんでした。

vagrant login
→HashiCorpで登録した、アカウント+パスを入力
※登録後メールが届くので、そこでConfirmしないと、これまたエラーがでます。

vagrant box add https://atlas.hashicorp.com/ubuntu/boxes/trusty64

しばらくずっと待ってます。

終わったら、以下のコマンド

vagrant up

Vagrantfileでネットワークの設定をしなかったのですが、Ubuntu側から外部にpingが届きました。

外部にネットが届いたので、以下はUbuntu側から以下のコマンドです。

sudo apt-get update
sudo apt-get install ubuntu-desktop
startx

一応立ち上がったものの、のっぺりしたデスクトップでした。
右クリックして無理やりメニューも出てきましたが、ここは一旦シャットダウンしました。

以下のサイトを参考に、足りないものをインストール。
VagrantをGUIで立ち上げる(Ubuntu)

私は以下のコマンドを実行しました。
sudo apt-get install xfce4
sudo apt-get install gnome-shell
sudo apt-get install gdm

そして、Vagrantを再起動。
一応立ち上がるものの、挙動がおかしい。FireFoxは立ち上げるとすぐ落ちるし・・
調べました。

Windows側にできた、Vagrantfileの以下の部分を変更しました。

config.vm.provider “virtualbox” do |vb|
# # Display the VirtualBox GUI when booting the machine
vb.gui = true
#
# # Customize the amount of memory on the VM:
vb.memory = “10240”
end

これで、さくさくUbuntuのデスクトップが動く様になりました!

後1個ハマった事。
UbuntuにChromeをインストールしようとしても、Ubuntu Software CenterにUbuntuのパスワードを要求され、インストールすることが出来ない!

XTermを立ち上げて以下を実行。
su –
passwd ubuntu
→任意のパスワードを入力

これで、先ほど入力したパスワードで、Ubuntu Desktopに色々アプリをインストール出来るようになりました。

Vagrant 快適すぎるっ!

ad



関連記事

2年以上肌身離さず使い続けていたiPhoneが、Softbankのミスにより『不正契約・不正取得した端末』にされていた件

iPone6 64 GB Goldを購入し、中古屋に売却しようとしたら、持っていたiPhone6が『

記事を読む

Sublime Text3の「Package Control」のインストールにエラーが出た時の対処法

PCの交換をしたので、Sublime Text3を入れなおしていました。 デフォルトのインスト

記事を読む

no image

System Check マルウェア

PC を立ち上げると、急に見たことも無い、システムチェックが走り、 Disk のエラーだの、メモリの

記事を読む

SoftbankでiPhone6一括購入したのに、何故か分割購入になっていた件

iPhone6をソフトバンクで一括で購入したのに、何故か分割購入扱いされたので、経緯を纏めてみました

記事を読む

ANTEC EA-550 PLATINUM

ASUS P8B75-M SSD起動でトラブった

ASUSのP8B75-M というM/Bを使用しています。SSDの設定でトラブったのでメモしました。

記事を読む

no image

サクラエディタの対応する括弧ショートカットでハマった

サクラエディタの便利なショートカットで、対応する括弧にジャンプする事ができます。 サクラエディタのダ

記事を読む

no image

ソニー、ミラーレス一眼の新製品「NEX-5T」を発表

ソニー、ミラーレス一眼の新製品「NEX-5T」を発表 7月位から噂になってた、NEX5Tの発表があ

記事を読む

no image

格安SIM比較

「楽天ブロードバンド LTE」、月額1960円で2GBまでの新プラン という記事がでていたのと、そろ

記事を読む

ANTEC EA-550 PLATINUM

ATX電源を交換してみた(AQTIS-550FS → ANTEC EA-550 PLATINUM)

3年前位に購入した、ATX電源を交換しました。 当時は、ヨドバシカメラでおすすめされた、AQTIS

記事を読む

SONY 200mm

TAMRON 18-200mm F/3.5-6.3 Di III VC Model B011 購入

初代 Nex5 用に、TAMRON の TAMRON 18-200mm F/3.5-6.3 Di I

記事を読む

ad



Message

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

ad



2年以上肌身離さず使い続けていたiPhoneが、Softbankのミスにより『不正契約・不正取得した端末』にされていた件

iPone6 64 GB Goldを購入し、中古屋に売却しようとしたら

SoftbankでiPhone6一括購入したのに、何故か分割購入になっていた件

iPhone6をソフトバンクで一括で購入したのに、何故か分割購入扱いさ

Windows + Vagrant で Ubuntu Desktopを構築した時にハマったのでメモ

WindowsのPCにVagrantを入れ、Ubuntuのデスクトップ

三井住友銀行に口座を持ってないのに、パスワードの更新を求められた件

SMSのメッセージに、こんなのが届きました。 SMS[/cap

Sublime Text3の「Package Control」のインストールにエラーが出た時の対処法

PCの交換をしたので、Sublime Text3を入れなおしていました

→もっと見る


Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/view-tokyo/www/etc/wp-content/plugins/ultimate-google-analytics/ultimate_ga.php on line 524

Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/view-tokyo/www/etc/wp-content/plugins/ultimate-google-analytics/ultimate_ga.php on line 524

Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/view-tokyo/www/etc/wp-content/plugins/ultimate-google-analytics/ultimate_ga.php on line 524

Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/view-tokyo/www/etc/wp-content/plugins/ultimate-google-analytics/ultimate_ga.php on line 524
PAGE TOP ↑

Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/view-tokyo/www/etc/wp-content/plugins/ultimate-google-analytics/ultimate_ga.php on line 524