ラズベリーパイを使ってみる-ブログを作る!(wordpress)-

スポンサーリンク



コマンド一つで簡単にできます!ラズベリーパイ2で動作しました!

ソフトをインストールするためのコマンド

以下のコマンドを実行すると、インストールできます。コピペでもOKです!

sudo apt-get install wordpress

途中で以下のようなメッセージが出たら、[Y]キーを押した後[ENTER]キーを押してください。

続行しますか? [Y/n]

インストール時の様子

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libao-common libao4 libdbd-mysql-perl libdbi-perl libjs-cropper libjs-mediaelement libjs-prototype libjs-scriptaculous libmysqlclient18 libphp-phpmailer libterm-readkey-perl mysql-client
  mysql-client-5.5 mysql-common php-getid3 php5-gd php5-mysql vorbis-tools wordpress-l10n wordpress-theme-twentyfifteen
Suggested packages:
  libclone-perl libmldbm-perl libnet-daemon-perl libsql-statement-perl mail-transport-agent mysql-server
The following NEW packages will be installed:
  libao-common libao4 libdbd-mysql-perl libdbi-perl libjs-cropper libjs-mediaelement libjs-prototype libjs-scriptaculous libmysqlclient18 libphp-phpmailer libterm-readkey-perl mysql-client
  mysql-client-5.5 mysql-common php-getid3 php5-gd php5-mysql vorbis-tools wordpress wordpress-l10n wordpress-theme-twentyfifteen
