The default location for the Komodo data directory is your user home folder. Here we will create this folder and edit a simple komodo.conf configuration file using nano, but of course you can use your favorite text editor.

It is recommended that you replace the rpcuser and rpcpassword values with your personal values. The txindex=1 parameter enables indexing of transactions in your blockchain data (recommended and necessary for some features) and the addnode lines provide a default set of Komodo active nodes that will help to speed up your first blockchain download.

There's many other parameters that could be added by advanced users to this configuration file, following the Bitcoin configuration file syntax. You can find additional reference here.

If you installed the Komodo binaries in your system at the end of step 3, you can start the Komodo daemon by typing

komodod

in your command line. If you did not install them, you will need to either append to the command the whole path to where the komodod binary is located.

Starting the process in your current shell will display all the process output to the shell. If you want to have Komodo running in a sub-shell, so you can keep your main shell clean, running Komodo under a screen session is a good option. Make sure it is installed in your system by running

sudo apt-get install screen

Then you can start a screen session for Komodo with

screen -S komodo

Which will open a screen session where you can run komodod exclusively. Then you can return to your main shell by pressing Ctrl + A, then D, and re-attach to your Komodo screen session anytime with

screen -r komodo

to follow the Komodo server output. If you need to check the Komodo debug output to expand on any error messages, or to see details of the network activity including blockchain download progress, you can do

tail -f ~/.komodo/debug.log

To stop the Komodo server, you can enter

komodo-cli stop

Any RPC commands you want to send to your Komodo server need to be sent also using the komodo-cli executable. For reference about all the Komodo RPC commands, see the Komodo RPC Reference Guide.