LoginSignup
0
0

More than 3 years have passed since last update.

Ubuntu on Windows10を使ってみる

Last updated at Posted at 2018-05-15

取り急ぎ対処方法をメモ

インストール時エラーへの対処

インストールしてすぐ使おうとすると、エラーが出て萎えた。以下の方法で解決。

ubuntu_error.png

  • Powershellを管理者権限で実行
  • 以下のコマンドを入力し、再度Ubuntuを実行すると解決
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

Windowsフォルダの設定

Ubuntu側からWindows側のフォルダにアクセスする

# Cドライブを指定する場合
cd /mnt/c/

デスクトップ環境の構築

下記参照で簡単にできた
https://qiita.com/__cooper/items/76a00c6f5d43891aa161

必要なアプリのインストール

Ximg

下記サイトから入手(通常はXming-mesaを選択)
http://www.straightrunning.com/XmingNotes/

Ubuntu側のパッケージをインストール

sudo aptitude install --without-reccomends lxde fonts-umeplus fonts-inconsolata

補足:プロキシ設定

会社などで使用しようとすると、プロキシではねられる。下記の環境変数を追加

export http_proxy=http://proxy.hogehoge:8080
export https_proxy=$http_proxy

注意:aptを使用する場合、Eオプションを追加しないと環境変数を引き継いでくれないため注意(https://qiita.com/showsuzu/items/9ee031208d38ff8ac889)

sudo -E apt-get update

参考

Microsoft Community
https://answers.microsoft.com/en-us/insider/forum/insider_wintp-insider_store-insiderplat_pc/problems-installing-ubuntu-from-window-store-error/920177f9-732d-4b5c-b865-4a55aa7f7d2

proxy環境下の設定(ubuntu 14.04)
https://qiita.com/showsuzu/items/9ee031208d38ff8ac889

0
0
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
0
0