[root@localhost ~]# vim /etc/rc.local 添加一行命令即可。。 dd 转载于:https://www.cnblogs.com/hanggegege/p/5817209.html