Wow. I didn’t expect to receive so much spam from the contact form. To protect it, I turned on reCAPTCHA (v3).
Tag: Wordpress
Ok, I migrated.
Services that I have transferred:
- Gmail forward
- Mysql base
- WordPress
- It was simple, deleted on one host and added on another. I didn’t have to change anything with my domain registrar. When I configured it, I added the appropriate DNS entries.
- I thought I didn’t need to do anything because it’s a shared database, but it turns out I need to copy all the data and restore it to the new account. I did this using Adminer. It has easy import and export options.
- WordPress eh, scared me at first. I went to my first post about installing WordPress and noticed that the linked page had changed xD Well, this post is already worthless anyway, but a lesson for the future to make screenshots of pages.
New site: https://websiteforstudents.com/how-to-install-wordpress-on-ubuntu-linux-with-nginx/
I did everything without a database (I already have one) and Let’s Encrypt (Cloudflare provides me with an SSL certificate). Speaking about Cloudflare, I changed the IPv6 address in their configuration for the new server.
The last thing I did was copy the entire WordPress directory and overlay the old one on the new installation. That was the hardest part, because I didn’t know how to copy data from one VPS to another.
rsync -avzhe 'ssh -p 10XXX' --progress /var/www [email protected]:/var/www
Performed on the old server fixed the issue.
I used the instructions from this webpage: https://www.tecmint.com/rsync-local-remote-file-synchronization-commands/
Edit. It wasn’t.
The last thing was to change wp-config.php file to change database name, username, password and host.
What requirements does WordPress have?
PHP version 7.4 or greater.
https://pl.wordpress.org/about/requirements/
MySQL version 5.6 or greater OR MariaDB version 10.1 or greater.
Wsparcie HTTPS
On older versions it will also work, but it is not recommended.
In the mikr.us panel, we check that the system we have installed is Ubuntu 16.
WordPress instalation
Using the link:
https://websiteforstudents.com/install-wordpress-on-ubuntu-16-04-lts-with-nginx-mariadb-and-php-7-1-support/
we do the following:
Step 1.
Step 2 is skipped. We do not install the database, we will use a shared database, the access data is in the mikr.us panel. InstruBazy danych nie instalujemy, będziemy korzystać z bazy współdzielonej, dane dostępowe znajdują się w panelu mikr.usa. Manual:
https://www.facebook.com/groups/mikrusy/learning_content/?filter=2830942186953036&post=256041555449185
Step 3. Install PHP 7.4 using the instructions at:
https://computingforgeeks.com/how-to-install-php-on-ubuntu/
Ad-on modules and final configuration take from the first ling changing 7.1 to 7.4
Step 4. Nope
Step 5 – 9. We follow the instructions. We get the data for database configuration from panel. And in nginx configuration change
unix:/var/run/php/php7.1-fpm.sock
to
unix:/var/run/php/php7.4-fpm.sock
That’s it, wordpress works and it’s great. Only the address is weak, because it looks like this: http://[1080:0:0:0:8:800:200C:417A].
If we have a domain then we can redirect it to mikr.us using the “Cloudflare i Mikrus” instructions:
https://www.facebook.com/groups/mikrusy/learning_content/?filter=2830942186953036&post=1155889001448056