Contos7 Linux 开机执行cmd命令
一 在root用户下操作
二 修改配置文件 /etc/rc.local
三添加要执行的命令
对文件加一些权限
[[email protected] ~]# chmod +x /etc/rc.local
[[email protected] ~]# chmod 755 /etc/rc.local
一 在root用户下操作
二 修改配置文件 /etc/rc.local
三添加要执行的命令
对文件加一些权限
[[email protected] ~]# chmod +x /etc/rc.local
[[email protected] ~]# chmod 755 /etc/rc.local