Archive for the ‘Serverの構築と運用覚書き’ Category



28年前敷設の屋内LAN配線の見直し(1Gbps通信の実現)

Thursday, July 17th, 2025

28年前に我が家を新築するときに屋内LANを敷設している。現在もこのLAN設備を活用しているものの、その通信速度は100Mbpsであり、我が家で取り込んでいる光回線の1Gbpsに比べ、屋内LAN上では低速のままになっている。

屋内LANを1Gbpsの通信に耐えるものにするため、LANケーブルを新規格のCAT6、CAT6aのものに交換したいが、これには壁面を開口するなど大規模な工事になる。できれば、現在敷設しているLANケーブルで、なんらかの工夫で1Gbpsの速度を出す方策があればと考えた。

結論として、現在使用している屋内のケーブルを使用することでも、ギガイーサの速度がでるとの感触を得た。
(続きを読む)



AlamaLinux 9.6 に upgrade しておいた

Saturday, June 28th, 2025

AlmaLinux について 20 May 2025 に version 9.6 が Release。
27 May 2025 には、Major update version:AlmaLinux OS 10.0 が Releaseされた。

とりあえず、version 9.6へのupgradeをしておいた。
(続きを読む)



Apacheの動作に php.iniの変更反映には php-fpmを再起動必要

Monday, June 16th, 2025

WordPressで Media fileのupload可能sizeを大きくしようとし、php.ini上で関連部分の設定値を変更したのち、Apacheを再起動したが変更部分が反映できなかった。

これは、最近の構成ではWeb内でのPHPの処理をする際にPHP-FPMを介することが標準になっており、PHP.ini上で設定の変更したのち、PHP-FPMの再起動を行うことが必要になっていることによる。
(続きを読む)



radiko 録音用 shell scriptの修正・見直し(2025/06/09修正)

Monday, June 9th, 2025

6月30日からradikoの録音ができなくなった。

前回(2025/03/07)に加えて、再びshell script のなかのstream uriを設定する部分が変更されているようだった。

いろいろ調べてみると、uru2/radishで障害に対応するかたちで修正されていたので、ここで公開されているスクリプト radi.sh のradiko部分を借用するかたちで、いままでと同様な入出力になるようスクリプトを書き直した。
(続きを読む)



LetsEncrypt SSL 証明書の更新(2025/5/17 実施)

Saturday, May 17th, 2025

LetsEncrypt SSLの有効期限が10日後に迫ってきたので、いつもどおり更新作業を実施した。

以下、更新時のLog を転記:

[root@Server02 ~]# certbot certonly --manual
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Please enter the domain name(s) you would like on your certificate (comma and/or
space separated) (Enter 'c' to cancel): *.yamasnet.com
Renewing an existing certificate for *.yamasnet.com

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Please deploy a DNS TXT record under the name:

_acme-challenge.yamasnet.com.

with the following value:

npctwQs-3KouQEJkRkEDimwxxco_Cl09UZI8vuDHpgU

Before continuing, verify the TXT record has been deployed. Depending on the DNS
provider, this may take some time, from a few seconds to multiple minutes. You can
check if it has finished deploying with aid of online tools, such as the Google
Admin Toolbox: https://toolbox.googleapps.com/apps/dig/#TXT/_acme-challenge.yamasnet.com.
Look for one or more bolded line(s) below the line ';ANSWER'. It should show the
value(s) you've just added.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Press Enter to Continue

Successfully received certificate.
Certificate is saved at: /etc/letsencrypt/live/yamasnet.com/fullchain.pem
Key is saved at:         /etc/letsencrypt/live/yamasnet.com/privkey.pem
This certificate expires on 2025-08-15.
These files will be updated when the certificate renews.

NEXT STEPS:
- This certificate will not be renewed automatically. Autorenewal of --manual certificates requires the use of an authentication hook script (--manual-auth-hook) but one was not provided. To renew this certificate, repeat this same certbot command before the certificate's expiry date.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
If you like Certbot, please consider supporting our work by:
 * Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate
 * Donating to EFF:                    https://eff.org/donate-le
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

(続きを読む)