- Security Automation with Ansible 2
- Madhu Akula Akash Mahajan
- 127字
- 2021-07-02 21:59:58
CLI for WordPress
We will be using a tool called WP-CLI, which allows us to do many things in WordPress that traditionally require a web browser.
WP-CLI is the CLI for WordPress. You can update plugins, configure multisite installs, and much more, without using a web browser. For more information on WP-CLI, visit https://WP-CLI.org/, and for WordPress, visit https://wordpress.org/.
For example, the following command will download and set up a WordPress:
wp core install # with some options such as url, title of the website etc. etc.
A complete example can be found at https://developer.WordPress.org/cli/commands/core/#examples:
wp core install --url=example.com --title=Example --admin_user=supervisor --admin_password=strongpassword --admin_email=info@example.com
This example gives us a glimpse of the power of the WP-CLI tool when invoked from an Ansible playbook.
推薦閱讀
- Dreamweaver CS3 Ajax網頁設計入門與實例詳解
- Project 2007項目管理實用詳解
- Visualforce Development Cookbook(Second Edition)
- 精通MATLAB神經網絡
- Verilog HDL數字系統設計入門與應用實例
- Java實用組件集
- 程序設計語言與編譯
- Google App Inventor
- STM32G4入門與電機控制實戰:基于X-CUBE-MCSDK的無刷直流電機與永磁同步電機控制實現
- 計算機網絡技術實訓
- 水下無線傳感器網絡的通信與決策技術
- TensorFlow Reinforcement Learning Quick Start Guide
- INSTANT Munin Plugin Starter
- Windows安全指南
- 工業機器人入門實用教程