0 upgraded, 21 newly installed, 0 to remove and 27 not upgraded.
Need to get 130 kB/12.3 MB of archives.
After this operation, 93.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y     
Get:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main libphp-phpmailer all 5.2.9+dfsg-2+deb8u1 [130 kB]
Fetched 130 kB in 2s (52.3 kB/s)     
Selecting previously unselected package mysql-common.
(Reading database ... 128032 files and directories currently installed.)
Preparing to unpack .../mysql-common_5.5.44-0+deb8u1_all.deb ...
Unpacking mysql-common (5.5.44-0+deb8u1) ...
Selecting previously unselected package libmysqlclient18:armhf.
Preparing to unpack .../libmysqlclient18_5.5.44-0+deb8u1_armhf.deb ...
Unpacking libmysqlclient18:armhf (5.5.44-0+deb8u1) ...
Selecting previously unselected package libao-common.
Preparing to unpack .../libao-common_1.1.0-3_armhf.deb ...
Unpacking libao-common (1.1.0-3) ...
Selecting previously unselected package libao4.
Preparing to unpack .../libao4_1.1.0-3_armhf.deb ...
Unpacking libao4 (1.1.0-3) ...
Selecting previously unselected package libdbi-perl.
Preparing to unpack .../libdbi-perl_1.631-3+b1_armhf.deb ...
Unpacking libdbi-perl (1.631-3+b1) ...
Selecting previously unselected package libdbd-mysql-perl.
Preparing to unpack .../libdbd-mysql-perl_4.028-2+b1_armhf.deb ...
Unpacking libdbd-mysql-perl (4.028-2+b1) ...
Selecting previously unselected package libjs-prototype.
Preparing to unpack .../libjs-prototype_1.7.1-3_all.deb ...
Unpacking libjs-prototype (1.7.1-3) ...
Selecting previously unselected package libjs-scriptaculous.
Preparing to unpack .../libjs-scriptaculous_1.9.0-2_all.deb ...
Unpacking libjs-scriptaculous (1.9.0-2) ...
Selecting previously unselected package libjs-cropper.
Preparing to unpack .../libjs-cropper_1.2.2-1_all.deb ...
Unpacking libjs-cropper (1.2.2-1) ...
Selecting previously unselected package libjs-mediaelement.
Preparing to unpack .../libjs-mediaelement_2.15.1+dfsg-1_all.deb ...
Unpacking libjs-mediaelement (2.15.1+dfsg-1) ...
Selecting previously unselected package libphp-phpmailer.
Preparing to unpack .../libphp-phpmailer_5.2.9+dfsg-2+deb8u1_all.deb ...
Unpacking libphp-phpmailer (5.2.9+dfsg-2+deb8u1) ...
Selecting previously unselected package libterm-readkey-perl.
Preparing to unpack .../libterm-readkey-perl_2.32-1+b2_armhf.deb ...
Unpacking libterm-readkey-perl (2.32-1+b2) ...
Selecting previously unselected package mysql-client-5.5.
Preparing to unpack .../mysql-client-5.5_5.5.44-0+deb8u1_armhf.deb ...
Unpacking mysql-client-5.5 (5.5.44-0+deb8u1) ...
Selecting previously unselected package mysql-client.
Preparing to unpack .../mysql-client_5.5.44-0+deb8u1_all.deb ...
Unpacking mysql-client (5.5.44-0+deb8u1) ...
Selecting previously unselected package php-getid3.
Preparing to unpack .../php-getid3_1.9.8-3_all.deb ...
Unpacking php-getid3 (1.9.8-3) ...
Selecting previously unselected package php5-gd.
Preparing to unpack .../php5-gd_5.6.14+dfsg-0+deb8u1_armhf.deb ...
Unpacking php5-gd (5.6.14+dfsg-0+deb8u1) ...
Selecting previously unselected package php5-mysql.
Preparing to unpack .../php5-mysql_5.6.14+dfsg-0+deb8u1_armhf.deb ...
Unpacking php5-mysql (5.6.14+dfsg-0+deb8u1) ...
Selecting previously unselected package vorbis-tools.
Preparing to unpack .../vorbis-tools_1.4.0-6_armhf.deb ...
Unpacking vorbis-tools (1.4.0-6) ...
Selecting previously unselected package wordpress-theme-twentyfifteen.
Preparing to unpack .../wordpress-theme-twentyfifteen_4.1+dfsg-1+deb8u6_all.deb ...
Unpacking wordpress-theme-twentyfifteen (4.1+dfsg-1+deb8u6) ...
Selecting previously unselected package wordpress.
Preparing to unpack .../wordpress_4.1+dfsg-1+deb8u6_all.deb ...
Unpacking wordpress (4.1+dfsg-1+deb8u6) ...
Selecting previously unselected package wordpress-l10n.
Preparing to unpack .../wordpress-l10n_4.1+dfsg-1+deb8u6_all.deb ...
Unpacking wordpress-l10n (4.1+dfsg-1+deb8u6) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for libapache2-mod-php5 (5.6.14+dfsg-0+deb8u1) ...
Processing triggers for mime-support (3.58) ...
Setting up mysql-common (5.5.44-0+deb8u1) ...
Setting up libmysqlclient18:armhf (5.5.44-0+deb8u1) ...
Setting up libao-common (1.1.0-3) ...
Setting up libao4 (1.1.0-3) ...
Setting up libdbi-perl (1.631-3+b1) ...
Setting up libdbd-mysql-perl (4.028-2+b1) ...
Setting up libjs-prototype (1.7.1-3) ...
Setting up libjs-scriptaculous (1.9.0-2) ...
Setting up libjs-cropper (1.2.2-1) ...
Setting up libjs-mediaelement (2.15.1+dfsg-1) ...
Setting up libphp-phpmailer (5.2.9+dfsg-2+deb8u1) ...
Setting up libterm-readkey-perl (2.32-1+b2) ...
Setting up mysql-client-5.5 (5.5.44-0+deb8u1) ...
Setting up mysql-client (5.5.44-0+deb8u1) ...
Setting up php-getid3 (1.9.8-3) ...
Setting up php5-gd (5.6.14+dfsg-0+deb8u1) ...

Creating config file /etc/php5/mods-available/gd.ini with new version
php5_invoke: Enable module gd for cli SAPI
php5_invoke: Enable module gd for apache2 SAPI
Setting up php5-mysql (5.6.14+dfsg-0+deb8u1) ...

Creating config file /etc/php5/mods-available/mysql.ini with new version
php5_invoke: Enable module mysql for cli SAPI
php5_invoke: Enable module mysql for apache2 SAPI

Creating config file /etc/php5/mods-available/mysqli.ini with new version
php5_invoke: Enable module mysqli for cli SAPI
php5_invoke: Enable module mysqli for apache2 SAPI

