# Download and Configure WordPress
wp core download
wp core config --dbhost=host.db --dbname=prefix_db --dbuser=username --dbpass=password
# Configure wp-config.php
chmod 644 wp-config.php
wp core install --url=yourwebsite.com --title="Your Blog Title" --admin_name=wordpress_admin --admin_password=4Long&Strong1 [email protected]
# Enable File Uploading
cd wp-content
mkdir uploads
chgrp web uploads/
chmod 775 uploads/
Created
January 7, 2018 19:21
-
-
Save juyal-ahmed/27eb2ed492430c28e365f7d9da006371 to your computer and use it in GitHub Desktop.
Install WordPress via WP-CLI
Author
juyal-ahmed
commented
Nov 21, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment