01 2024 档案
摘要:最简单的是直接在/etc/rc.conf中添加 dhcpcd=YES ref:https://www.netbsd.org/docs/guide/en/chap-net-practice.html 如何安装包? 输入如下代码: PATH="/usr/pkg/sbin:/usr/pkg/bin:$PA
阅读全文
摘要:如果想使用alias: alias wgetncc='wget --no-check-certificate' 请往下看: Try this: (assumes *nix) echo "check_certificate = off" >> ~/.wgetrc Then ever after, wg
阅读全文
摘要:Linux内核学习资料 1. 书籍1.1 入门《Linux内核设计与实现》《深入理解Linux内核》 1.2 提高《深入Linux内核架构》 1.3 方向深入Linux子系统内存——《深入理解Linux虚拟内存管理》网络——《深入理解LINUX网络内幕》 驱动方向《Linux设备驱动程序》 2. 网
阅读全文
摘要:Mel Gorman's book "Understanding the Linux Virtual Memory Manager" 下载地址:https://www.kernel.org/doc/gorman/
阅读全文
摘要:How to configure Kali Linux to use a static IP address https://miloserdov.org/?p=542
阅读全文
摘要:如何安装ArchLinux,超详细的步骤 Comprehensive step by step guide to install Arch Linux https://miloserdov.org/?p=1949
阅读全文
摘要:先设置umask为0002 全部用户都设置为0002: vi /etc/profile.d/set-umask-for-all-users.sh 输入 002 如果只是单一用户,vi ~/.bashrc 添加: umask 002 详细介绍看这里:https://www.cyberciti.biz/
阅读全文
摘要:One approach could be using find: for directoriesfind /desired_location -type d -print0 | xargs -0 chmod 0755 for filesfind /desired_location -type f
阅读全文
摘要:以用户pi身份运行qbittorrent-nox qbittorrent-nox --webui-port=8081 --daemon 相关配置文件会出现在pi用户的home文件夹中,即/home/pi 分别是.config和.local 其中种子文件位于/home/pi/.local/share/
阅读全文
摘要:下载地址: https://github.com/Eugeny/tabby
阅读全文
摘要:使用命令 sudo passwd 来设置root的密码 然后使用 su 来登录即可
阅读全文
摘要:transmission-daemon.service一般位于/usr/lib/systemd/system qbittorrent-nox.service一般位于/etc/systemd/system 需要自己创建,如何创建?见下面链接 https://www.reddit.com/r/qBitt
阅读全文
摘要:Dick short for RichardBill short for WilliamHank short for HenryJack short for JohnChuck short for CharlesPeggy short for MargaretTed short for Edward
阅读全文
摘要:h (Hash) commandCalculate hash values for files. Syntaxh [-scrc{Method}] [files]Supported methods: CRC32, CRC64, SHA1, SHA256, BLAKE2sp. Default metho
阅读全文
摘要:下载地址:https://otp.landian.vip/en-us/download.html 官网:https://otp.landian.vip/en-us/
阅读全文
摘要:http://cs.jhu.edu/~kevinduh/projects/researchtips/hamming.pdf 来源:https://www.semanticscholar.org/paper/You-and-Your-Research-Hamming-Kaiser/fdf201d9e7
阅读全文
摘要:使用pw命令 pw group mod groupName -m userName 来源:https://www.cyberciti.biz/faq/freebsd-add-a-user-to-group/ 从某组中删除用户: pw groupmod wheel -d <username> 来源:h
阅读全文
摘要:cd /home/Your_Username/.config/qBittorrent vim qBittorrent.conf Adding this line under [Preferences], in the config file, works, for setting the defau
阅读全文
摘要:以下操作全部在root账号下完成 pkg install -y qbittorrent-nox 安装完成后, cd /usr/local/etc/rc.d 修改qbittorrent这个文件 因为我的非root账号的用户名是euler,而我想以euler来账号来运行qbittorrent 把: ${
阅读全文
摘要:以下操作全部在root账号下完成 pkg install -y transmission 安装完成后, cd /usr/local/etc/rc.d 修改transmission这个文件 因为我的非root账号的用户名是euler,而我想以euler来账号来运行transmission。 我们只需要
阅读全文
摘要:首先安装sudo pkg install sudo It is possible to use su to execute commands as root,for example % su root -c 'pkg ins package'then enter root password, or
阅读全文
摘要:一行即可: Create a memory disk out of an ISO 9660 CD image file, using the first available md(4) device, and then mount it: mount -t cd9660 /dev/`mdconfig
阅读全文
摘要:小问题,把装有FreeBSD 14.0的sdcard接到读卡器上,插到一个装有FreeBSD系统的电脑上,然后加载 使用命令 gpart show 查看有哪些设备 应该是/dev/da0 然后使用 gpart show da0 查看sdcard分区结构 使用root账号: mount -t ufs
阅读全文
摘要:每一步:rc.conf中添加: ntpd_enable="YES"ntpd_sync_on_start="YES"ntpdate_enable="YES" 第二步:service ntpd start 第三步:看下面命令返回什么信息host 0.freebsd.pool.ntp.orgntpq -c
阅读全文
摘要:Hi Matt, As root, type "hostname <new hostname>", and the hostname will be changedimmediately. To make this change permanent across reboots, edit the
阅读全文
摘要:Solving the FreeBSD “su: Sorry” Problem The solution is to restart FreeBSD in single user mode and then make the change as root. This can be done by f
阅读全文