Migrate 3.0 install from redhat to ubuntu

We are considering moving our OJS 3.0.2.0 from redhat to ubuntu and upgrading to 3.1.x

Is the recommended procedure to:
(1) install the 3.0.2.0 code on the ubuntu and copy across the database and plugins and public directories; and test
(2) upgrade from 3.0.2.0 to 3.1.x and test

Are there any other steps or known dangers here?

cheers
stuart

You can copy document root with OJS installation folder from one platform to another. However, please migrate folder with data/pdf files. Also, you need to export database from one platform and import into another platform.

After that check in config.inc.php paths for files, database details, mail seetings and it should work. Please check apache, php, sql versions too. Do not use pho less than 5.6.32.

Thanks