Edit the file below and put your commands at the end of it.
CentOS/RHEL
/etc/rc.d/rc.local
Debian/Ubuntu There is a similar file with the path:
/etc/rc.local
However, make sure to write your commands before the exit 0 line.
Edit the file below and put your commands at the end of it.
CentOS/RHEL
/etc/rc.d/rc.local
Debian/Ubuntu There is a similar file with the path:
/etc/rc.local
However, make sure to write your commands before the exit 0 line.