wordpress.tar.gz を解凍して、 .../wp/ 以下に纏めたとする。
chmod -R 755 .../wp/
とするのは下準備として、mysqlにデータベースを作らなくてはならない。
赤文字の部分を入力してください。
makoto@hyper ~ $ mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 437
Server version: 10.0.28-MariaDB-2+b1 Raspbian testing-staging
Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]>
MariaDB [(none)]> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mt |
| mysql |
| performance_schema |
| wp_designer |
| wp_engineer |
+--------------------+
6 rows in set (0.00 sec)
ariaDB [(none)]> create database wp_match;
Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]> GRANT ALL PRIVILEGES ON wp_match.* TO "root"@"localhost" IDENTIFIED BY "password";
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mt |
| mysql |
| performance_schema |
| wp_designer |
| wp_engineer |
| wp_match |
+--------------------+
7 rows in set (0.00 sec)
MariaDB [(none)]> \q
Bye
makoto@hyper ~ $
コメント