FB-pkg
FreeBSD の pkg の使い方
1003 10:07 env HTTP_PROXY="http://127.0.0.1:18080" pkgdb -F 1004 10:10 env HTTP_PROXY="http://127.0.0.1:18080" freebsd-update fetch 1005 10:12 env HTTP_PROXY="http://127.0.0.1:18080" freebsd-update install 1006 10:13 env HTTP_PROXY="http://127.0.0.1:18080" pkg version -IvL '=' 1007 10:14 history 1008 10:14 env HTTP_PROXY="http://127.0.0.1:18080" pkgdb -F 1009 10:15 env HTTP_PROXY="http://127.0.0.1:18080" pkg check 1010 10:16 env HTTP_PROXY="http://127.0.0.1:18080" pkgdb -F 1011 10:18 env HTTP_PROXY="http://127.0.0.1:18080" pkg version 1012 10:20 env HTTP_PROXY="http://127.0.0.1:18080" pkg autoremove 1013 10:21 sync 1014 10:21 rehash 1015 10:22 env HTTP_PROXY="http://127.0.0.1:18080" pkg audit -F 1016 10:23 env HTTP_PROXY="http://127.0.0.1:18080" pkg update 1017 10:24 env HTTP_PROXY="http://127.0.0.1:18080" pkg upgrade -n 1018 10:25 env HTTP_PROXY="http://127.0.0.1:18080" pkg update -f # env FETCH_TIMEOUT="300" HTTP_PROXY="http://127.0.0.1:18080" pkg upgrade curl
# env HTTP_PROXY="http://192.168.1.21:7080" HTTP_TIMEOUT="1800" pkg update
# env HTTP_PROXY="http://192.168.11.80:8080" FETCH_TIMEOUT="300" HTTP_TIMEOUT="1800" pkg update
PROXY_setting
vi /usr/local/etc/pkg.conf FETCH_TIMEOUT = 300; pkg_env: { HTTP_PROXY: "http://127.0.0.1:18080" HTTPS_PROXY: "http://127.0.0.1:18080" FTP_PROXY: "http://127.0.0.1:18080" http_proxy: "http://127.0.0.1:18080" https_proxy: "http://127.0.0.1:18080" ftp_proxy: "http://127.0.0.1:18080" } vi /etc/pkg/FreeBSD.conf FreeBSD: { url: "https://pkg.FreeBSD.org/${ABI}/quarterly", mirror_type: "srv", signature_type: "fingerprints", fingerprints: "/usr/share/keys/pkg", enabled: yes } FreeBSD-kmods: { url: "https://pkg.FreeBSD.org/${ABI}/kmods_quarterly_${VERSION_MINOR}", mirror_type: "srv", signature_type: "fingerprints", fingerprints: "/usr/share/keys/pkg", enabled: yes }
## pkg install apache24 pkg install squid pkg install munin-common munin-node # pkg install -f perl5 # perl5 を強制的にインストール pkg install dovecot pkg install bind916 # sysrc altlog_proglist+=named pkg install cmake pkg install gmake ########################################################## ## インストールの一覧 pkg info pkg install munin-common munin-node pkg install squid dovecot cmake gmake net-snmp bind920 apcupsd pkg install python311 py311-sqlite3 py311-pip bash # pkg install python311 py311-pip # pkg install apcupds net-snmp squid bind920 ##########################################################
Xorg のインストール
pkg install apcupds net-snmp squid bind920