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.
Author: rdircio
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');
python https proxy
apt install python3
apt install pip3
pip3.9 install pproxy
/usr/local/bin/pproxy &
ssh -gR 8080:localhost:8080 root@10.181.2.10
Install swedish locale
nlsadm install-locale -f sv_SE.ISO8859-1
nlsadm install-locale -f sv_SE.ISO8859-15
nlsadm install-locale -f sv_SE.ISO8859-15@euro
nlsadm install-locale -f sv_SE.UTF-8
nlsadm install-locale -f sv_SE.UTF-8@euro
setup your aws access
Generate a key in aws portal, https://us-east-1.console.aws.amazon.com/ then use it
$ aws configure