K
K
Kryptonit2020-06-20 14:17:00
LAMP
Kryptonit, 2020-06-20 14:17:00

How to migrate a site from Open Server (WP) to Lamp Ubuntu 18.04?

I now have a theme and the site is already ready for work (in any case, it starts locally from the open server).
Please tell me how to transfer it to Linux lamp, and do I need to download something additionally?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton, 2020-06-20
@Kryptonit

Too many details are unknown. Lamp Ubuntu 18.04 is it a local computer or is it a server that is configured to work to publish the site to the internet?
But here are the main steps:
1. Export the database from Open Server (for example, using phpmyadmin is more convenient using wp-cli)
2. Copy the site folder from Open Server
3. Import the database into Lamp Ubuntu 18.04 (or using phpmyadmin is more convenient using wp-cli)
4. Paste the folder in Lamp Ubuntu 18.04 to where the site is located.
5. Replace local addresses in the database with addresses of the remote server (find and replace " https ://localsite" with " https://newsite " in the database)
6. Edit the wp-config.php file, replacing the data for connecting to the database with the necessary ones.
* Google all the incomprehensibility for example:
"how to install wp-cli windows"
"how to export the database using wp-cli"
and so on.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question