Dell Wyse Thin Client 5070 に Ubuntu Server 24.04 LTS をインストール

# 作業メモ
- じゃん◯ら で Dell Wyse Thin Client 5070 が安売りされてたので Ubuntu 24.04 をインストールする
- バックアップサーバとして動かすとき、Raspberry Pi 5 にするか迷ったけどこっちの方が安い

| Item | Price |
|:-|:-|
| Wyse 5070 本体 | 5,990 |
| DDR4 SODIMM (4GB) | 580 |
| M.2 SATA SSD (128GB) | 1,480 |
| 合計 | 8,050 |



# HW セットアップ
1. ケースを開ける
    - 背面のネジを一本外して、3 辺を前面から離すように外す (画像のように外れる)
        - ![20250103_093229284_iOS_2.jpg](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/278058/a65a3d3a-603b-f2f4-e7f2-02cca3e70322.jpeg)
        - ![20250103_093402537_iOS.jpg](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/278058/9433f7d7-c7ff-c813-c4b6-75558d3cc471.jpeg)
2. SSD とメモリを刺す
    - メモリは DDR4 SODIMM
    - SSD は M.2 SATA SSD
        - SSD のマザボ側台座は案の定無かった
        - 規格は `M2L3.5`
    - ![20250103_093517275_iOS_2.jpg](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/278058/69735daa-1082-5379-1536-4042a5195b7a.jpeg)
3. ケースを閉じる


# SW セットアップ
1. Ubuntu 24.04 LTS を Rufus で USB メモリに焼く
2. 各種セットアップ後、キーボードとモニタを接続して起動
3. F2 キーを連打して UEFI に入る
    - ![20250103_101529704_iOS_2.jpg](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/278058/90831010-2a91-b0fd-67ab-73f852034152.jpeg)
4. `General > Boot Sequence` で `Add Boot Option` を選択して USB メモリを Boot Option に入れる
    - ![20250103_101703993_iOS_2.jpg](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/278058/a0e5a637-75d6-1140-7298-6956c3aed499.jpeg)
5. `System Configuration > USB Configuration` で USB Boot `Enable USB Boot Support` を有効化する
    - ![20250103_101815586_iOS_2.jpg](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/278058/a0d3cd3a-8d45-0e95-ab04-be8e17b2b063.jpeg)
6. `Apply` 後、F10 で再起動すると見慣れたインストーラーが起動するので、設定して Reboot
7. Reboot 後、F2 連打で UEFI に入ると Ubuntu が Boot Option に設定されているのが見える
    - ![20250103_102957456_iOS_2.jpg](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/278058/1872e840-d2ab-5011-5ee3-cae180a51237.jpeg)

# 動作確認

## uname -a

```sh
$ uname -a
Linux wyse5070 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec  5 13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
```

## cat /etc/os-release

```sh
$ cat /etc/os-release 
PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
```


## lscpu

```sh
$ lscpu
Architecture:             x86_64
  CPU op-mode(s):         32-bit, 64-bit
  Address sizes:          39 bits physical, 48 bits virtual
  Byte Order:             Little Endian
CPU(s):                   4
  On-line CPU(s) list:    0-3
Vendor ID:                GenuineIntel
  Model name:             Intel(R) Celeron(R) J4105 CPU @ 1.50GHz
    CPU family:           6
    Model:                122
    Thread(s) per core:   1
    Core(s) per socket:   4
    Socket(s):            1
    Stepping:             1
    CPU(s) scaling MHz:   51%
    CPU max MHz:          2500.0000
    CPU min MHz:          800.0000
    BogoMIPS:             2995.20
    Flags:                fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_k
                          nown_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave rdrand lahf_lm 3dnowprefetch cpuid_fault cat_l2 pti cdp_l2 ssbd ibrs ibpb stibp ibrs_enhanced tpr_s
                          hadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust smep erms mpx rdt_a rdseed smap clflushopt intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts vnmi umip rdpid md_clear arch_capabilities
Virtualization features:  
  Virtualization:         VT-x
Caches (sum of all):      
  L1d:                    96 KiB (4 instances)
  L1i:                    128 KiB (4 instances)
  L2:                     4 MiB (1 instance)
NUMA:                     
  NUMA node(s):           1
  NUMA node0 CPU(s):      0-3
Vulnerabilities:          
  Gather data sampling:   Not affected
  Itlb multihit:          Not affected
  L1tf:                   Not affected
  Mds:                    Not affected
  Meltdown:               Mitigation; PTI
  Mmio stale data:        Not affected
  Reg file data sampling: Mitigation; Clear Register File
  Retbleed:               Not affected
  Spec rstack overflow:   Not affected
  Spec store bypass:      Mitigation; Speculative Store Bypass disabled via prctl
  Spectre v1:             Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:             Mitigation; Enhanced / Automatic IBRS; IBPB conditional; RSB filling; PBRSB-eIBRS Not affected; BHI SW loop, KVM SW loop
  Srbds:                  Not affected
  Tsx async abort:        Not affected
```

