月別アーカイブ: 2019年6月

WordPress plugins I installed.

I installed my WordPress Blog, I mean this!, below.

  • BackWPup (to backup WordPress files)
  • Google Analytics for WordPress by MonsterInsights (to analyze the access of my blog)
  • Feed Them Social (to feed my tweet)
  • Instagram Feed (to feed my Instagram)

These suit me now.

The problems with plastics.

About one year ago, I’ve interested in the problems with plastics. We easy to see the photos of that. For example, below:
https://bit.ly/2WdtBam

Plastics make our life and society. So we need to use that to spend our life. I think it is not possible we ban using plastics. It’s real. We have two points about that: (1) We hard to create new business with plastics, (2) Illegal dumping.

I try to create a plastic recycling business.
The business makes the world brighter, I believe.

1年ほど前から、プラスチックごみ問題に、更に高い関心を寄せている。
ちょっとGoogle検索するだけで、多くの痛ましい写真が出てくる。

例えば、以下(※少し過激なものもあるので注意)
https://bit.ly/2WdtBam

プラスチックは、僕たちの生活に溶け込んでいるから、利用しない・完全撤廃というのは無理だと思う。問題は、不当に廃棄することと、リサイクルがビジネスになりにくいことだと思う。

もっと調べて、ビジネスにならないか模索しようと思う。
ボランティアにも限界はある。
ビジネスこそが、世界を明るくする。

DTI, Serversman (VPS) で、PHP5.4→7.3へアップデートした時のメモ

ServersmanのVPSを利用している。
最近、VPSを初期化(ブログセット)したが、PHP5.4なので、最新の7.3にアップグレードした。
少し手間取ったので、自分メモだけど、投稿。
誰かの糧になるのなら、幸い。

PHP環境

<以降前のPHP環境>
php-common-5.4.16-23.el7_0.x86_64
php-pdo-5.4.16-23.el7_0.x86_64
php-xml-5.4.16-23.el7_0.x86_64
php-5.4.16-23.el7_0.x86_64
php-cli-5.4.16-23.el7_0.x86_64
php-gd-5.4.16-23.el7_0.x86_64
php-mysql-5.4.16-23.el7_0.x86_64
php-mbstring-5.4.16-23.el7_0.x86_64

<以降後のPHP環境>
php-common-7.3.6-3.el7.remi.x86_64
php-cli-7.3.6-3.el7.remi.x86_64
php-pdo-7.3.6-3.el7.remi.x86_64
php-gd-7.3.6-3.el7.remi.x86_64
php-mysqlnd-7.3.6-3.el7.remi.x86_64
php-xml-7.3.6-3.el7.remi.x86_64
php-json-7.3.6-3.el7.remi.x86_64
php-mbstring-7.3.6-3.el7.remi.x86_64
php-7.3.6-3.el7.remi.x86_64

実際の作業コマンドなど

  1. yum install epel-release
  2. rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
  3. yum update –enablerepo=remi,remi-php73 php php-pdo php-mbstring php-common php-cli php-mysql php-xml php-cli php-gd php-mysql
  4. 「Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again」というエラー発生
  5. /etc/yum.repos.d/epel.repo で、Path変更(参考: http://d.hatena.ne.jp/C_6B4A2B/20130427/1367073209 )
  6. 再度実行→
    yum update –enablerepo=remi,remi-php73 php php-pdo php-mbstring php-common php-cli php-mysql php-xml php-cli php-gd php-mysql
  7. 完了
  8. > php -v
    PHP 7.3.6 (cli) (built: May 28 2019 09:32:59) ( NTS )
    Copyright (c) 1997-2018 The PHP Group
    Zend Engine v3.3.6, Copyright (c) 1998-2018 Zend Technologies 
  9. > rpm -qa | grep php
    php-common-7.3.6-3.el7.remi.x86_64
    php-cli-7.3.6-3.el7.remi.x86_64
    php-pdo-7.3.6-3.el7.remi.x86_64
    php-gd-7.3.6-3.el7.remi.x86_64
    php-mysqlnd-7.3.6-3.el7.remi.x86_64
    php-xml-7.3.6-3.el7.remi.x86_64
    php-json-7.3.6-3.el7.remi.x86_64
    php-mbstring-7.3.6-3.el7.remi.x86_64
    php-7.3.6-3.el7.remi.x86_64

久々にコマンド叩いた。気持ちいい。
4のエラーには、リポジトリのPathを変更してやればOKということが分かって、勉強にもなった。

New World.

心機一転、ブログを更新。
自分の経験や考えが、誰かの糧になれば良いな。

行動なくして、結果なし。
自分を、信じる。
全てのことは、うまくいく。良い方に進む。
前を向いて、日々進む。