- 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.
推薦閱讀
- 傳感器技術實驗教程
- 輕松學Java
- PHP開發手冊
- 自動化控制工程設計
- Photoshop CS3圖像處理融會貫通
- Cloudera Administration Handbook
- 變頻器、軟啟動器及PLC實用技術260問
- 深度學習與目標檢測
- Applied Data Visualization with R and ggplot2
- Learn QGIS
- ADuC系列ARM器件應用技術
- Learning iOS 8 for Enterprise
- Flash CS3動畫制作
- Hands-On Generative Adversarial Networks with Keras
- Mastering Android Game Development with Unity