watermark logo

Следующий


5 Things To Do After Installing FreeBSD

5 Просмотры
Админ Админович
0
Опубликован в 13 Jan 2021 / В Компьютерная тематика

Five of the things I do when I have just installed FreeBSD. YMMV of course, but it's a guide..... For a much better guide, check out Cooltrainers guide here: https://cooltrainer.org/a-freebsd-desktop-howto/ Here are a few of the commands used in the video: Update Core System: #freebsd-update fetch install Update the pkgs: #pkg update && upgrade Update ports tree & upgrade: #portsnap auto -- /etc/rc.conf ---------Short version ------------------------------------------------------------------------------ clear_tmp_enable="YES" dbus_enable="YES" lpd_enable="NO" cupsd_enable="YES" devd_enable="YES" -- /etc/sysctl.conf----------------------------------------------------------------------------------- vfs.usermount=1 kern.sched.preempt_thresh=224 hw.syscons.bell=0 kern.ipc.shm_allow_removed=1 -- /boot/loader.conf-------------------------------------------------------------------------------- loader_logo="beastie" # Boot-time kernel tuning kern.ipc.shmseg=1024 kern.ipc.shmmni=1024 kern.maxproc=100000 kern.maxfiles="25000" hw.vga.textmode=1 kern.vty=vt snd_driver_load="YES" net.link.ifqmaxlen="2048" # enable hardware accelerated AES (can speed up TLS) aesni_load="YES" # enable CPU firmware updates cpuctl_load="YES" libiconv_load="YES" # Load MMC/SD card-reader support mmc_load="YES" mmcsd_load="YES" sdhci_load="YES" # Access ATAPI devices through the CAM subsystem atapicam_load="YES" # Filesystems in Userspace fuse_load="YES" # In-memory filesystems tmpfs_load="YES" # Asynchronous I/O aio_load="YES" # Handle Unicode on removable media libiconv_load="YES" libmchain_load="YES" cd9660_iconv_load="YES" msdosfs_iconv_load="YES" linux_load="YES" # bootloader prompt timeout (seconds) autoboot_delay="3" # enable AHCI on modern hardware for better performance ahci_load="YES" umass_load="YES" usb_load="YES" -- /etc/fstab------------------------------------------------------------------------------- fdesc /dev/fd fdescfs rw,noatime 0 0 proc /proc procfs rw,noatime 0 0 tmpfs /tmp tmpfs rw,mode=777 0 0 linsysfs /compat/linux/sys linsysfs rw 0 0 -- /etc/login.conf------------------------------------------------------------------------------- Add - :charset=UTF-8:\ :lang=en_GB.UTF-8: -- /etc/profile------------------------------------------------------------------------------- LANG=en_GB.UTF-8; export LANG CHARSET=UTF-8; export CHARSET After - rebuild database: cap_mkdb /etc/logon.conf *** These are only a few FreeBSD handbook : https://www.freebsd.org/doc/handbook/ ----------------------------------------------------------------------------------------------------------

Показать больше
0 Комментарии sort Сортировать по

Следующий