these 2 links have good info to select a compiler in a port edit
Author: rdircio
build pulseaudio in os lion 10.7.5 with macports
port edit pulseaudio
just add this to use gcc-13:
configure.compiler macports-gcc-13
and then port build pulseaudio && port install pulseaudio
Grow disk in vmware guest
if /dev/sdb grew:
echo "1" > /sys/class/block/sdb/device/rescan
pvresize /dev/sdb
Disable sleep
root@hoshi:/var/log# systemctl status suspend.target
● suspend.target - Suspend
Loaded: loaded (/lib/systemd/system/suspend.target; static; vendor preset: enabled)
Active: inactive (dead)
Docs: man:systemd.special(7)
root@hoshi:/var/log# systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
Created symlink /etc/systemd/system/sleep.target → /dev/null.
Created symlink /etc/systemd/system/suspend.target → /dev/null.
Created symlink /etc/systemd/system/hibernate.target → /dev/null.
Created symlink /etc/systemd/system/hybrid-sleep.target → /dev/null.
show nfs clients
ss -ntp | grep 2049 | awk '{ print $NF }' | awk -F ':' '{ print $1 }' | sort | uniq
will time change on DST or CST for my timezone on solaris 11?
if you want to know if the time will change automatically in your server for each timezone event
zdump -v $(nlsadm get-timezone) | grep 2023
zfs compression
to check if there is compression in your zpool
zfs get all | grep compress
to enable zstd compression in a pool
zfs set compression=zstd pool4tb
Install powercli
install-module VMware.PowerCLI -scope AllUsers -force -SkipPublisherCheck -AllowClobber
centos 7 add nfs client support
yum -y install nfs-utils
10.10.0.10:/backups /var/backups nfs defaults 0 0
Remove all action buttons in xcrud
$xcrud->buttons_position('none');