サーバー管理
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
[[奥原 教授]]
** Login [#m80b3583]
master server
ssh root@133.55.115.238
pw: pu-toyama
mac:F4-03-43-4E-66-25
slave1
ssh root@133.55.115.239
pw: y!AS6JFqASG5fpR)
mac:F4-03-43-57-AE-65
slave2
ssh root@133.55.115.240
pw: *D$F3QR)VrPRdgU%
mac:F4-03-43-57-CE-F1
ssh iie.lab.tpu@133.55.115.240
pw: 8*NJ9!$a%cKm
** ファイル転送 [#a7a7fccd]
SFTP
133.55.115.238
sudo systemctl restart httpd
https://dic515s2.pu-toyama.ac.jp/
** portの開け方 [#r06387ec]
firewall-cmd --permanent --add-service=http
firewall-cmd --reload
testing.htmlを消したら,またリスタート
sudo systemctl restart httpd
/etc/httpd/conf
ServerName dic515mas.pu-toyama.ac.jp:80
DocumentRoot "/var/www/html"
** PukiWiki [#k64e9189]
var/www/html/
http://133.55.115.238/IIE/IIE.IS.20210325.toyama.pu/lab_l...
SELinux 無効化
$ sudo setenforce 0
IIEの直下で以下で全変換
chown -R apache:apache ./
http://dic515mas.pu-toyama.ac.jp/IIE/index.html
**SSLの証明書の更新(文責:長瀬) [#wbe0ee72]
&color(,#ff0000){COLOR(#ffffff):サイトが表示されなくなっ...
1.自分のPCのコマンドプロンプトで「ssh iie.lab.tpu@133.55....
2.「sudo su -」と入力しrootに入る&br;
3.「cd /etc/httpd/conf」と入力し目当てのディレクトリに飛...
4.「vim httpd.conf」と入力しファイルの書き込みモードを開...
5.#Listen 80 という記述を探し, 「#」のみを消去する(80番...
※Listen 80 がListen 81になっていたらListen80に書き換える&...
6.Escボタンを押した後, 「:wq」と入力しEnter(書き込みの保...
7.「sudo service httpd restart」と入力する(Apacheの再起...
8.「certbot renew --post-hook "systemctl reload httpd.ser...
9.「vim httpd.conf」と入力しファイルの書き込みモードを開...
10.Listen 80 を #Listen 80 と書き換える(80番ポートのアク...
※Listen 81 から Listen 80に書き換えた場合はListen 81に戻...
11.Escボタンを押した後, 「:wq」と入力しEnter(書き込みの...
12.「sudo service httpd restart」と入力する(Apacheの再起...
13.「exit」と入力しサーバのリモート操作を終了する&br;
&br;
(注)パスワードの問い合わせは長瀬(もしくはその引継ぎ者...
Pass:8*NJ9!$a%cKm
終了行:
[[奥原 教授]]
** Login [#m80b3583]
master server
ssh root@133.55.115.238
pw: pu-toyama
mac:F4-03-43-4E-66-25
slave1
ssh root@133.55.115.239
pw: y!AS6JFqASG5fpR)
mac:F4-03-43-57-AE-65
slave2
ssh root@133.55.115.240
pw: *D$F3QR)VrPRdgU%
mac:F4-03-43-57-CE-F1
ssh iie.lab.tpu@133.55.115.240
pw: 8*NJ9!$a%cKm
** ファイル転送 [#a7a7fccd]
SFTP
133.55.115.238
sudo systemctl restart httpd
https://dic515s2.pu-toyama.ac.jp/
** portの開け方 [#r06387ec]
firewall-cmd --permanent --add-service=http
firewall-cmd --reload
testing.htmlを消したら,またリスタート
sudo systemctl restart httpd
/etc/httpd/conf
ServerName dic515mas.pu-toyama.ac.jp:80
DocumentRoot "/var/www/html"
** PukiWiki [#k64e9189]
var/www/html/
http://133.55.115.238/IIE/IIE.IS.20210325.toyama.pu/lab_l...
SELinux 無効化
$ sudo setenforce 0
IIEの直下で以下で全変換
chown -R apache:apache ./
http://dic515mas.pu-toyama.ac.jp/IIE/index.html
**SSLの証明書の更新(文責:長瀬) [#wbe0ee72]
&color(,#ff0000){COLOR(#ffffff):サイトが表示されなくなっ...
1.自分のPCのコマンドプロンプトで「ssh iie.lab.tpu@133.55....
2.「sudo su -」と入力しrootに入る&br;
3.「cd /etc/httpd/conf」と入力し目当てのディレクトリに飛...
4.「vim httpd.conf」と入力しファイルの書き込みモードを開...
5.#Listen 80 という記述を探し, 「#」のみを消去する(80番...
※Listen 80 がListen 81になっていたらListen80に書き換える&...
6.Escボタンを押した後, 「:wq」と入力しEnter(書き込みの保...
7.「sudo service httpd restart」と入力する(Apacheの再起...
8.「certbot renew --post-hook "systemctl reload httpd.ser...
9.「vim httpd.conf」と入力しファイルの書き込みモードを開...
10.Listen 80 を #Listen 80 と書き換える(80番ポートのアク...
※Listen 81 から Listen 80に書き換えた場合はListen 81に戻...
11.Escボタンを押した後, 「:wq」と入力しEnter(書き込みの...
12.「sudo service httpd restart」と入力する(Apacheの再起...
13.「exit」と入力しサーバのリモート操作を終了する&br;
&br;
(注)パスワードの問い合わせは長瀬(もしくはその引継ぎ者...
Pass:8*NJ9!$a%cKm
ページ名: