Advanced WordPress Management Using WP-CLI on Alibaba Cloud ECS — Part 1

1. Install WP-CLI on your Alibaba Instance

$ chmod +x wp-cli.phar
$ sudo mv wp-cli.phar /usr/local/bin/wp

2. Prepare WordPress installation and User permissions

$ cd /var/www
$ ls -l
$ sudo chmod -R 775 /var/www/an-example-domain.com
$ ls -l

3. WordPress Core Commands

$ wp core update
$ wp core version

4. Managing WordPress Content

$ wp revisions clean -1 --post_type=post
$ wp revisions list

--

--

--

Follow me to keep abreast with the latest technology news, industry insights, and developer trends. Alibaba Cloud website:https://www.alibabacloud.com

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How To Set Up vsftpd for a User’s Directory on Ubuntu 16.04

Installing IBM DOC 4.0.0 from scratch on Windows: a video tutorial

Web Application on AWS EKS:

Time for a new managed services provider? Ask these questions to decide

8 Powerful Points To Remember For Outsourcing Software Development

Packing — Puzzle for Interview Rounds

Signs That You’ve Outgrown Github, Part 1: Labels

Microsoft Power Apps: The privilege to transform difficult tasks into powerful business apps

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alibaba Cloud

Alibaba Cloud

Follow me to keep abreast with the latest technology news, industry insights, and developer trends. Alibaba Cloud website:https://www.alibabacloud.com

More from Medium

Retrieve random documents from Meilisearch

Testing sending email on Laravel Vapor using AWS SES

Deployment of a Dart Server on Heroku

Nginx: Automatic Googlebot Whitelist