随笔分类 -  FreeBSD

摘要:Generally, exctags(1) on FreeBSD is what you know as ctags on Linux based systems. 1. Install exctags from port # cd /usr/ports/devel/ctags # make ins 阅读全文
posted @ 2021-11-20 17:57 enjoy_jun 阅读(97) 评论(0) 推荐(0)
摘要:安装拼音 # pkg install zh-scim-pinyin 安装五笔 # pkg install zh-scim-tables 配置 ~/.cshrc % ee ~/.cshrc 加入下面两行: setenv XMODIFIERS @im=SCIM setenv LC_CTYPE zh_CN 阅读全文
posted @ 2021-11-19 10:58 enjoy_jun 阅读(578) 评论(0) 推荐(0)
摘要:1. Preparing the Host First, load the bhyve kernel module: # kldload vmm Then, create a tap interface for the network device in the virtual machine to 阅读全文
posted @ 2021-11-11 11:29 enjoy_jun 阅读(814) 评论(0) 推荐(0)
摘要:version: FreeBSD13.0 1. Install fusefs-ntfs # pkg install fusefs-ntfs 把 fusefs_load="YES" 加到 /boot/loader.conf # reboot 2. Mount Disk # ntfs-3g /dev/d 阅读全文
posted @ 2021-10-22 11:37 enjoy_jun 阅读(1576) 评论(0) 推荐(0)
摘要:如何在FreeBSD中安装Nginx,MySQL,PHP(FEMP) 阅读全文
posted @ 2021-10-22 06:51 enjoy_jun 阅读(62) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2021-10-21 17:01 enjoy_jun 阅读(0) 评论(0) 推荐(0)
摘要:1. server configuration Samba is configured in /usr/local/etc/smb4.conf. # touch /usr/local/etc/smb4.conf smb4.conf is as follows. [global] workgroup 阅读全文
posted @ 2021-10-20 18:11 enjoy_jun 阅读(126) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2021-10-20 11:14 enjoy_jun 阅读(4) 评论(0) 推荐(0)
摘要:确保CHECKSUM文集和要核对文件都在当前目录, 比如: % ls CHECKSUM.SHA256-FreeBSD-13.0-RELEASE-amd64 FreeBSD-13.0-RELEASE-amd64-bootonly.iso FreeBSD-13.0-RELEASE-amd64-dvd1. 阅读全文
posted @ 2021-10-18 12:20 enjoy_jun 阅读(556) 评论(0) 推荐(0)
摘要:我的电脑上有多个声音输出设备如下: % cat /dev/sndstat Installed devices: pcm0: <Realtek ALC892 (Rear Analog 7.1/2.0)> (play/rec) default pcm1: <Realtek ALC892 (Front A 阅读全文
posted @ 2021-10-16 02:59 enjoy_jun 阅读(289) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2021-10-13 05:38 enjoy_jun 阅读(7) 评论(0) 推荐(0)
摘要:禁用原来的FreeBSD.conf # ee /etc/pkg/FreeBSD.conf 将 enabled: yes 改为 enabled: no 保存(ESC, 然后 a → a)即可 创建另外一个 FreeBSD.conf # mkdir -p /usr/local/etc/pkg/repos 阅读全文
posted @ 2021-10-04 09:51 enjoy_jun 阅读(1320) 评论(0) 推荐(0)
摘要:Install Nginx, MariaDB and PHP (FEMP stack) on FreeBSD 11 阅读全文
posted @ 2020-08-16 00:38 enjoy_jun 阅读(87) 评论(0) 推荐(0)
摘要:Add the following to Add the following to Set to start ntpd at boot time. Once has been added to . Set to allow ntpd to step the clock any amount, one 阅读全文
posted @ 2020-04-06 01:21 enjoy_jun 阅读(189) 评论(0) 推荐(0)
摘要:Inside a controlled network, it is alittle harder to use FreeBSD. The simple things become hard, such as install software by . So that is why I set a 阅读全文
posted @ 2020-04-06 00:40 enjoy_jun 阅读(442) 评论(0) 推荐(0)
摘要:1.Set IP address and default router # ee /etc/rc.conf Add content as following into rc.conf. ifconfig_em0="inet 192.168.1.18 netmask 255.255.255.0" de 阅读全文
posted @ 2020-03-29 13:38 enjoy_jun 阅读(1394) 评论(0) 推荐(0)
摘要:1.安装依赖及xfce # pkg install -y xorg # pkg install -y xfce # pkg install -y slim 2.使能xfce # ee /etc/rc.conf 添加内容如下: moused_enable="YES" dbus_enable="YES" 阅读全文
posted @ 2020-03-23 22:49 enjoy_jun 阅读(3773) 评论(0) 推荐(0)