Reference link: http://askubuntu.com/questions/335242/how-to-install-an-init-d-script-in-ubuntu For example, to create a new script "vncserver" sudo editor /etc/init.d/vncserver Then enter the shell script (e.g., define start, stop, status, etc. check out one example inside that folder...). Afterwards, make sure that you make the script executable after creation. sudo chmod +x /etc/init.d/vncserver Now insert the service into the start-up system … Continue reading How to install an init.d script in Ubuntu?
Computing
How to run Raspberry Pi headlessly?
Reference link: http://www.penguintutor.com/linux/tightvnc Remote GUI access to a Linux OS using Tightvnc The command line is a great way to manage a remote Linux computer if you don't mind typing in commands, but sometimes you need to be able to view a GUI. Short of a very long cable one of the best ways of … Continue reading How to run Raspberry Pi headlessly?
What is the file /etc/rc.local for?
Linux File Reference: /etc/rc.local The /etc/rc.local file is common to major Linux distributions. This file contains BASH commands which will be run after run-level specific commands whenever the system is booted. In a VPS environment, /etc/rc.local is commonly used to store the hostname <SERVER_HOSTNAME> command (where <SERVER_HOSTNAME> is the intended hostname for the VPS) to … Continue reading What is the file /etc/rc.local for?