SST Lab Dokuwiki Header header picture

ユーザ用ツール

サイト用ツール


linux:apache_install

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
linux:apache_install [2021/03/03 15:15] – [Under construction] kimilinux:apache_install [2022/08/23 13:34] (現在) – 外部編集 127.0.0.1
行 21: 行 21:
  
 </code> </code>
 +
 +<code sh>
 +$ sudo a2enmod ssl
 +Considering dependency setenvif for ssl:
 +Module setenvif already enabled
 +Considering dependency mime for ssl:
 +Module mime already enabled
 +Considering dependency socache_shmcb for ssl:
 +Enabling module socache_shmcb.
 +Enabling module ssl.
 +See /usr/share/doc/apache2/README.Debian.gz on how to configure SSL and create self-signed certificates.
 +To activate the new configuration, you need to run:
 +  systemctl restart apache2
 +kimi@sstweb:/var/www/html$ sudo a2ensite default-ssl
 +Enabling site default-ssl.
 +To activate the new configuration, you need to run:
 +  systemctl reload apache2
 +$ sudo systemctl reload apache2
 +
 +</code>
 +
 +<code sh>
 +$ sudo apt install php
 +</code>
 +
 +
 +
 +
 +<code sh>
 +$ sudo apt install dokuwiki
 +
 +</code>
 +
 +
  
 ^  Document root  |  /var/www/html/  | ^  Document root  |  /var/www/html/  |
  
 ===== PHPのインストール ===== ===== PHPのインストール =====
 +
 <code sh> <code sh>
 $ sudo apt install php libapache2-mod-php $ sudo apt install php libapache2-mod-php
行 47: 行 82:
 $ sudo systemctl restart apache2 $ sudo systemctl restart apache2
 </code> </code>
- 
  
  
行 89: 行 123:
 $</code> $</code>
   - ウェブブラウザで''http://ip_address_or_FQDN/wp/''にアクセスし必要事項を設定する。   - ウェブブラウザで''http://ip_address_or_FQDN/wp/''にアクセスし必要事項を設定する。
 +
 ^  データベース名  |  wpdb  | ^  データベース名  |  wpdb  |
 ^  ユーザー名  |  wpadmin  | ^  ユーザー名  |  wpadmin  |
linux/apache_install.1614752106.txt.gz · 最終更新: 2022/08/23 13:34 (外部編集)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki