#author("2025-11-26T05:50:43+00:00","default:iseki","iseki")
** Ubuntu Server [#zb515981]
#author("2025-11-26T05:52:12+00:00","default:iseki","iseki")
** Ubuntu 

- [[Ubuntu Server]]

*** Install
**** 日本語メニュー無し.
- apt install language-pack-ja
- update-locale LANG=ja_JP.UTF-8

**** 日本語キーボード
- dpkg-reconfigure keyboard-configuration
-- Keyboard model → Generic 105-key PC
-- Country of origin for the keyboard → Japanese
-- Keyboard layout → Japanese – OADG 109A
-- 後は適当
*** Network 設定 [#v714fc58]
**** IP [#va49525a]
- /etc/network/interface
 # The primary network interface
 auto eth0
 #iface eth0 inet dhcp
 iface eth0 inet static
        address 202.26.159.226
        netmask 255.255.255.240
        gateway 202.26.159.238
- # /etc/init.d/networking restart

**** DNS [#pea7ae92]
- /etc/resolvconf/resolv.conf.d/base
 nameserver 202.26.159.140


*** [[IPv6]] を止める [#h0c5e2bb]
-  /etc/sysctl.conf
 net.ipv6.conf.all.disable_ipv6 = 1
 net.ipv6.conf.default.disable_ipv6 = 1
- sysctl -p


*** CLI [#cc1272ee]
**** キーボード [#h987ba50]
- 日本語キーボードにする
-- dpkg-reconfigure keyboard-configuration
--- Generic 105-key (Intl) PC → Japanese → Japanese → The default for the keyboard layout → No compose key → Yes
-- reboot

**** 文字化け [#v47bcbcb]
- ubuntu のCLIコンソールは日本語対応していないらいい
-- LANG を C にする.export LANG=C



*** [[JunkBox_Lib]] [#x683f290]
- apt-get install g++
- apt-get install libssl-dev
- apt-get install libjpeg-dev

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 ページ一覧 検索 最終更新   ヘルプ   最終更新のRSS