老台式机装debian当服务器用
用户权限 sudo usermod -aG sudo username, 需要logout后重登,但是个人试验时重启才生效 sshd apt install openssh-server settings -> power -> power saving -> Automatic Suspend 关闭 ssh-keygen vnc 或 rdp 配置 debian 13 默认用的 gnome + wayland,折腾了 tigervnc xfce4 gnome-remote-desktop 还有内置的设置,都不行。 不弄了,反正基本用不上界面,命令行足够 emacs emacs --daemon emacsclient 最小配置: (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(custom-enabled-themes '(tango-dark)) '(make-backup-files nil) '(menu-bar-mode nil) '(scroll-bar-mode nil) '(tool-bar-mode nil) '(visible-bell t) '(which-key-mode t)) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ) (setq indent-tabs-mode nil) (setq tab-width 4) (global-set-key (kbd "M-o") 'other-window) (require 'package) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) (package-initialize) (use-package markdown-mode :ensure t) (use-package magit :ensure t) (use-package company :ensure t :init (global-company-mode 1)) (use-package which-key) (use-package counsel :ensure t :bind (("C-s" . swiper-isearch) ("M-x" . counsel-M-x) ("C-x C-f" . counsel-find-file) ("C-x b" . ivy-switch-buffer))) 磁盘 系统装在固态里,挂另外一个机械 ...