Fedora 31 : setup Hint

-------------------------------------- fallocate -l 10G /disk01/swapfile chmod 0600 /disk01/swapfile mkswap /disk01/swapfile swapon /disk01/swapfile -------------------------------------- vi /etc/fstab /dev/mapper/cl-root     /disk01        xfs     defaults        0 0 /dev/mapper/cl-home     /home   xfs     defaults        0 0 /dev/sdb1               /data0       ext4    nofail,defaults 0 0 […]

Read More

CentOS8 : rc-local.service nfs mount Hint

vi /usr/lib/systemd/system/rc-local.service [Unit] Description=/etc/rc.d/rc.local Compatibility Documentation=man:systemd-rc-local-generator(8) ConditionFileIsExecutable=/etc/rc.d/rc.local After=network.target After=network-online.target   [Service] Type=forking ExecStart=/etc/rc.d/rc.local start TimeoutSec=0 RemainAfterExit=yes GuessMainPID=no   [Install] WantedBy=multi-user.target --------------------------------------                             vi /etc/rc.d/rc.local mount /dev/sdc1 /data1TB3 mount -t nfs 1.1.1.49:/ /owl49 -------------------------------------- chmod 755 /etc/rc.d/rc.local   -------------------------------------- systemctl enable rc-local.service  -------------------------------------- Created symlink […]

Read More

Fedora 31 : firewall-cmd : ImportError undefined symbol: XML_SetHashSalt Hint

LD_LIBRARY_PATH  problem! lib64 vs old lib 32 conflict.   # firewall-cmd  -------------------------------------- Traceback (most recent call last):   File "/usr/bin/firewall-cmd", line 31, in <module>     from firewall.client import FirewallClient, FirewallClientIPSetSettings, \   File "/usr/lib/python3.7/site-packages/firewall/client.py", line 28, in <module>     import dbus.mainloop.glib   File "/usr/lib64/python3.7/site-packages/dbus/__init__.py", line 95, in <module>     from dbus._dbus import […]

Read More