Bài đăng

Đang hiển thị bài đăng từ Tháng 9, 2022

Trong linux mint, thông báo này có nghĩa là gì? The following upgrades have been deferred due to phasing Làm sao để loại bỏ nó

Thông báo này trong Linux Mint có nghĩa là một số bản cập nhật đã bị hoãn lại do chính sách "phased updates" (cập nhật theo giai đoạn). Phased Updates là gì? Linux Mint (dựa trên Ubuntu) sử dụng hệ thống cập nhật theo giai đoạn để tránh việc cập nhật gây lỗi hàng loạt. Một số bản cập nhật sẽ chỉ có sẵn cho một phần nhỏ người dùng trước khi được phát hành rộng rãi. Nếu bạn thấy thông báo này, có nghĩa là bạn chưa được chọn để nhận các bản cập nhật đó ngay lập tức. Để luôn đồng ý các bản update này, hãy tạo file sau: sudo nano /etc/apt/apt.conf.d/99disable-phased-updates Thêm dòng sau vào tệp: APT::Get::Always-Include-Phased-Updates "true";

Linux mount file iso cd

Nếu trên máy ảo, bạn set iso file vào cdroom rồi nhưng trong OS guest không tự mount, thì ta có thể gõ lệnh sudo mount -t iso9660 /dev/cdrom /mnt/cdrom/

Alias cần thiết cho git

 File: ~/.gitconfig [alias] co = checkout ci = commit st = status br = branch hist = log --graph --pretty=format:'%C(red bold)%h%Creset %C(bold yellow)[%an]%Creset -%C(bold cyan)%d%Creset %s %C(bold green)(%cr)%Creset' --topo-order

Lỗi VPN tun device not found

Hình ảnh
  Wed May 15 09:54:57 2013 Socket Buffers: R=[212992->131072] S=[212992->131072] Wed May 15 09:54:57 2013 ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such device (errno=19) Wed May 15 09:54:57 2013 Exiting due to fatal error > demaio:  I had the same problem with OpenVPN 2.3.1 AFAIK but because of a kernel update with pacman -Syu I had to reboot and the error was gone, but I am using systemd, so I don't know if this is related to the problem in your non-systemd setup. > Torxed:  Yepp, rebooting fixed the issue. kernel was updated by another tech and a reboot was all it took. modinfo tun shows all i needed to see to be happy and safe and openvpn runs  Giải pháp là chỉ cần reboot. Ref: https://bbs.archlinux.org/viewtopic.php?id=163377

EndeavourOS kêu beep rất to khi tắt máy

 Nếu bị tình trạng mỗi lần shutdown hoặc restart, máy tính đều phát beep rất to. Bạn hãy gõ lệnh sau. It's work! su -c 'modprobe -r pcspkr && echo "blacklist pcspkr" >> /etc/modprobe.d/50-blacklist.conf'