You can find further resources here: How to get started (there is no step-by-step tutorial).
For the most part, if you are using openHABian, it’s all already done for you. For other types of installs, the steps will depend on such a host of different options that a comprehensive step-by-step guide is impossible.
InfluxDB can do the job, but mapdb does the job better. It’s embedded so if OH is running mapdb is available. InfluxDB could be down, start up in the wrong order or the Network become broken between it and oh which will break restireOnStartup. Also, because it’s embedded and it only stores the most recent state it is significantly faster. Though that doesn’t usually matter all that much. Finally, because it only stores the most recent state, you don’t have to waste disk space storing all the states for items you don’t chart or never use the historical data and only need restireOnStartup.