## free

```sh
$ free -h
               total        used        free      shared  buff/cache   available
Mem:           7.6Gi       522Mi       6.5Gi       1.6Mi       789Mi       7.1Gi
Swap:          4.0Gi          0B       4.0Gi
```

## lshw

```sh
$ sudo lshw
wyse5070                    
    description: Desktop Computer
    product: Wyse 5070 Thin Client (080C)
    vendor: Dell Inc.
    serial: 6QH9MW2
    width: 64 bits
    capabilities: smbios-3.2.1 dmi-3.2.1 smp vsyscall32
    configuration: boot=normal chassis=desktop family=Wyse Thin Client 5000 Series sku=080C uuid=4c4c4544-0051-4810-8039-b6c04f4d5732
  *-core
       description: Motherboard
       product: 060J9C
       vendor: Dell Inc.
       physical id: 0
       version: A00
       serial: /6QH9MW2/CNWSC000390015/
     *-firmware
          description: BIOS
          vendor: Dell Inc.
          physical id: 0
          version: 1.21.0
          date: 11/17/2022
          size: 64KiB
          capacity: 10MiB
          capabilities: pci pnp upgrade shadowing cdboot bootselect edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb biosbootspecification netboot uefi
     *-memory
          description: System Memory
          physical id: b
          slot: System board or motherboard
          size: 8GiB
        *-bank:0
             description: SODIMM DDR4 Synchronous 2666 MHz (0.4 ns)
             product: KKN2NM-MIE
             vendor: Toshiba
             physical id: 0
             serial: 11762122
             slot: SODIMM1
             size: 4GiB
             width: 64 bits
             clock: 2666MHz (0.4ns)
        *-bank:1
             description: SODIMM DDR4 Synchronous 3200 MHz (0.3 ns)
             product: HMA851S6DJR6N-XN
             vendor: SK_Hynix
             physical id: 1
             serial: 33131810
             slot: SODIMM2
             size: 4GiB
             width: 64 bits
             clock: 3200MHz (0.3ns)
     *-cache:0
          description: L1 cache
          physical id: 17
          slot: CPU Internal L1
          size: 224KiB
          capacity: 224KiB
          capabilities: synchronous internal write-back
          configuration: level=1
     *-cache:1
          description: L2 cache
          physical id: 18
          slot: CPU Internal L2
          size: 4MiB
          capacity: 4MiB
          capabilities: synchronous internal write-back unified
          configuration: level=2
     *-cpu
          description: CPU
          product: Intel(R) Celeron(R) J4105 CPU @ 1.50GHz
          vendor: Intel Corp.
          physical id: 19
          bus info: cpu@0
          version: 6.122.1
          slot: SOCKET 0
          size: 2396MHz
          capacity: 2700MHz
          width: 64 bits
          clock: 100MHz
          capabilities: lm fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp x86-64 constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave rdrand lahf_lm 3dnowprefetch cpuid_fault cat_l2 pti cdp_l2 ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust smep erms mpx rdt_a rdseed smap clflushopt intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts vnmi umip rdpid md_clear arch_capabilities cpufreq
          configuration: cores=4 enabledcores=4 microcode=66 threads=4
     *-pci
          description: Host bridge
          product: Gemini Lake Host Bridge
          vendor: Intel Corporation
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 03
          width: 32 bits
          clock: 33MHz
        *-generic:0 UNCLAIMED
             description: System peripheral
             product: Celeron/Pentium Silver Processor Gaussian Mixture Model
             vendor: Intel Corporation
             physical id: 0.3
             bus info: pci@0000:00:00.3
             version: 03
             width: 64 bits
             clock: 33MHz
             capabilities: msi pm cap_list
             configuration: latency=0
             resources: memory:a111c000-a111cfff
        *-display
             description: VGA compatible controller
             product: GeminiLake [UHD Graphics 600]
             vendor: Intel Corporation
             physical id: 2
             bus info: pci@0000:00:02.0
             logical name: /dev/fb0
             version: 03
             width: 64 bits
             clock: 33MHz
             capabilities: pciexpress msi pm vga_controller bus_master cap_list rom fb
             configuration: depth=32 driver=i915 latency=0 resolution=1920,1080
             resources: irq:125 memory:a0000000-a0ffffff memory:90000000-9fffffff ioport:f000(size=64) memory:c0000-dffff
        *-communication
             description: Communication controller
             product: Celeron/Pentium Silver Processor Trusted Execution Engine Interface
             vendor: Intel Corporation
             physical id: f
             bus info: pci@0000:00:0f.0
             version: 03
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi bus_master cap_list
             configuration: driver=mei_me latency=0
             resources: irq:124 memory:a111b000-a111bfff
        *-sata
             description: SATA controller
             product: Celeron/Pentium Silver Processor SATA Controller
             vendor: Intel Corporation
             physical id: 12
             bus info: pci@0000:00:12.0
             logical name: scsi0
             version: 03
             width: 32 bits
             clock: 66MHz
             capabilities: sata msi pm ahci_1.0 bus_master cap_list emulated
             configuration: driver=ahci latency=0
             resources: irq:122 memory:a1110000-a1111fff memory:a111a000-a111a0ff ioport:f090(size=8) ioport:f080(size=4) ioport:f060(size=32) memory:a1119000-a11197ff
           *-disk
                description: ATA Disk
                product: SanDisk SD9SN8W-
                physical id: 0.0.0
                bus info: scsi@0:0.0.0
                logical name: /dev/sda
                version: 5016
                serial: 191315445912
                size: 119GiB (128GB)
                capabilities: gpt-1.00 partitioned partitioned:gpt
                configuration: ansiversion=5 guid=53db34f5-df77-467e-a602-7ba5c4d36061 logicalsectorsize=512 sectorsize=512
              *-volume:0 UNCLAIMED
                   description: Windows FAT volume
                   vendor: mkfs.fat
                   physical id: 1
                   bus info: scsi@0:0.0.0,1
                   version: FAT32
                   serial: a9a9-95f9
                   size: 1073MiB
                   capacity: 1074MiB
                   capabilities: boot fat initialized
                   configuration: FATs=2 filesystem=fat
              *-volume:1
                   description: EXT4 volume
                   vendor: Linux
                   physical id: 2
                   bus info: scsi@0:0.0.0,2
                   logical name: /dev/sda2
                   logical name: /
                   version: 1.0
                   serial: 90ea5259-cb2e-47f4-80bb-822686c17c7f
                   size: 118GiB
                   capabilities: journaled extended_attributes large_files huge_files dir_nlink recover 64bit extents ext4 ext2 initialized
                   configuration: created=2025-01-03 10:23:24 filesystem=ext4 lastmountpoint=/ modified=2025-01-03 10:30:37 mount.fstype=ext4 mount.options=rw,relatime mounted=2025-01-03 10:30:38 state=mounted
        *-pci
             description: PCI bridge
             product: Gemini Lake PCI Express Root Port
             vendor: Intel Corporation
             physical id: 14
             bus info: pci@0000:00:14.0
             version: f3
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:120 ioport:e000(size=4096) memory:a1000000-a10fffff
           *-network
                description: Ethernet interface
                product: RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller
                vendor: Realtek Semiconductor Co., Ltd.
                physical id: 0
                bus info: pci@0000:01:00.0
                logical name: enp1s0
                version: 15
                serial: a4:bb:6d:1d:68:9b
                size: 1Gbit/s
                capacity: 1Gbit/s
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
                configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=6.8.0-51-generic duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.2.57 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
                resources: irq:22 ioport:e000(size=256) memory:a1004000-a1004fff memory:a1000000-a1003fff
        *-usb
             description: USB controller
             product: Celeron/Pentium Silver Processor USB 3.0 xHCI Controller
             vendor: Intel Corporation
             physical id: 15
             bus info: pci@0000:00:15.0
             version: 03
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi xhci bus_master cap_list
             configuration: driver=xhci_hcd latency=0
             resources: irq:121 memory:a1100000-a110ffff
           *-usbhost:0
                product: xHCI Host Controller
                vendor: Linux 6.8.0-51-generic xhci-hcd
                physical id: 0
                bus info: usb@1
                logical name: usb1
                version: 6.08
                capabilities: usb-2.00
                configuration: driver=hub slots=9 speed=480Mbit/s
              *-usb:0
                   description: USB hub
                   product: 4-Port USB 2.0 Hub
                   vendor: Generic
                   physical id: 1
                   bus info: usb@1:1
                   version: 1.41
                   capabilities: usb-2.10
                   configuration: driver=hub slots=4 speed=480Mbit/s
              *-usb:1
                   description: USB hub
                   product: 2-Port USB 2.0 Hub
                   vendor: Generic
                   physical id: 6
                   bus info: usb@1:6
                   version: 1.41
                   capabilities: usb-2.10
                   configuration: driver=hub slots=2 speed=480Mbit/s
           *-usbhost:1
                product: xHCI Host Controller
                vendor: Linux 6.8.0-51-generic xhci-hcd
                physical id: 1
                bus info: usb@2
                logical name: usb2
                version: 6.08
                capabilities: usb-3.00
                configuration: driver=hub slots=7 speed=5000Mbit/s
              *-usb:0
                   description: USB hub
                   product: 4-Port USB 3.0 Hub
                   vendor: Generic
                   physical id: 1
                   bus info: usb@2:1
                   version: 1.41
                   capabilities: usb-3.10
                   configuration: driver=hub slots=4 speed=5000Mbit/s
              *-usb:1
                   description: USB hub
                   product: 2-Port USB 3.0 Hub
                   vendor: Generic
                   physical id: 6
                   bus info: usb@2:6
                   version: 1.41
                   capabilities: usb-3.10
                   configuration: driver=hub slots=2 speed=5000Mbit/s
        *-generic:1
             description: Signal processing controller
             product: Celeron/Pentium Silver Processor I2C 4
             vendor: Intel Corporation
             physical id: 17
             bus info: pci@0000:00:17.0
             version: 03
             width: 64 bits
             clock: 33MHz
             capabilities: pm bus_master cap_list
             configuration: driver=intel-lpss latency=0
             resources: irq:31 memory:a1118000-a1118fff memory:a1117000-a1117fff
        *-generic:2
             description: Signal processing controller
             product: Celeron/Pentium Silver Processor I2C 7
             vendor: Intel Corporation
             physical id: 17.3
             bus info: pci@0000:00:17.3
             version: 03
             width: 64 bits
             clock: 33MHz
             capabilities: pm bus_master cap_list
             configuration: driver=intel-lpss latency=0
             resources: irq:34 memory:a1116000-a1116fff memory:a1115000-a1115fff
        *-generic:3
             description: MMC Host
             product: Celeron/Pentium Silver Processor SDA Standard Compliant SD Host Controller
             vendor: Intel Corporation
             physical id: 1c
             bus info: pci@0000:00:1c.0
             logical name: mmc0
             version: 03
             width: 64 bits
             clock: 33MHz
             capabilities: pm bus_master cap_list
             configuration: driver=sdhci-pci latency=0
             resources: irq:39 memory:a1114000-a1114fff memory:a1113000-a1113fff
           *-device
                description: SD/MMC Device
                product: DF4016
                vendor: Unknown (69)
                physical id: 1
                bus info: mmc@0:0001
                date: 11/2019
                serial: 2008764480
                capabilities: mmc
              *-interface:0
                   physical id: 1
                   logical name: /dev/mmcblk0rpmb
              *-interface:1
                   physical id: 2
                   logical name: /dev/mmcblk0
                   size: 15758000128
                   configuration: logicalsectorsize=512 sectorsize=512
        *-isa
             description: ISA bridge
             product: Celeron/Pentium Silver Processor LPC Controller
             vendor: Intel Corporation
             physical id: 1f
             bus info: pci@0000:00:1f.0
             version: 03
             width: 32 bits
             clock: 33MHz
             capabilities: isa bus_master
             configuration: latency=0
           *-pnp00:00
                product: PnP device PNP0c02
                physical id: 0
                capabilities: pnp
                configuration: driver=system
           *-pnp00:01
                product: PnP device PNP0501
                physical id: 1
                capabilities: pnp
                configuration: driver=serial
           *-pnp00:02
                product: PnP device PNP0c02
                physical id: 2
                capabilities: pnp
                configuration: driver=system
           *-pnp00:03
                product: PnP device PNP0c02
                physical id: 3
                capabilities: pnp
                configuration: driver=system
           *-pnp00:04
                product: PnP device PNP0b00
                physical id: 4
                capabilities: pnp
                configuration: driver=rtc_cmos
        *-serial
             description: SMBus
             product: Celeron/Pentium Silver Processor Gaussian Mixture Model
             vendor: Intel Corporation
             physical id: 1f.1
             bus info: pci@0000:00:1f.1
             version: 03
             width: 64 bits
             clock: 33MHz
             configuration: driver=i801_smbus latency=0
             resources: irq:20 memory:a1112000-a11120ff ioport:f040(size=32)
  *-input:0
       product: Power Button
       physical id: 1
       logical name: input0
       logical name: /dev/input/event0
       capabilities: platform
  *-input:1
       product: Power Button
       physical id: 2
       logical name: input1
       logical name: /dev/input/event1
       capabilities: platform
  *-input:2
       product: Video Bus
       physical id: 3
       logical name: input5
       logical name: /dev/input/event5
       capabilities: platform
  *-input:3
       product: Dell WMI hotkeys
       physical id: 4
       logical name: input6
       logical name: /dev/input/event6
       capabilities: platform
```