#author("2025-12-01T14:25:35+00:00","default:iseki","iseki")
#author("2025-12-01T14:25:44+00:00","default:iseki","iseki")
* Ubuntu Server [#zb515981]
- [[Ubuntu Server]]

** Install

*** 日本語メニュー無し
- キーボード設定はある.


*** minimized Install
- Choose the base for the installation. で Ubuntu Server (minimized) を選択



*** インストール後
**** LANG
- 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
-- 後は適当
** Setup (メモ)
** 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

- 以下で上手く行くかもしれない(未確認)
-- apt install language-pack-ja
-- update-locale LANG=ja_JP.UTF-8

** Packages
*** ip 
- iproute2
*** sshd
- openssh-server
-- systemctl enable ssh

** ETC.

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

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