wordpress wp

Published by onesixx on

https://www.lesstif.com/system-admin/wp-cli-22643947.html

$ cd /onesixx/www/sixx/
$ curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 5951k  100 5951k    0     0  45.0M      0 --:--:-- --:--:-- --:--:-- 45.4M


$ chmod +x wp-cli.phar
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_CTYPE = "UTF-8",
    LANG = "ko_KR.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

$ php wp-cli.phar --info
OS: Linux 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64
Shell:  /bin/bash
PHP binary: /usr/local/php/bin/php
PHP version:    7.0.0p1
php.ini used:   /usr/local/php/lib/php.ini
MySQL binary:
MySQL version:
SQL modes:
WP-CLI root dir:    phar://wp-cli.phar/vendor/wp-cli/wp-cli
WP-CLI vendor dir:  phar://wp-cli.phar/vendor
WP_CLI phar path:   /onesixx/www
WP-CLI packages dir:
WP-CLI global config:
WP-CLI project config:
WP-CLI version: 2.5.0

$ ln -s /onesixx/www/sixx/wp-cli.phar ./wp

$ php wp plugin list
+-----------------------------------+----------+--------+---------+
| name                              | status   | update | version |
+-----------------------------------+----------+--------+---------+
| adblock-notify-by-bweb            | active   | none   | 2.4.0   |
| ad-inserter                       | inactive | none   | 2.7.4   |
| advanced-gutenberg-blocks         | inactive | none   | 1.9.8   |
| akismet                           | inactive | none   | 4.2.1   |
| taxonomy-terms-order              | inactive | none   | 1.5.7.7 |
| category-wise-search              | inactive | none   | 1.3     |
| wp-codemirror-block               | inactive | none   | 1.2.3   |
| display-posts-shortcode           | inactive | none   | 3.0.2   |
| fast-velocity-minify              | inactive | none   | 3.2.2   |
| cloudflare-flexible-ssl           | inactive | none   | 1.3.1   |
| google-analytics-dashboard-for-wp | inactive | none   | 7.1.0   |
| insert-headers-and-footers        | inactive | none   | 1.6.0   |
| katex                             | inactive | none   | 2.2.3   |
| login-logout-register-menu        | inactive | none   | 2.0     |
| themeisle-companion               | inactive | none   | 2.10.8  |
| ssl-insecure-content-fixer        | inactive | none   | 2.7.2   |
| wpdiscuz                          | inactive | none   | 7.3.4   |
| wp-external-links                 | inactive | none   | 2.50    |
| wp-file-manager                   | inactive | none   | 7.1.2   |
| wps-hide-login                    | inactive | none   | 1.8.7   |
+-----------------------------------+----------+--------+---------+

$ php wp plugin activate ssl-insecure-content-fixer
Plugin 'ssl-insecure-content-fixer' activated.
Success: Activated 1 of 1 plugins.


$ php wp theme activate twentytwentyone
Success: Switched to 'Twenty Twenty-One' theme.

$ php wp theme list
+-----------------+----------+--------+---------+
| name            | status   | update | version |
+-----------------+----------+--------+---------+
| hestia          | inactive | none   | 3.0.19  |
| hestiachild     | inactive | none   | 19.1.05 |
| twentytwenty    | inactive | none   | 1.8     |
| twentytwentyone | active   | none   | 1.4     |
+-----------------+----------+--------+---------+
Categories: BLOG

onesixx

Blog Owner

Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x