Linux
Add new user
adduser davidhsaiou
passwd davidhsaiou
usermod -aG wheel davidhsaiou
use .ssh authorized_keys
touch ~/.ssh/authorized_keys
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
check for allow key settings
PubkeyAuthentication yes AuthorizedKeysFile .ssh/authorized_keys
vim /etc/ssh/sshd_config
sudo systemctl restart sshd
Mount nfs
mount
sudo mount -t nfs 192.168.118.53:/home/nfsdata/release-images /mnt/nfs_share
force umount
sudo umount -l /mnt/
Dynamic Library debug
ldd *.so for finding dependency
test disk iops
install sysstat
sudo apt install sysstat
whatch current stat
iostat -dx 1
install and test iops
sudo apt install fio
fio --name=test --rw=randread --size=1G --bs=4k --numjobs=4 --runtime=60 --group_reporting