Category Archives: Ubuntu

Unable to complete install: internal error: cannot load AppArmor profile libvirt

ARM64 系統 + Ubuntu 20.04 裝 virt-manager 碰到一些問題,第一關是碰到 libvirtd 被 mask 掉了,這個簡單

Read more »

Stable Diffusion webui CPU only on ARM64 Platform

Stable Diffusion webui is a web service based on Gradio library for Stable Diffusion. The installation process can automatically set up the environment and install Stable Diffusion, which can save a lot of time. However, it requires an NVIDIA or AMD GPU to install it. If you want to install Stable Diffusion WebUI without a GPU, some modifications are necessary.

Using a CPU to run Stable Diffusion can be painful, so this article is just for fun.

Platform is Ampere Altra Mt. Collins system with 2 Ampere Altra CPU, total 160 cores.
OS: ubuntu 22.04.02 LTS
Seems Stable Diffustion webui needs python 3.10, so, ubuntu 22.04 is good choice.

Read more »

Kubuntu Left Mouse Button Suddenly Stopped Working

It’s a strange problem, after login kubuntu/ubuntu system, after a while, the mouse click won’t work anymore suddenly. but it still can move. original post is for ubuntu 18.04, but it’s also work on my ubuntu 22.04

How to solve it temporary ? reload the psmouse driver

sudo modprobe -r psmouse

Suppose the ACPI driver or UEFI cause this issue, but not easy to find it out.

ref.
[SOLUTION] Left mouse button suddenly stopped working on Ubuntu 18.04

Intel Coffee Lake Ubuntu Linux 速度太慢

這個也是怪自己,最近因為 Windows VM 不知道為什麼速度變很慢,所以改用 Linux 跑 VM ,雖然 Linux 下 VM 速度比 Windows 快,但是整體的感覺還是慢.本來以為是我的 i5-9600k VM 表現不好,但是看著 CPU utilization 感覺還是怪

Read more »

Windows 10 存取 Ubuntu Samba 問題

不知道是不是公司控管電腦的問題,我公司的電腦一直沒辦法存取 Samba 的目錄

今天終於下定決定找一找可能是什麼問題

Read more »

KDE Plasma CPU High Usage After Install Nvidia Driver

My notebook with RTX3060 has this issue after do something I don’t know. OS is Ubuntu 18.04

Everything is ok after first time install RTX3060, there is no high cpu issue, but after install IME(gcin), nomachine and anydesk and do something I don’t remember, plasma high cpu usage issue happened.

Read more »

ARM64 Centos8/Ubuntu PXE Boot Install on Ubuntu Server

This document will introduce how to setup a centos PXE boot environment on ubuntu 18.04 for install centos8 to your ARM64 machine.

In this document, it uses CentOS 8 version is 8.1.1911, it might also work on later version if you change file name accordingly . 

all command in this document we assume you already run with root permission. 

Read more »

Netplan Bridge Setup

Backup for mysalves

network:
  version: 2
  renderer: networkd
  ethernets:
    enP6p1s0:
      dhcp4: no
  bridges:
    br0:
      dhcp4: no
      interfaces:
         - enP6p1s0
      addresses: [192.168.110.254/16]
      gateway4: 192.168.1.1
      nameservers:
              addresses: [8.8.8.8,8.8.8.4]
      dhcp4: no

ref
https://netplan.io/examples

Raspberry 4 Pi + Kubuntu

買了二塊 Raspberry 4 Pi 回來,本來是準備裝 K8s 的,但是在這之前要先跑個 ubuntu image 才對.

我買 Raspberry 4 Pi 的時候知道他要用 5V3A 的電源,但是我沒有想到我自己沒有 5V3A 的 USB 變壓器,手機用的含 Apple 87W USB-C 變壓器都不足瓦
Apple 87W 只能輸出 5V 2.4A
最後找了一個 Sony 可以輸出 5V 2.7A 才可以用,所以如果要買 Raspberry Pi 4 的人請注意一下

另外這一塊的外接是 Micro-HDMI,我也忘了買,記得還要加買 SD Card

Read more »

Install Kubernetes on ARM64 Ubuntu 18.04 (with QEMU)

Install Kubernetes on Ubuntu 18.04 is very easy now, but only for x86 platform. If on ARM64 environment, it might have some other problem.
Some old article mentioned a lot of information but software version is too old for deploy a new version software.

After a lot of time to have research, here is instruction for how to install Kubernetes on ARM64 Ubuntu 18.04

Read more »