從Systemd(Systemctl)設置:

$ cp /usr/lib/systemd/system/serial-getty@.service /etc/systemd/system/serial-getty@ttyS0.service

吾給力 發表在 痞客邦 留言(0) 人氣()

CentOS 7 8 / Stream 8 9 調整 grub default 預設開機選項

Step 1: grubby --info=ALL 列舉目前所有的選項

吾給力 發表在 痞客邦 留言(0) 人氣()

近期接到一個新的任務,要把第三方管理PXE/DHCP/HTTP/DNS的套件Cobbler Setup起來
,起因是美國Team分不清楚Cobbler其實就是Linux原生的PXE

文章標籤

吾給力 發表在 痞客邦 留言(0) 人氣()

去年買來的TTTT,他的冷氣控制調整一直很不好用,都要雙手控制才不會偏差太多

冷氣面板卡榫有幾個位置好像有壞,不確定是壞在面板還是中框(中控台面板框)

吾給力 發表在 痞客邦 留言(0) 人氣()

VW福斯T4 記事

由於202308入手了一台TTTT 2.0 短軸貨車牌 來載車,蒐集了一些整理需要的資訊跟遇到的狀況跟處理方式,做個紀錄。

吾給力 發表在 痞客邦 留言(0) 人氣()

"懸雍垂軟顎咽整型" UPPP + "鼻中隔及鼻甲手術" R+T 手術後恢復紀錄

住院當日報到後,在診間A簽署手術同意書時護理師問做什麼手術,才知道原本醫生只排"鼻中隔及鼻甲手術",

吾給力 發表在 痞客邦 留言(0) 人氣()

太久沒用這段記憶,搞很久才想起來,趕快紀錄下來,免得下次又卡很久

由於內部網路存取的環境較為單純,所以Samba存取驗證是全開放的狀態,Samba設定檔大概是長這樣:

文章標籤

吾給力 發表在 痞客邦 留言(0) 人氣()

Pricing 僅供參考:

qTest: 功能相當多,介面好用,TC Library可集中化管理(Real Centralized),但是太貴

吾給力 發表在 痞客邦 留言(0) 人氣()

Remote session disconnected no remote desktop license servers available:
Msg: "The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license."

吾給力 發表在 痞客邦 留言(0) 人氣()

Server Platform config 組合變化的local drive / nic 組合眾多,OS底下的drive name跟nic name不會是固定的名稱
e.g.: Drives
Drive controller          | Linux name
Intel SATA AHCI           | sd?
Intel RAID(SATA)          | md12?
Intel NVMe                | nvme?n1
Intel VMD(VRoC/NVMe RAID) | md12?
Broadcom MegaRAID         | sd?
(MegaRAID被Broadcom買走了)
我覺得更複雜Nics,不同廠家線路或是BIOS的設計,同樣的網路晶片,有些是eth0有些是eno1...
插卡式的網卡,因為設計不同,名稱也是很多種。
因此kickstart不能指定名稱,不然透過kickstart完成autoinstall的機制會失效。
參數加上
autopart --type=plain/lvm
install --firstdisk
network --bootproto=dhcp --device=link
就能達成了

不過小缺點是install --firstdisk他選擇drive的順序,跟GUI介面不同
,會發現當你有一組md12?跟其他sda/nvme0n1的時候,他會選擇sda當優先
,而不是像GUI介面一樣,md12?為第一個。

本來是想用ignoredisk搭配參數$FirstDrive"在%pre裡面寫我想要的順序去決定安裝在哪個位置
(ignoredisk --only-use=$FirstDrive")
但沒找到一組位置或是指令能快速找出,像GUI介面那樣列出drives,就改天再寫嚕

#version=RHEL8
eula --agreed
#ignoredisk --only-use=sda
#ignoredisk --only-use=$FirstDrive
#autopart --type=lvm   # LVM
#autopart --type=plain # Standard

# Partition clearing information
#learpart --all
# Use graphical install
graphical
# Use network installation
url --url="http://192.168.20.5/media/centosstream8_20231106/BaseOS"
repo --name="AppStream" --baseurl="http://192.168.20.5/media/centosstream8_20231106/AppStream"
#Reboot after installing
#poweroff
reboot
# Keyboard layouts
keyboard --vckeymap=us --xlayouts='us'
# System language
lang en_US.UTF-8

# Network information
network --bootproto=dhcp --device=link --noipv6 --activate
network  --hostname=autoinstallcentos.localdomain
# Root password
rootpw --iscrypted $6$3id.L.tL.snhG07n$d6zBMyC4KF5xWVXeG.LVHKK4SwdhaUwT3yFzbKSLo3MHKhl8x9hndH8Jf58EbG8A6WZw7p6OAWPig6fZ25u3C1
# Run the Setup Agent on first boot
#firstboot --enable
firstboot --disable

# Do not configure the X Window System
#skipx
# Enable graphical mode as default mode
graphical

# System services
services --enabled="chronyd"
# System timezone
timezone Asia/Taipei

#Create a admin permission user
user --groups=wheel --name=test --password=$6$tztHXuZQalUSFe7s$En8AJpHZhUoRgEmOGd.ZigAUKtduUbltI4wF6NIAouzxBKeTDaObnVMqsogM8g70ahN7tI8monGJ7Rj1EyIKc0 --iscrypted --gecos="test"
#disable SELinux
selinux --disabled

#disable firewall
firewall --disabled

# Run the Setup Agent on first boot
#firstboot --disable

%packages
@^graphical-server-environment
@development
@file-server
@graphical-admin-tools
@performance
@remote-system-management
@rpm-development-tools
@system-tools
kexec-tools
ipmitool
fio
iperf3
tcl
tk
gcc-gfortran
elfutils-libelf-devel
elfutils-libelf
tcsh
nvme-cli
lm_sensors

%end

%addon com_redhat_kdump --enable --reserve-mb='auto'

%end

%pre
#!/bin/sh
echo "autopart --type=plain" > /tmp/part-include
echo "# Partition clearing information" >> /tmp/part-include
echo "install --firstdisk" >> /tmp/part-include
echo "clearpart --initlabel" >> /tmp/part-include
echo "clearpart --all" >> /tmp/part-include
#echo "ignoredisk --only-use=$FirstDrive" > /tmp/part-include
%end
%include /tmp/part-include

%anaconda
pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty
pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty
%end

吾給力 發表在 痞客邦 留言(0) 人氣()