内容へ移動
Penguin's Coffee Break
ユーザ用ツール
ログイン
サイト用ツール
検索
ツール
文書の表示
以前のリビジョン
バックリンク
最近の変更
メディアマネージャー
サイトマップ
ログイン
>
最近の変更
メディアマネージャー
サイトマップ
トレース:
tools:apache:operation:change_port_number
この文書は読取専用です。文書のソースを閲覧することは可能ですが、変更はできません。もし変更したい場合は管理者に連絡してください。
====== ポートの変更 ====== * 40980のポートを使用する場合 /etc/apache2/sites-available/ports.confを以下のように編集. <code> ... Listen 40980 ... </code> /etc/apache2/sites-available/siteA.confを以下のように編集 <code> ... <VirtualHost *:40980> ServerAdmin webmaster@localhost ServerName ***.*** ServerAlias ***.***.*** DocumentRoot /var/www/*** </VirtualHost> ... </code> Apacheを再起動. <code> # systemctl reload apache2.service </code> ファイアウォールを許可. <code> # ufw allow 40980 # ufw status </code> <code> Status: active To Action From -- ------ ---- Apache ALLOW Anywhere OpenSSH ALLOW Anywhere 40980 ALLOW Anywhere Apache (v6) ALLOW Anywhere (v6) OpenSSH (v6) ALLOW Anywhere (v6) 40980 (v6) ALLOW Anywhere (v6) </code>
tools/apache/operation/change_port_number.txt
· 最終更新: 2021/01/09 14:37 (外部編集)
ページ用ツール
文書の表示
以前のリビジョン
バックリンク
文書の先頭へ