Ubuntu Server: How to execute script at startup Quick and dirty way – add line in file ‘/etc/rc.local’ More reliable way using runlevels