Adding site from upload¶
1. Create a WordPress files .tar.gz¶
Create a compressed tar archive of your entire WordPress directory.
sudo tar --create --gzip --file /tmp/wordpress-files.tar.gz /path/to/wordpress
2. Create a WordPress database dump¶
Create a MySQL dump using the mysqldump
program.
mysqldump --single-transaction --skip-lock-tables wordpress >/tmp/wordpress-database.sql
Optionally, you can compress this file using the gzip command.
gzip /tmp/wordpress-database.sql
This will compress the file and rename it to /tmp/wordpress-database.sql.gz
3. Add a site and upload files¶
After adding the domain and creating DNS records, select the Upload tab and these files to create your new site.