LoginSignup
3
2

More than 5 years have passed since last update.

RaspberryPiをArchLinuxで使う場合の初期設定

Last updated at Posted at 2014-02-09

パッケージ最新化

pacman -Syu
reboot

ロケール設定

nano /etc/locale.gen
/etc/locale.gen

#ja_JP.UTF-8 UTF-8 コメントを外す
ja_JP.UTF-8 UTF-8

英語しか使わない場合

en_US.UTF-8 UTF-8
locale-gen
echo LANG=ja_JP.UTF-8 > /etc/locale.conf
export LANG=ja_JP.UTF-8

ホスト名の設定

echo newhostname > /etc/hostname

タイムゾーンの設定

rm /etc/localtime
ln -s /usr/share/zoneinfo/Asia/Tokyo /etc/localtime

以下でもOK.

ln -s /usr/share/zoneinfo/Japan /etc/localtime

(ルートの)パスワード変更

passwd

ユーザ追加

pacman -S adduser
adduser
3
2
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
3
2