LoginSignup
1
3

More than 3 years have passed since last update.

Windows Subsystem for Linux の日本語化

Last updated at Posted at 2018-03-13

日本語化とユーザー環境のカスタマイズの備忘録

1.日本語化等の実施

# --- Linuxモジュールの最新化 -------------------------------------------------
  sudo apt-get update
  sudo apt-get -y upgrade
  sudo apt-get -y dist-upgrade
# --- 追加モジュールのインストール --------------------------------------------
  sudo apt-get -y install task-japanese ssh curl
# --- 日本語環境の設定 --------------------------------------------------------
  sudo dpkg-reconfigure locales
  sudo update-locale --reset
  sudo update-locale LANG=ja_JP.UTF-8 LANGUAGE=ja_JP.UTF-8
# --- Windows共有フォルダのマウント先の作成 -----------------------------------
  sudo mkdir /mnt/share

2.ユーザー環境のカスタマイズ

echo -e "set number\nset tabstop=4\nset list\nset listchars=tab:>_" > ~/.vimrc
echo -e "location\nprogress-bar\nremote-time\nshow-error" > ~/.curlrc

3.SSHの起動

sudo /etc/init.d/ssh start

4.Windows共有フォルダのマウント例

sudo mount -t drvfs '\\server\share' /mnt/share
1
3
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
1
3