原料

VirtualBox 6.0.4
debian-live-9.8.0-amd64-xfce.iso

虚拟机设置

ROM: 32G
RAM: 10.8G
CPU: 4
网络: 桥接网卡

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

参考文档

https://lctt.github.io/LFS-BOOK/lfs-systemd/index.html
https://blog.51cto.com/9828355/2330677?source=dra
https://wenku.baidu.com/view/724ea118ff00bed5b9f31d92.html

宿主机设置

# 设置 root 密码
sudo passwd
# 切换至 root
su
# 使用阿里源
cd /etc/apt
mv sources.list.d/base.list{,.bak}
vi sources.list
    deb http://mirrors.aliyun.com/debian stretch main contrib non-free
    deb-src http://mirrors.aliyun.com/debian stretch main contrib non-free
    deb http://mirrors.aliyun.com/debian stretch-updates main contrib non-free
    deb-src http://mirrors.aliyun.com/debian stretch-updates main contrib non-free
    deb http://mirrors.aliyun.com/debian-security stretch/updates main contrib non-free
    deb-src http://mirrors.aliyun.com/debian-security stretch/updates main contrib non-free

# 更新并下载 ssh
apt update && apt install ssh
# 配置 ssh
vi /etc/ssh/sshd_config
    PermitRootLogin yes
    PasswordAuthentication yes

systemctl restart sshd

# 查看ip
ip addr

问题

6.9 glibc

UNSUPPORTED: elf/tst-audit10
UNSUPPORTED: elf/tst-avx512
XPASS: elf/tst-protected1a
XPASS: elf/tst-protected1b
FAIL: inet/tst-idna_name_classify
UNSUPPORTED: math/test-double-libmvec-alias-avx512
UNSUPPORTED: math/test-double-libmvec-alias-avx512-main
UNSUPPORTED: math/test-double-libmvec-sincos-avx512
UNSUPPORTED: math/test-float-libmvec-alias-avx512
UNSUPPORTED: math/test-float-libmvec-alias-avx512-main
UNSUPPORTED: math/test-float-libmvec-sincosf-avx512
UNSUPPORTED: misc/tst-pkey
FAIL: misc/tst-ttyname
UNSUPPORTED: nptl/test-cond-printers
UNSUPPORTED: nptl/test-condattr-printers
UNSUPPORTED: nptl/test-mutex-printers
UNSUPPORTED: nptl/test-mutexattr-printers
UNSUPPORTED: nptl/test-rwlock-printers
UNSUPPORTED: nptl/test-rwlockattr-printers
FAIL: nptl/tst-mutex10
UNSUPPORTED: nss/tst-nss-test3
UNSUPPORTED: resolv/tst-resolv-ai_idn
UNSUPPORTED: resolv/tst-resolv-ai_idn-latin1
FAIL: sunrpc/tst-udp-timeout
Summary of test results:
      4 FAIL
   5960 PASS
     18 UNSUPPORTED
     17 XFAIL
      2 XPASS
make[1]: *** [Makefile:405: tests] Error 1
make[1]: Leaving directory '/sources/glibc-2.29'
make: *** [Makefile:9: check] Error 2
扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