chmod +x /etc/rc.d/rc.local
systemctl enable rc-local.service
Note: rc.local is obsolete.
-------------------------- OR
append commands to /etc/bashrc
https://blog.csdn.net/ztguang/article/details/51727857
chmod +x /etc/rc.d/rc.local
systemctl enable rc-local.service
Note: rc.local is obsolete.
-------------------------- OR
append commands to /etc/bashrc
https://blog.csdn.net/ztguang/article/details/51727857