TurnToJPG -->

1. liquorix kernel(zen)

Install on Ubuntu 22.04 via:

curl -s '' | sudo bash

2. pikvm for x86

Tips(comment the brltty related items and reboot, then ttyUSB0 is avaiable):

sudo vim /usr/lib/udev/rules.d/85-brltty.rules
# ENV{PRODUCT}=="1a86/7523/*", ENV{BRLTTY_BRAILLE_DRIVER}="bm", GOTO="brltty_usb_run"
sudo systemctl mask brltty.path
sudo reboot

Change to ubuntu22.04 and solved the problem.

3. socket 5 proxy

Open the proxy via:

ssh -N -D dash@localhost

Then set the proxy in other machine for yum usage:

$ vim /etc/yum.conf

4. ubuntu22.04 curl issue


OpenSSL Error messages: error:0A000126:SSL routines::unexpected eof while reading

solved via:

apt remove curl
apt purge curl
apt-get update
apt-get install -y libssl-dev autoconf libtool make
cd /usr/local/src
cd curl-7.88.1
./configure --with-ssl 
sudo make install
sudo cp /usr/local/bin/curl /usr/bin/curl
sudo ldconfig
curl -V

5. nix-shell install

install via:

nix-shell '<home-manager>' -A install --option substituters

6. Workingtips for nix on ubuntu


curl --proto '=https' --tlsv1.2 -sSf -L | sh -s -- install
nix-channel --add home-manager
nix-channel --update
nix-shell '<home-manager>' -A install
nix run home-manager/master -- init --switch 
sudo apt install seatd
sudo usermod -a -G video $USER
nix profile install github:guibou/nixGL --impure
home-manager switch --option substituters
sudo apt-get install -y pipewire pipewire-pulse

Also edit the limitation of /etc/security/limits.conf, as following.

Modification for nix files:

$ vim ~/.config/home-manager/hyprland.nix
             master {
                 # See for more
# new_is_master = true
                 new_status = slave
$ vim ~/.config/home-manager/flake.nix
    #hyprland.url = "github:hyprwm/Hyprland";
    hyprland.url = "git+";

7. limitation linux

enlarge via:

 /etc/security/limits.conf, add

* soft nofile 1000001
* hard nofile 1000001

8. nix dconf issue


Activating dconfSettings
dbus[13416]: Failed to start message bus: Configuration file needs one or more <listen> elements giving addresses
dbus-run-session: EOF reading address from bus daemon

Solved via:

not solved, for centos's dbus is pretty old
### 9. pactrap archlinux
Can't Pacstrap because of "Corrupted" packages, solved via:     

pacman -Sy archlinux-keyring sudo pacstrap -c /mnt base

### 10. nixos dhcpd issue
encounter following issue:      

   Failed assertions:
   - The option definition `services.dhcpd4' in `/nix/store/yq5mkfx3b97iczs5a6lhjm14gkjx9795-source/configuration.nix' no longer has any effect; please remove it.
   The dhcpd4 module has been removed because ISC DHCP reached its end of life.
   See for details.
   Please switch to a different implementation like kea or dnsmasq.
switch to new implementation:     

### 11. sybench rocklinux
Install via:      

sudo yum install -y epel-release sudo yum install ./sysbench…..

### 12. x0vncserver
Using x0vncserver for replacing nxplayer:      

$ sudo pacman -S tigervnc $ vncpasswd $ vim ~/.xprofile x0vncserver -rfbauth ~/.vnc/passwd &

### 13. git clone via socks proxy
temp using socks proxy via:     

git -c “http.proxy=socks5h://” clone

### 14. ignore ast kernel issue

W: Possible missing firmware /lib/firmware/ast_dp501_fw.bin for module ast

Solved via:     

touch /lib/firmware/ast_dp501_fw.bin update-initramfs -u -k all

### 15. watch sync status

watch -d grep -e Dirty: -e Writeback: /proc/meminfo