Categories
Uncategorized

Memorandum #9.

同一記事の日本語版

A flock of sparrows
A flock of sparrows
   Yesterday, I saw a pretty flock of sparrows. Nowadays this is very rare in my town though I often saw flocks of sparrows in the rice fields when I was a child. I think the opportunities to see sparrows are decreased despite they were very popular birds and we have a lot of folktales of them. I took a picture of them.
Shrohara???
Shrohara???
 
   Today I saw the bird on the left image. I think this is Shirohara. Am I correct?
 
   By the way, I updated some server software on my Web server yesterday (The server OS is Win7 HP SP1 x86).
 

Categories
Uncategorized

phpMyAdmin 4.3.0 is released.

同一記事の日本語版

   They released phpMyAdmin 4.3.0 on December 5 and 4.3.1 on December 8. So I updated to 4.3.1 from 4.2.13.1 yesterday. Here is the ChangeLogs. The 4.3.0 has a tons of improvements by RFE(Request for enhancement). The 4.3.1 is a bugfix version.

   I downloaded a phpMyAdmin-4.3.1-english.zip, extracted it, copied my old config.inc.php to the phpmyadmin folder made from extracting, and uploaded all of them to the server (See “To create a Wamp-like Web Server in Windows7-#3.“).

   By the way, when I compared the new config.sample.inc.php with my old one(=Ver.4.2.x), I found a line was lost and a line was added.

At /* Storage database and tables */ area
   The lost line.
     // $cfg[‘Servers’][$i][‘designer_coords’] = ‘pma__designer_coords’;

   The added line.
     // $cfg[‘Servers’][$i][‘central_columns’] = ‘pma__central_columns’;

4.3.1 alerts
4.3.1 alerts
   So, when I logged on the new phphmyadmin as root at the first time, I got “The phpMyAdmin configuration storage is not completely configured, some extended features have been deactivated. Find out why. Or alternately go to ‘Operations’ tab of any database to set up it there”.

   By clicking ‘Find out why’, I got the alerts like the right image.

   I had instructions, too.

     Quick steps to setup advanced features:

     Create the needed tables with the ./examples/create_tables.sql.
     Create a pma user and give access to these tables.
     Enable advanced features in configuration file (config.inc.php), for example by starting
     from config.sample.inc.php.
     Re-login to phpMyAdmin to load the updated configuration file.

   I did the followings.

  1. Log on the new version with the old config.inc.php as root.
  2. Add the ALTER privilege to the controluser(Default : pma) on the database phpmyadmin.
  3. Import the new create_tables.sql. If you change the database name(Default : phpmyadmin) and the controluser name(Default : pma), you need to customize the sql file before import. See “Configuration storage“.
  4. Log out.
  5. Edit the old config.inc.php.
    • Delete the line.
           $cfg[‘Servers’][$i][‘designer_coords’] = ‘pma__designer_coords’;
    • Add the line.
           $cfg[‘Servers’][$i][‘central_columns’] = ‘pma__central_columns’;
  6. Log on as root, again.
  7. Drop the table pma__designer_coords.

   That’s it.

   About pma__central_columns, see central_columns.

Categories
translation

The translation “Seijō no Ran (青条の蘭)”-#9.

   I’ve posted the chapter 5, “Seijō no Ran (青条の蘭)” after a long interval.

   I have added some new explanations to the notes.

   I’ve tried to remove Kanjis from the old translations, though it is not progressing as much as I hope (;´o`).

Categories
everyday life

Yesterday Hayabusa 2 successfully launched!!

同一記事の日本語版

   Yesterday Hayabusa 2 successfully launched, wow!! At that time, I spent hours watching the live streaming on YouTube. What were you doing?

   You can watch the video on YouTube easily. “Asteroid Explorer ‘Hayabusa2’ Launch Live Broadcast”

   His return is scheduled in 2020. What a long journey!! The place where he would return is in Australia as same as his brother Hayabusa’s. I pray for peace. We have to protect the world peace, or, we could not recover its capsule if we have the war between Australia and Japan or WW III when his return. I think the peaceful uses of space require the peaceful world. But, the world… I hope that is my imaginary fears, though.

Categories
Linux

First VPS #3 : How to configure LAMP on CentOS7.

同一記事の日本語版

   Yesterday, they announced Hayabusa 2 Launch rescheduled again. The new schedule for it is at 13:22:04 on December 3(JST). I hope good weather which makes third time lucky aha.

   I’ll create a LAMP server on CentOS7 with SELinux enforcing in VPS.
   But before this, I did the three four things.

  1. $ sudo vi /etc/pam.d/su
    Then, uncomment the next line.
    #auth required pam_wheel.so use_uid –>> auth required pam_wheel.so use_uid
    Now the OS permits for only the users in Wheel Group can become root by ‘su’ command.
  2. $ sudo vi /etc/aliases
    Then, uncomment the last line of the file and change the user name.
    #root: marc –>> root: centos
    $ sudo newaliases
    By this, the user centos can get root’s mail.
  3. Check up on the time zone.
    $ sudo timedatectl status
    Everything is OK.
    $ sudo systemctl status chronyd.service
    I had “System clock wrong by 1.088336 seconds, adjustment started” in the result, so I edited /etc/chrony.conf.
    $ sudo vi /etc/chrony.conf
    In the file I found “# Use public servers from the pool.ntp.org project.”, and I went to pool.ntp.org. I added the lines with ‘+’ at their head and deleted ‘-’s by the instructions.
    +server 0.pool.ntp.org iburst
    +server 1.pool.ntp.org iburst
    +server 2.pool.ntp.org iburst
    +server 3.pool.ntp.org iburst
    server 0.centos.pool.ntp.org iburst
    server 1.centos.pool.ntp.org iburst
    server 2.centos.pool.ntp.org iburst
    server 3.centos.pool.ntp.org iburst
    Then, restart the service and check again.
    $ sudo systemctl restart chronyd.service
    $ sudo systemctl status chronyd.service
    Now everything is OK.
  4. For automatic updates.
    $ sudo yum install yum-cron
    $ sudo vi /etc/yum/yum-cron.conf
     line# 20: apply_updates = no –>> apply_updates = yes
    $ sudo systemctl start yum-cron.service
    $ sudo systemctl enable yum-cron.service

1 Install Apache Httpd   2 Install MariaDB   3 Install PHP
4 Install phpMyAdmin   5 Install vsftpd

 
||Install Apache Httpd||

  1. $ sudo yum install httpd
    The installed version is httpd.x86_64 2.4.6-18.el7.centos.
  2. Edit /etc/httpd/conf/httpd.conf.
    $ sudo vi /etc/httpd/conf/httpd.conf
     
    Show line numbers by ‘:set nu’.

    • line# 42: Listen 80 –>> Listen Server_global_IP:80
    • line# 86: ServerAdmin root@localhost –>> ServerAdmin My_email_address
    • line# 95: #ServerName www.example.com:80 –>> ServerName VPS_DomainName:80
    • line# 119: DocumentRoot "/var/www/html" –>> DocumentRoot "/home/centos/www/html"
    • line# 124: <Directory "/var/www"> –>> <Directory "/home/centos/www">
    • line# 131: <Directory "/var/www/html"> –>> <Directory "/home/centos/www/html">
    • line# 144: Options Indexes FollowSymLinks –>> Options FollowSymLinks
    • line# 151: AllowOverride None –>> AllowOverride FileInfo Indexes Limit
      In my case, this change is for WordPress use.
    • line# 164: DirectoryIndex index.html –>> DirectoryIndex index.php index.html
  3. Note) The location of exstra.conf files: /etc/httpd/conf.d
    The extra conf files by default: autoindex.conf, userdir.conf, welcome.conf
  4. Note2) The location of module.conf files: /etc/httpd/conf.modules.d/
  5. Note3) I do not rotate log files but the Apache Httpd seems to be able to make it automatically (See /var/log/httpd/ after more than one-day server running). From when can it do this?? Or is this CentOS7’s own feature?
  6. Usually ~userid has the permission 700, but it needs 701 for httpd accessibility. This information on the userdir.conf.
    $ chmod 701 centos
  7. I set the DocumentRoot to an user’s home directory, so I need to tell it to SELinux and to allow httpd to access User Home Directory. This information is on httpd_selinux(8). However, when I tried to read it, CentOS7 said it’s empty, oops!!
    See online httpd_selinux(8).
    $ sudo setsebool -P httpd_enable_homedirs on
    $ sudo systemctl start httpd.service
    I had the error message “Job for httpd.service failed. See ‘systemctl status httpd.service’ and ‘journalctl -xn’ for details.” when I first started httpd.service. Because I forgot to create ‘www’ and ‘html’ directories. So I made them as the user centos.
    [centos@localhost ~]$ mkdir www
    [centos@localhost ~]$ cd www
    [centos@localhost www]$ mkdir html
    Check the directories context.
    $ ls -Z
    drwxrwxr-x. test test unconfined_u:object_r:httpd_user_content_t:s0 www
    $ ls -Z
    drwxrwxr-x. test test unconfined_u:object_r:httpd_user_content_t:s0 html
  8. $ sudo systemctl start httpd.service again.
  9. $ sudo firewall-cmd --permanent --zone=public --add-service=http
    Httpd Testing page
    Httpd Testing page
    $ sudo firewall-cmd --reload
    $ sudo systemctl enable httpd.service
    Note4) Each Well-Known-Port seems to be set by default. So you don’t need firewall-cmd command for port 80.
  10. Access http://VPS_DomainName/. You can see a page like the right image.

||Install MariaDB||

  1. $ sudo yum install mariadb-server mariadb
    The installed version is mariadb.x86_64 1:5.5.40-1.el7_0 & mariadb-server.x86_64 1:5.5.40-1.el7_0.
  2. $ sudo systemctl start mariadb
  3. $ sudo mysql_secure_installation
    Enter current password for root (enter for none): <<-- Hit [Enter] key. Set root password? [Y/n] <<-- Hit [Enter] key. New password: <<-- Type a password for root. Re-enter new password: <<-- Type the password again.   Hit [Enter] key for each question below ⇩. Remove anonymous users? [Y/n]
    Disallow root login remotely? [Y/n]
    Remove test database and access to it? [Y/n]
    Reload privilege tables now? [Y/n]
  4. $ sudo systemctl enable mariadb.service

||Install PHP||

  1. $ sudo yum install php php-mysql php-mbstring
    The installed version is php.x86_64 5.4.16-23.el7_0.3 , php-mbstring.x86_64 5.4.16-23.el7_0.3 & php-mysql.x86_64 5.4.16-23.el7_0.3.
    At the instllation, the php.conf is created in /etc/httpd/conf.d automatically.
  2. Edit /etc/php.ini.
    $ sudo vi /etc/php.ini
     
    Show line numbers by ‘:set nu’.

    • line# 243: output_buffering = 4096 –>> output_buffering = Off
    • line# 314: disable_functions = –>> disable_functions ="shell_exec, suexec, passthru"
    • line# 375: expose_php = On –>> expose_php = Off
    • line# 811: allow_url_fopen = On –>> allow_url_fopen = Off
    • line# 878: ;date.timezone = –>> date.timezone ="Asia/Tokyo"

    Note5) The location of additional.ini files: /etc/php.d
    The additional ini files by default: curl.ini, fileinfo.ini, json.ini, mbstring.ini, mysql.ini, mysqli.ini, pdo.ini, pdo_mysql.ini, pdo_sqlite.ini, phar.ini, sqlite3.ini, zip.ini

  3. $ sudo systemctl restart httpd.service

||Install phpMyAdmin||

  1. I need phpMyAdmin he-he. However I could not find it among the three repositories, base, extras and updates. So, I added ‘epel’.
    $ sudo yum install epel-release
  2. $ sudo yum install phpmyadmin
    The installed version is phpMyAdmin.noarch 4.2.11-1.el7.
    At the instllation, the phpMyAdmin.conf is created in /etc/httpd/conf.d automatically.
  3. Edit /etc/httpd/conf.d/phpMyAdmin.conf
    $ sudo vi /etc/httpd/conf.d/phpMyAdmin.conf

    Here is my phpMyAdmin.conf. See below.
    # phpMyAdmin - Web based MySQL browser written in php
    #
    # Allows only localhost by default
    #
    # But allowing phpMyAdmin to anyone other than localhost should be considered
    # dangerous unless properly secured by SSL

    Alias /phpMyAdmin /usr/share/phpMyAdmin
    Alias /phpmyadmin /usr/share/phpMyAdmin

    <Directory /usr/share/phpMyAdmin/>
       AddDefaultCharset UTF-8

       <IfModule mod_authz_core.c>
         # Apache 2.4
         <RequireAny>
           Require ip my_global_IP
           Require host my_mobile_host
         </RequireAny>
       </IfModule>
    </Directory>

    <Directory /usr/share/phpMyAdmin/setup/>
       <IfModule mod_authz_core.c>
         # Apache 2.4
         <RequireAny>
           Require ip my_global_IP
           Require host my_mobile_host
         </RequireAny>
       </IfModule>
    </Directory>

  4. $ sudo systemctl restart httpd.service

||Install vsftpd||

  1. $ sudo yum install vsftpd
    The installed version is vsftpd.x86_64 3.0.2-9.el7.
  2. Edit /etc/vsftpd/vsftpd.conf.
    $ sudo vi /etc/vsftpd/vsftpd.conf
     
    Show line numbers by ‘:set nu’.

    • line# 12: anonymous_enable=YES –>> anonymous_enable=NO
    • line# 82: #ascii_upload_enable=YES –>> ascii_upload_enable=YES
    • line# 83: #ascii_download_enable=YES –>> ascii_download_enable=YES
    • line# 100: #chroot_local_user=YES –>> chroot_local_user=YES
    • line# 101: #chroot_list_enable=YES –>> chroot_list_enable=YES
    • line# 103: #chroot_list_file=/etc/vsftpd/chroot_list –>> chroot_list_file=/etc/vsftpd/chroot_list
    • line# 128: –>> local_root=www/html
  3. $ sudo setsebool -P ftp_home_dir on
    Because I uncomment local_enable=YES. This information is on the vsftpd.conf.
  4. $ sudo vi /etc/vsftpd/chroot_list
    I added ‘admin’ to the chroot_list.
  5. When I made “chroot_~” uncommented and an access via FTP as a normal user, I had 500 OOPS: vsftpd: refusing to run with writable root inside chroot(), so I added allow_writeable_chroot=YES to the vsftpd.conf. This information I found on 500 OOPS: vsftpd: refusing to run with writable root inside chroot() Login failed on debian.
    line# 104: –>> allow_writeable_chroot=YES
  6. $ sudo systemctl start vsftpd.service
    $ sudo systemctl enable vsftpd.service
    $ sudo firewall-cmd --permanent --zone=public --add-service=ftp
    $ sudo firewall-cmd --reload
Categories
Linux

First VPS #2 : Connecting via SSH.

同一記事の日本語版

   Yesterday morning WordPress 4.0.1 came. They say it is an update for fixing security issues, especially XSS. I encourage you to update to the version immediately if its not updated automatically. When I read “An extremely unlikely hash collision could allow a user’s account to be compromised, that also required that they haven’t logged in since 2008 (I wish I were kidding).”, I laughed despite myself. But I wouldn’t be laughing (Sigh).

   CentOS7 provides SSH feature by default. After changing OS, I connected to the VPS by SSH client named TeraTerm. Of course, you can use other SSH client software, for example, PuTTY, WinSCP, etc. The default SSH server version is 6.4p1-8 now.

   The default setting was less secure because I could connect to the VPS as a root user with root-password. So I changed the settings.

   Before this, I made a public key and a private key by TeraTerm. I set a passphrase to the private key. Of course, I can make the keys on the server, but in such a case I have to have the private key via the Internet. I hate this.

||First, to edit Sudoers File||

  1. Log in VPS Control Panel and click “リモートコンソール”, and then click “VNCコンソールを開く”.
  2. Click “HTML5モードで開く” within 60 seconds. QEMU pop-up in another window.
  3. # usermod -G wheel centos  <— “centos” is one of normal users I add to the Sudoers File.
    # visudo
    The Sudoers File opens.
  4. Search the line includes “wheel” by the command ‘/wheel’.
    If you find “#” at the head of “%wheel ALL=(ALL) ALL”, remove “#”. But I found no “#” with the head, so I had nothing to do.
    Note) How to use visudo is the same as how to use the vim editor.
  5. Quit visudo.
  6. # su - centos
  7. $ sudo shutdown -h now
  8. At the first time you use ‘sudo’, you have the followings.We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things:


    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

    And it requires your password like this.
    [sudo] password for centos:

  9. You can confirm the server halted at the page “VPS ホーム”. Reboot the server.

||Second, to install the package policycoreutils-python||

  1. Log on QEMU again. Install the package policycoreutils-python because I need the ‘semanage’ command for changing SSH port.
    # yum install policycoreutils-python

||Third, to change SSH settings||

  1. Run TeraTerm (ttermpro.exe). Log in VPS as the user “centos” with password.
  2. Drag&Drop the public key (id_rsa.pub) to TeraTerm Window. TeraTerm has SCP(Secure Copy Protocol) feature. Click “SCP” button.
  3. $ mkdir .ssh
    $ chmod 700 .ssh
    $ cat id_rsa.pub > .ssh/authorized_keys
    $ chmod 600 .ssh/authorized_keys
    $ rm -f id_rsa.pub
  4. $ su -
    Password:  <— Type the root password.
  5. # vi /etc/ssh/sshd_config
    The sshd_config opens.
  6. #Port22  —>  Port****
    #PermitRootLogin yes  —>  PermitRootLogin no
    PasswordAuthentication yes  —>  PasswordAuthentication no
     
    Overwrite and save the sshd_config.

    # systemctl restart sshd.service

    Note) **** is one of the numbers other than well-known ports. But the numbers are 0 – 65535.

  7. # firewall-cmd --permanent --zone=public --add-port=****/tcp
    # firewall-cmd --reload
    # semanage port -a -t ssh_port_t -p tcp ****
  8. # exit
    $ exit
    The connection is terminated.
  9. Run TeraTerm (ttermpro.exe) again. Log in VPS as the user “centos” with key authentication. At the time, use the new SSH port (****) and you need the passphrase of the private key.
  10. I used ‘sudo’ command via SSH.$ sudo firewall-cmd --list-all
    public (default, active)
    interfaces: eth0
    sources:
    services: dhcpv6-client ssh
    ports: ****/tcp
    masquerade: no
    forward-ports:
    icmp-blocks:
    rich rules:

   Mission complete!!

   By the way, I updated my PHP to 5.6.3 on Nov. 15th. ChangLog

Categories
Linux

First VPS #1 : How to install CentOS7.

同一記事の日本語版

   くりくりさん’s comment on the Japanese blog inspired me to use CentOS7 on さくらのVPS. I began to use a free trial for two weeks on 18th.

   Unfortunately, their service is only in Japanese and only for people who live in Japan. But, I think their service is well if you live in Japan. So, I’ll introduce how to register for it.

お申し込み
fig.1 お申し込み
||How to register for さくらのVPS||

  1. Go to さくらのVPS and click “お申し込み” (fig.1).
  2. The page “さくら VPS のお申し込み” shows up. Click “利用規約の確認へ” (fig.2).
  3. The page “以下の約款及び個人情報の取扱いについてよくご確認ください。” shows up. Print out “基本約款” and “個人情報の取扱いについて” and read them thoroughly. Check the radio button “同意する” and click “つぎへ –>” (fig.3).
  4. The page “お客様の情報をご入力ください” shows up.
    利用規約の確認へ
    fig.2 利用規約の確認へ

    Complete the forms about followings on the page. (*) things are required.

    • メールアドレス(*):  E-mail(*):
    • ご契約者の種別(*):  Type of Contractant(*):
    • ご契約者名(*):  Contractant Name(*):  <--- Last-name-first order.
    • 「約款」&「個人情報の取扱いについて」
      fig.3 「約款」&「個人情報の取扱いについて」
      ご契約者名カナ(*):  Contractant Name カナ(*):
    • 生年月日(*):  Birth Date(*):
    • 性別(*):  Sex(*):
    • 郵便番号(*):  Zip code(*):
    • ご住所(*):  Prefecture(*):
    • 街区名・番地等(*):  Address…(*):
    • 建物名等:  Building:
    • 電話番号(*):(※携帯可)  (Mobile) Phone #(*):
    • FAX番号:  FAX #:

    Click “つぎへ –>”.

  5. The page “会員メニューへログインするためのパスワードを指定してください” shows up.
    • パスワード:  Pasword:
    • 「ひみつ」の質問 :  Secret Question:  <--- Select from the pull-down menu or you can make an original question.
    • 「ひみつ」の答え:  Answer:

    Click “つぎへ –>”.

  6. The page “サービスプラン” shows up.
    • Select さくらのVPS 1G  <--- If you use a free trial for two weeks.
    • Select a residence 石狩/東京/大阪

    Click “つぎへ –>”.

  7. The page “Payment” shows up.
    • Select 毎月払い/年払い  monthly/yearly
    • There are several Payment Methods on the page but you can only use “クレジットカード (Credit Card)” if you use a free trial for two weeks.
    • There are some important notes on the page. Especially, the two written in red are very important.
      ・お申込から2週間後に自動で本登録になります。キャンセルの場合は、お客様にて行っていただく必要がございます。
      ・This temporary registration becomes a formally registration after 2 weeks from your application. If you want the cancellation within the trial period, you have to do it by yourself.
      ・会員メニューから「本登録」をするとキャンセルが行えなくなります。
      ・You can manually change the status of the registration from temporary to formally by your account menu. But if you did it, you lose your right about the cancellation even if your trial period doesn’t end.

    Click “つぎへ –>”.

  8. 以下の通りお申込を受付いたしました
    fig.4 以下の通りお申込を受付いたしました
  9. The page “最終のご確認” shows up.
    This is a confirmation page. Print it out if you need.
  10. The page “以下の通りお申込を受付いたしました” shows up. The page gives you the followings.
    • 会員ID  User ID
    • プラン名  Service Name
    • サービスコード  Service ID
    • メールアドレス  E-mail

    Click “会員メニューへお進みください” (fig.4).

   Now you reach your account page. Logout. The temporary registration completely.

||How to log in VPS Control Panel||

  1. Go to VPSコントロールパネル and log in.
    You can find IPアドレス (IP address) and パスワード (Password) on the email “[さくらのVPS] 仮登録完了のお知らせ”.
  2. パスワード変更  Chage password  <--- This password is for VPSコントロールパネル.

||How to install CentOS7||

  1. The default OS is CentOS6, but I want to use CentOS7. So I installed it from “OS再インストール”.
  2. Go to “OS再インストール” and click “カスタムOSインストールへ”.
  3. Select “CentOS 7 x86_64” from the drop-down menu and click “確認 (confirm)”.
  4. Click “実行 (execute)”.
  5. Click “HTML5モードで開く” within 60 seconds. QEMU pop-up in another window.
  6. About instllation, see CentOS 7.
    While the instillation you need to set up root-password and a normal user.
  7. The instillation might take time. When it has finished, you have the message “Server disconnected…”. Buck to “VPSホーム” and boot the server (仮想サーバ操作:起動). The “ステータス (status)” is changed from “停止” to “稼働中”.
  8. Now I have CentOS7 as VPS OS.

   It was in trouble during the installation that the bottom of QEMU did not appear at all. So I had to handle “Reclaim space” and “Begin Installation” with my intuition and [TAB] and [ENTER] keys. Oops!

Categories
WordPress

Memorandum #8.

同一記事の日本語版
ROLIS descent image
ROLIS descent image
   Hey, have you heard?
 
   Philae landed on comet on November 12th at 15:35 UTC (13th at 00:35 JST).
 
   The comet name is 67P/Churyumov-Gerasimenko. Wow!!
 
   By the way, have you known that our Hayabusa 2 launch is scheduled on November 30th? I can’t wait and I hope good weather!
    Memo 1

  • HeadlineI added alphabet headlines to Notes, and I use Kranky for their font. For this, I made the following customization to the style.css of the main site. I added the lines with “+” at its head.
    @import url("../sugar-and-spice/style.css");
    +@import url(https://fonts.googleapis.com/css?family=Kranky);
     
    /* Typography */
    h1, h2, h3, h4, h5, h6 {
    color: #000;
    }
    +h2 {
    + font-family: 'Kranky', cursive, Arial, sans-serif;
    + font-size: 2em;
    + margin: 0 0;
    +}
     
    Here is the old CSS file before work.
     
    Note) In my case, I changed <h2> tag’s property because I don’t use this tag for any other places on my main site. So, this change does not give any effects to rest of the main site.
  • Memo 2

  • I stopped using the plugin Google Analytics by Yoast. But I still use Google Analytics, so I made some configuration for it.
    1. Make a file named ‘analyticstracking.php’ under instructions at Tracking ID page of Google Analytics and copy it to the child theme directory.
    2. Copy the original header.php of my theme to the child theme directory.
    3. Edit new headr.php.
      Add <? php include_once ("analyticstracking.php")?> to just after <body> tag.
    4. That’s it.
      Note) The change is reflected within several hours or days.
Categories
everyday life

I bought this!! (^^;)

同一記事の日本語版

Buffalo Classic USB Gamepad for PC
Buffalo Classic USB Gamepad for PC
   I bought this!! What is this? See the right advertisement. \(^o^)/.
 
   Last week, my very old gamepad was broken. I couldn’t find such old models at stores near my house, so I was googling on the Internet and found it out. Its vender is Buffalo but it looks remarkably like the SNES/Super Famicom gamepad by Nintendo.
 
   I ordered it at around 9pm on last Saturday and had it 3pm on last Sunday. Amazon.co.jp is quick about their work and the delivery service company was Kuroneko at this time.
 
   The gamepad works well. I give two thumbs-up to it, he-he.

Categories
everyday life

Yamada Akihiro’s Twelve Kingdoms Calendar 2015.

Go Amazon.co.jp ha-ha.
Go Amazon.co.jp ha-ha.
   Hey guys! There are less than two months left this year. It’s getting colder in my town.
 
   By the way, Shinchōsha released Yamada Akihiro’s Twelve Kingdoms Calendar 2015, which is available at stores in Japan only but you can buy it from Amazon.co.jp despite your address. I don’t care that you buy it or not (^o^). So, jump to the page from the right image. It’s not very expensive, ¥1,950. I think it is a kind of book, so its shipping rates is less than ¥1,000 or so.
 
   The calendar is made of seven sheets.

  • Cover : A new illustlation
  • Jan & Feb : A new illustlation
  • Mar & Apr : From “Kasho no Yume (華胥の幽夢)”
  • May & Jun : From “Hisho no Tori (丕緒の鳥)”
  • Jul & Aug : From “Tonan no Tsubasa (図南の翼)”
  • Sep & Oct : From “Tasogare no Kishi Akatsuki no Sora (黄昏の岸暁の天)”
  • Nov & Dec : From “Twelve Kingdoms day’s gift”