Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Search documents in re VirtualBox 6.1.10

  1. #11
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    15,035
    Distro
    Kubuntu 20.04 Focal Fossa

    Re: Search documents in re VirtualBox 6.1.10

    I can't help. I use Apache and mod_php on CentOS 6.

    But, yes, you'll likely need a web server, PHP, and MySQL.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  2. #12
    Join Date
    Apr 2006
    Beans
    2,673

    Re: Search documents in re VirtualBox 6.1.10

    Quote Originally Posted by SeijiSensei View Post
    I can't help. I use Apache and mod_php on CentOS 6.

    But, yes, you'll likely need a web server, PHP, and MySQL.
    Hi all,

    Through pain and difficulties and having spent almost 2 days to sort out;
    How to migrate a website to a local server with Duplicator plugin.

    No help from the developer nor having any advice from the wordoress.org forum

    The complete procedure is listed below, in brief;
    ------------------------------------------------


    Migrate a website, say mywebsite.com, running on Godaddy Server to a local PC. In my case a VM of Oracle VirtualBox

    Step 1
    ======

    Create a Ubuntu 20.04 desktop VM


    Step 2
    ====

    Following below document to install LAMP Stack;
    How to Install LAMP Stack on Ubuntu 20.04 Server/Desktop
    (LAMP stands for Linux, Apache, MariaDB/MySQL and PHP)
    https://www.linuxbabe.com/ubuntu/ins...server-desktop


    Step 3
    ====

    1)
    On VM run Firefox to browse mywebsite.com on Internet
    and follow below document adding Duplicator plugin;

    How to Migrate a WordPress Site with the Duplicator Plugin
    https://wpshout.com/quick-guides/mov...icator-plugin/

    and to create 2 files;
    1. 20200629_website_79eec7f79405c2886390_archive.daf
    2. installer.php

    (in my case)


    2)
    Download the files to the Downloads folder on VM

    On VM Terminal run following steps:-

    $ cd Downloads/

    $ sudo chown www-data:www-data 20200629_website_79eec7f79405c2886390_archive.daf
    $ sudo chown www-data:www-data installer.php

    $ sudo chmod 777 20200629_website_79eec7f79405c2886390_archive.daf
    $ sudo chmod 777 installer.php


    2)

    On VM Terminal run;

    $ sudo mkdir /var/www/html/satimis-site
    $ sudo chown www-data:www-data /var/www/html/satimis-site/

    $ sudo mv Downloads/20200629_website_79eec7f79405c2886390_archive.daf /var/www/html/satimis-site/
    $ sudo mv Downloads/installer.php /var/www/html/satimis-site/


    Step 4
    ======

    Create Database:-

    On VM Terminal run;

    $ sudo mariadb -u root

    MariaDB [(none)]> CREATE USER 'satimis'@localhost IDENTIFIED BY 'satimispasswd';
    Query OK, 0 rows affected (0.001 sec)

    MariaDB [(none)]> CREATE DATABASE satimisDB;

    MariaDB [(none)]> SHOW DATABASES;
    Code:
    +--------------------+
    | Database           |
    +--------------------+
    | satimisDB          |
    | information_schema |
    | mysql              |
    | performance_schema |
    +--------------------+
    4 rows in set (0.000 sec)
    MariaDB [(none)]> GRANT ALL PRIVILEGES ON satimisDB.* TO satimis@localhost;
    Query OK, 0 rows affected (0.000 sec)

    MariaDB [(none)]> FLUSH PRIVILEGES;
    Query OK, 0 rows affected (0.000 sec)

    MariaDB [(none)]> EXIT
    Bye

    $ sudo systemctl restart mariadb


    Step 5
    ====

    Following below document migrate mywebsite on VM;

    How to Migrate Your Website With Duplicator
    https://theme-fusion.com/documentati...th-duplicator/
    Starting from.... Install / Migrate
    -> Until finish

    On Firefox run;
    http://local-ip-address/satimis-site/installer.php

    and follow the steps to complete.


    Remark;

    ======
    I would prefer to run "All-in-One Migrator" Plugin migrating websites. The steps are much simplier and easier. The only disadvantage is for websites exceeding 500M in storage size then you have to pay.

    There are solutions on Internet to breakthrough. I'm not going to mention them here. Do a hack if you need.

    Duplicator plugin
    ==========

    For large storage websites, it is necessary breaking them to several files before download. I haven't tested it yet.

    Regards

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •