Join the community today
Become a Member

Anyone suggest me a best way to migrate wordpress Word

Discussion in 'Install & Upgrades or Pre-Install Questions' started by jamil khan, May 28, 2020.

  1. jamil khan

    jamil khan New Member

    3
    0
    1
    Oct 18, 2019
    Ratings:
    +0
    Local Time:
    2:17 PM
    Hello everyone i'm using centminmod since 2 year with Google cloud platform i just simply install centmin mod and wordpress with 22 menu its quite easy to use but i'm i noob i dont have that much coding knowledge.Now i i want to migrate my wordpress with another centminmod server but I didn't find a guide anywhere please help me regarding this issue didn't suggest pulgin i want to do it with SSH with 0 downtime.

    I have another issue with centminmod
    I can't access to ftp with Google cloud i have try to add firewall rule but don't know how to do that


    Second question is if i increase server resources using instance edit should have to reinstall centminmod or it will care automatically
     
  2. eva2000

    eva2000 Administrator Staff Member

    58,894
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    6:47 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Centmin Mod installs CSF Firewall and auto configures all the ports whitelisting required for Centmin Mod installed software to function. You can see the outline of ports at CSF - Centmin Mod LEMP stack CSF Firewall default port listing.

    Google Cloud Compute like Amazon EC2 have their own Firewall in front of their virtual machine servers which is locked down tight by default see Firewall Rules Overview | VPC | Google Cloud. You need to configure Google Cloud's Firewall to open up and whitelist ports matching CSF Firewall's port list at CSF - Centmin Mod LEMP stack CSF Firewall default port listing

    For Google Cloud Firewall default is an internal private IP assigned only. So need to assign an external public IP too
    For moving site data there's 2 general guides where the principles & steps of backing up and moving data is the same just slightly different for
    1. Moving Centmin Mod site data to another Centmin Mod server
    2. Moving cPanel/WHM site data to Centmin Mod server
    Those guides move alot more than just the site(s) in question but config files etc. You can use your own best judgement as to the config files and whether you want to move them or just use the fresh server setup Centmin Mod config files as they get auto optimised for the server Centmin Mod initially installed on.

    If your old site isn't centmin mod or cpanel/whm based, then those guides won't be 100% applicable. But the general overview of what needs moving and where everything is structured in Centmin Mod LEMP environment is worth reading up on.

    Also official site configuration files page explains the Centmin Mod structure of where the important files are so you can decide on what to backup.
     
  3. jamil khan

    jamil khan New Member

    3
    0
    1
    Oct 18, 2019
    Ratings:
    +0
    Local Time:
    2:17 PM
    Thanks for your reply is there anyway to get database username and password details i i choose to 22 menu to install WordPress and didn't save username password.also want to know that just need to whitelist port 21 in Google cloud firewall or csf too
     
  4. eva2000

    eva2000 Administrator Staff Member

    58,894
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    6:47 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    You can check the centmin.sh menu option 22 log located in /root/centminlogs at /root/centminlogs/centminmod_*_wordpress_addvhost.log based log where * is the centminmod version and date timestamp. Every centmin.sh menu option has automatic log saved for it's run at /root/centminlogs :)