$ 0 0 chmod 755 /etc/rc.local/etc/rc.local以后每次登陆 vps后,运行一下/etc/rc.local即可。运行/etc/rc.local后,/etc/rc.local文件里所写入的命令就会自动运行。