Now I'm testing a Linux server; after the boot of the server machine I have to run these commands by SSH connection (with putty):
cd ../var/www/html/tbl/libraries/solr/bin/ sudo bash solr ./solr start -p 8984 cd ../../../../upms/libraries/solr/bin/ sudo bash solr ./solr start -p 8988
These commands must be executed every time the server boot. There is a way to do these commands not manually but automatically when the server start?
I have to do a crontab or create a bash file?
Server details: Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-79-generic x86_64)