Creating config file /etc/php5/mods-available/pdo_mysql.ini with new version
php5_invoke: Enable module pdo_mysql for cli SAPI
php5_invoke: Enable module pdo_mysql for apache2 SAPI
Setting up vorbis-tools (1.4.0-6) ...
Setting up wordpress-theme-twentyfifteen (4.1+dfsg-1+deb8u6) ...
Setting up wordpress (4.1+dfsg-1+deb8u6) ...
Added to /var/lib/wordpress/wp-content/themes: twentyfifteen 
Added to /var/lib/wordpress/wp-content/plugins: akismet index.php 
Added to /var/lib/wordpress/wp-content/languages: admin-ar.mo admin-bs_BA.mo admin-ca.mo admin-cy.mo admin-da_DK.mo admin-de_DE.mo admin-el.mo admin-es_ES.mo admin-es_PE.mo admin-et.mo admin-eu.mo admin-fa_IR.mo admin-fi.mo admin-fr_FR.mo admin-gl_ES.mo admin-he_IL.mo admin-hr.mo admin-it_IT.mo admin-ja.mo admin-ko_KR.mo admin-my_MM.mo admin-network-ar.mo admin-network-bs_BA.mo admin-network-ca.mo admin-network-cy.mo admin-network-da_DK.mo admin-network-de_DE.mo admin-network-el.mo admin-network-es_ES.mo admin-network-es_PE.mo admin-network-et.mo admin-network-fa_IR.mo admin-network-fi.mo admin-network-fr_FR.mo admin-network-gl_ES.mo admin-network-he_IL.mo admin-network-hr.mo admin-network-it_IT.mo admin-network-ja.mo admin-network-ko_KR.mo admin-network-my_MM.mo admin-network-ru_RU.mo admin-network-sk_SK.mo admin-network-sl_SI.mo admin-network-sq.mo admin-network-sr_RS.mo admin-network-sv_SE.mo admin-network-ug_CN.mo admin-network-zh_CN.mo admin-network-zh_TW.mo admin-ru_RU.mo admin-sk_SK.mo admin-sl_SI.mo admin-sq.mo admin-sr_RS.mo admin-sv_SE.mo admin-ug_CN.mo admin-zh_CN.mo admin-zh_TW.mo ar.mo bg_BG.mo bn_BD.mo bs_BA.mo ca.mo ckb.mo continents-cities-bg_BG.mo continents-cities-bs_BA.mo continents-cities-cs_CZ.mo continents-cities-cy.mo continents-cities-da_DK.mo continents-cities-de_DE.mo continents-cities-el.mo continents-cities-en_CA.mo continents-cities-es_PE.mo continents-cities-et.mo continents-cities-eu.mo continents-cities-fa_IR.mo continents-cities-fi.mo continents-cities-fr_FR.mo continents-cities-gd.mo continents-cities-he_IL.mo continents-cities-hr.mo continents-cities-hu_HU.mo continents-cities-it_IT.mo continents-cities-ja.mo continents-cities-ka_GE.mo continents-cities-ko_KR.mo continents-cities-lv.mo continents-cities-mk_MK.mo continents-cities-my_MM.mo continents-cities-nb_NO.mo continents-cities-nn_NO.mo continents-cities-pl_PL.mo continents-cities-pt_BR.mo continents-cities-pt_PT.mo continents-cities-ro_RO.mo continents-cities-ru_RU.mo continents-cities-sk_SK.mo continents-cities-sl_SI.mo continents-cities-sq.mo continents-cities-sr_RS.mo continents-cities-su_ID.mo continents-cities-sv_SE.mo continents-cities-ta_LK.mo continents-cities-tr_TR.mo continents-cities-ug_CN.mo continents-cities-vi.mo continents-cities-zh_CN.mo continents-cities-zh_TW.mo cs_CZ.mo cy.mo da_DK.mo de_DE.mo el.mo en_CA.mo eo.mo es_CL.mo es_ES.mo es_PE.mo et.mo eu.mo fa_IR.mo fi.mo fr_FR.mo gd.mo gl_ES.mo he_IL.mo hr.mo hu_HU.mo id_ID.mo it_IT.mo ja.mo jv_ID.mo ka_GE.mo ko_KR.mo lv.mo mk_MK.mo ms_MY.mo my_MM.mo nb_NO.mo nl.mo nl_NL.mo pl_PL.mo pt_BR.mo pt_PT.mo ro_RO.mo ru_RU.mo ru_UA.mo si_LK.mo sk_SK.mo sl_SI.mo sq.mo sr_RS.mo su_ID.mo sv_SE.mo sw.mo ta_LK.mo th.mo tr_TR.mo ug_CN.mo uk.mo ur.mo vi.mo zh_CN.mo zh_HK.mo zh_TW.mo 
Setting up wordpress-l10n (4.1+dfsg-1+deb8u6) ...
Processing triggers for libc-bin (2.19-18+deb8u1) ...
Processing triggers for libapache2-mod-php5 (5.6.14+dfsg-0+deb8u1) ...