Linux

Linux

Ubuntu 20.04 how to use PRIME to use iGPU on old notebook Intel + Nvidia GPU

參考這篇來使用舊核心kernel開機並安裝nvidia-340 舊機改造計畫之二 CPU and 顯示卡驅動  https://fullshinetw.ddns.net/jiu-ji-gai-zao-ji-hua-zhi-er/ 新增開機參數 /etc/default/grub and update kernel boot parameter nogpumanager nomodeset i915.modeset=1 quiet splash sudo update-grub2 關閉 gpu-manager.service of systemctl 等同kernel cmdline參數nogpumanager sudo systemctl disable gpu-manager.servic 新增Intel device參數 /etc/X11/xorg.conf.d/20-nvidia.conf Section

By Phillips Hsieh

Linux

解決USB DAC PCM2912A在Ubuntu 20.04.4 LTS爆音問題

參考了連結 https://community.linuxmint.com/tutorial/view/2401 sudo vi /etc/pulse/daemon.conf daemonize = no system-instance = no enable-shm = no cpu-limit = no high-priority = yes nice-level = -11 realtime-scheduling = yes realtime-priority = 5 exit-idle-time = -1 default-script-file = /etc/pulse/default.pa resample-method = copy enable-remixing = yes lfe-crossover-freq = 0 flat-volumes = yes rlimit-nice = 31 rlimit-rtprio = 9 rlimit-rttime

By Phillips Hsieh

configuration

Container and docker and Hypervisor

在玩容器虛擬化前,先建立何謂容器的觀念,不同於虛疑主機系統消耗的資源會少非常多。 LXC  使用者空間控制核心命名空間合併cgroup功能創建的應用容器 ‌‌使用上類似:‌‌* Feels like somewhere between a chroot and a VM‌‌* Can run a full distro using the "host" kernel‌‌* Processes running in a container are visible from the outside‌‌* Doesn't require any specific hardware, works on all supported architecutres 實作上我選擇安裝Proxmox原因是滿多介紹HomeLab的youtuber就有提到它。比較類似的平台有VMware

By Phillips Hsieh
舊機改造計畫之二 CPU and 顯示卡驅動

Hardware

舊機改造計畫之二 CPU and 顯示卡驅動

續之前的老舊電腦改裝成NAS分享伺服器之後 工作室的地上還躺著一台從同事那接收過來的 使用LGA775 CPU的ASUS P5B-E-Plus主機板 習慣是機器放在工作室常常看著 那天也許會突然想到可以應用在什麼用途也不一定 就是研究對岸的圾垃佬玩洋垃圾的Youtube影片中 看到最早的報癈電腦零件中有大神 把伺服器專用的CPU想方設法弄到桌機上來使用 一來報廢伺服器CPU很便宜 二來是效能可對比桌機版的高階CPU效能。 對岸指的洋垃圾都是在國外被汰換下來的伺服器零組件 有CPU、記憶體、主機版、硬碟、介面卡被廢棄回收商收購重回到二手巿場上 因為是專為長時間不關機設計 所以零件的耐用度比桌機要耐用上許多 理所當然成為最佳升級材料來源。 目前服務的公司每年也都會有汰換下來的各式電腦 伺服器主版都是特殊規格不是很適合放在家中使用 多半把CPU、RAM、HDD和擴充卡留下來當備品。 這次要用到的LGA771就是從Dell PowerEdge 2950汰舊的Xeon 5410 在公司服務的時間早己超過十年 至今仍有一部份2950還在線上工作著。 看網上分享的作法要先把Xeon的觸點絕緣掉

By Phillips Hsieh

Linux

Install RHEL8.X support Dell PERC6/6i and H700/H800 old megaraid_sas

參考網路上的分享文章 https://gainanov.pro/eng-blog/linux/rhel8-install-to-dell-raid/提到有網路位置分享RHEL8不支援的driver disk image ISO檔 https://elrepo.org/linux/dud/el8/x86_64/可以在光碟開機安裝選擇畫面下按下[Tab] key然後在最後輸入下列範例>vmlinuz installrd=initrd.img inst.dd=https://elrepo.org/linux/dud/el8/x86_64/dd-mpt3sas-28.100.00.00-2.el8_1.elrepo.is 在公司機房我把支援CentOS8.3/OEL8U3的 Boot ISO

By ipstor