skype_win7

gooブログ

PR-500MI 初期化方法

2021-02-28 13:40:24 | うんちく・小ネタ
「初期化」ボタンをクリップなどの先の細いもので押しっぱなしにし、「再起動」ボタンを1回押します。 「初期状態」ランプがオレンジ色に点灯するまで押しっぱなしにする。 
コメント
  • X
  • Facebookでシェアする
  • はてなブックマークに追加する
  • LINEでシェアする

【AWS】LightsailでSSL証明書(letsencrypt)を手動更新

2021-02-14 16:02:46 | うんちく・小ネタ
コンソールにサインイン クリック

Welcome to Ubuntu 16.04.6 LTS (GNU/Linux 4.4.0-1111-aws x86_64)
*** System restart required ***
     ___ _ _                   _
    | _ |_) |_ _ _  __ _ _ __ (_)
    | _ \ |   _| ' \/ _` | '  \| |
    |___/_|\__|_|_|\__,_|_|_|_|_|

*** Welcome to the Bitnami WordPress 5.3-0 ***
  *** Documentation:  https://docs.bitnami.com/aws/apps/wordpress/ ***
  ***                 https://docs.bitnami.com/aws/ ***
  *** Bitnami Forums: https://community.bitnami.com/ ***

#######################################################
###    For frequently used commands, please run:    ###
###         sudo /opt/bitnami/bnhelper-tool         ###
#######################################################

Last login: Fri Dec  4 21:09:41 2020 from 54.240.200.13
bitnami@ip-172-26-6-95:~$  この画面を開き

cd /tmp  を実行
bitnami@ip-172-26-6-95:~$ cd /tmp
bitnami@ip-172-26-6-95:/tmp$    この表記になります

cd /tmp/letsencrypt/  を実行
bitnami@ip-172-26-6-95:/tmp$ cd /tmp/letsencrypt/
bitnami@ip-172-26-6-95:/tmp/letsencrypt$   この表記になります

./letsencrypt-auto renew を実行
Requesting to rerun ./letsencrypt-auto with root privileges...
./letsencrypt-auto has insecure permissions!
To learn how to fix them, visit https://community.letsencrypt.org/t/certbot-a
uto-deployment-best-practices/91979/
Upgrading certbot-auto 1.8.0 to 1.10.1...
Replacing certbot-auto...
Your system is not supported by certbot-auto anymore.
Certbot will no longer receive updates.
Please visit https://certbot.eff.org/ to check for other alternatives.
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/unics-cars.****.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator webroot, Installer None
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for unics-cars.****
Using the webroot path /opt/bitnami/apps/wordpress/htdocs for all unmatched domains.
Waiting for verification...
Cleaning up challenges
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
new certificate deployed without reload, fullchain is
/etc/letsencrypt/live/unics-cars.****/fullchain.pem
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Congratulations, all renewals succeeded. The following certs have been renewed: /etc/letsencrypt/live/unics-cars.****/fullchain.pem (success)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bitnami@ip-172-26-6-95:/tmp/letsencrypt$    この表記になります

sudo su -      を実行
bitnami@ip-172-26-6-95:/tmp/letsencrypt$ sudo su –

root@ip-172-26-6-95:~#    この表記になります

cp /etc/letsencrypt/live/unics-cars.****/privkey.pem /
opt/bitnami/apache2/conf/server.key     を実行

root@ip-172-26-6-95:~#      この表記になります

cp /etc/letsencrypt/live/unics-cars.****/fullchain.pem
 /opt/bitnami/apache2/conf/server.crt     を実行

root@ip-172-26-6-95:~#      この表記になります

/opt/bitnami/ctlscript.sh restart apache     を実行

Unmonitored apache
Syntax OK
/opt/bitnami/apache2/scripts/ctl.sh : httpd stopped
Syntax OK
/opt/bitnami/apache2/scripts/ctl.sh : httpd started at port 80
Monitored apache
root@ip-172-26-6-95:~#

終了


PHP バージョン確認  PHP 7.3.11 でした

php -v        を実行

Welcome to Ubuntu 16.04.6 LTS (GNU/Linux 4.4.0-1111-aws x86_64)
*** System restart required ***
___ _ _ _
| _ |_) |_ _ _ __ _ _ __ (_)
| _ \ | _| ' \/ _` | ' \| |
|___/_|\__|_|_|\__,_|_|_|_|_|


*** Welcome to the Bitnami WordPress 5.3-0 ***
*** Documentation: https://docs.bitnami.com/aws/apps/wordpress/ ***
*** https://docs.bitnami.com/aws/ ***
*** Bitnami Forums: https://community.bitnami.com/ ***


#######################################################
### For frequently used commands, please run: ###
### sudo /opt/bitnami/bnhelper-tool ###
#######################################################


Last login: Fri Feb 19 22:20:02 2021 from 54.240.200.39
bitnami@ip-172-26-6-95:~$ php -v 
PHP 7.3.11 (cli) (built: Nov 8 2019 13:59:46) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.11, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.11, Copyright (c) 1999-2018, by Zend Technologies
bitnami@ip-172-26-6-95:~$

コメント
  • X
  • Facebookでシェアする
  • はてなブックマークに追加する
  • LINEでシェアする