ゆるく開発する日記です
3/1から毎日LinuxOSを起動して終了するぞという意気込みでやっています
はてなのmarkdownがつかいにくすぎるので移設
で今日も(昨日も)起動した
久々に内部を見るのでいろいろ確認。
systemctl status httpd
systemctl status mariadb
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
yum install --enablerepo=remi,remi-php72 php php-devel php-mbstring php-mysqlnd php-pdo php-gd
yum install --enablerepo=remi,remi-php72 phpMyAdmin
cd /etc/httpd/conf.d/
cp phpMyAdmin.conf phpMyAdmin.conf_copy
===> confの内容を修正yum install mod_ssl
systemctl restart httpd
https://support.conoha.jp/v/hellovps-w-06/?btn_id=v-hellovps-w-05-sidebar_v-hellovps-w-06
サーバーは手習いとしてここのものを借りて、wordpress設定までをやろうとしている。
phpmyadminのアクセスURLを変更しようという内容だが、
phpMyAdmin.confの内容がDL時そもそも違うこと、
勘で修正してみても404 Forbiddenになるので素直にお問い合わせしてみる。
もしかしてドメイン買わなくてもよかった…?
わからん…買っちゃった…
いや買ってOKだったかも
お名前.comのドメインをconohaに設定(conohaのサーバーをお名前.comドメイン側へ設定?)
参考:https://qiita.com/sugra511/items/3b05423d4adeeec5cdd4
せっていしてみる
浸透待ち
SSL証明書までいれないと行けない気がする、、
cp httpd.conf httpd.conf_copy20220302
vi /etc/httpd/conf/httpd.conf
⇒ httpdの内容修正(ドメインの設定)
systemctl restart httpd
yum install certbot python2-certbot-apache
certbot --apache -d ***.com
Account registered.
Requesting a certificate for ***
Performing the following challenges:
http-01 challenge for ***
Waiting for verification...
Challenge failed for domain ****
http-01 challenge for ***
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: ***
Type: dns
Detail: no valid A records found for ***; no valid AAAA
records found for ***
ドメインとかの設定あたりがもういや~~~(いつもの)
Crieitは誰でも投稿できるサービスです。 是非記事の投稿をお願いします。どんな軽い内容でも投稿できます。
また、「こんな記事が読みたいけど見つからない!」という方は是非記事投稿リクエストボードへ!
こじんまりと作業ログやメモ、進捗を書き残しておきたい方はボード機能をご利用ください。
ボードとは?
コメント