SST Lab Dokuwiki Header header picture

ユーザ用ツール

サイト用ツール


linux:apache_install

差分

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

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
linux:apache_install [2021/03/03 15:04] – [Wordpressのインストール] 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>
- 
  
  
行 88: 行 122:
 mysql> quit mysql> quit
 $</code> $</code>
-    - ウェブブラウザで''http://ip_address_or_FQDN/install.php?''にアクセスし必要事項を設定する。 +  - ウェブブラウザで''http://ip_address_or_FQDN/wp/''にアクセスし必要事項を設定する。 
-<code sh> + 
- +^  データベース名  |  wpdb  | 
-$ sudo cp -r ~/wordpress/* /var/www/html/ +^  ユーザー名  |  wpadmin  | 
-$ tar -xzvf latest.tar.gz +^  パスワード  |  .......  | 
-$ sudo apt install mysql-client-core-8.0 +^  ホスト名  |  localhost  |
-</code>+
  
 ===== systemctlの使い方 ===== ===== systemctlの使い方 =====
行 106: 行 139:
  
 ====== Under construction ====== ====== Under construction ======
 +<code sh>
 +
 +$ sudo cp -r ~/wordpress/* /var/www/html/
 +$ tar -xzvf latest.tar.gz
 +$ sudo apt install mysql-client-core-8.0
 +</code>
 +
  
  
linux/apache_install.1614751499.txt.gz · 最終更新: 2022/08/23 13:34 (外部編集)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki