ja:documentation:pandorafms:technical_annexes:30_pfms_install_latest_ubuntu_server

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
ja:documentation:pandorafms:technical_annexes:30_pfms_install_latest_ubuntu_server [2025/05/11 13:55] – [SSL 設定] junichija:documentation:pandorafms:technical_annexes:30_pfms_install_latest_ubuntu_server [2025/05/11 13:56] (現在) – [PHP および Apache2 の設定] junichi
行 502: 行 502:
 ==== PHP および Apache2 の設定 ==== ==== PHP および Apache2 の設定 ====
  
-<code> +<code bash
-cat > /var/www/html/pandora_console/include/config.php << EO_CONFIG_F+cat> /var/www/html/pandora_console/include/config.php <<EO_CONFIG_F
 <?php <?php
 \$config["dbtype"] = "mysql"; \$config["dbtype"] = "mysql";
 \$config["dbname"]="pandora"; \$config["dbname"]="pandora";
 \$config["dbuser"]="pandora"; \$config["dbuser"]="pandora";
-\$config["dbpass"]="pandora";+\$config["dbpass"]="Pandor4!";
 \$config["dbhost"]="127.0.0.1"; \$config["dbhost"]="127.0.0.1";
 \$config["homedir"]="/var/www/html/pandora_console"; \$config["homedir"]="/var/www/html/pandora_console";
行 516: 行 516:
 include (\$ownDir . "config_process.php"); include (\$ownDir . "config_process.php");
 EO_CONFIG_F EO_CONFIG_F
 +
 </code> </code>
  
行 529: 行 530:
 </Directory> </Directory>
 EO_CONFIG_F EO_CONFIG_F
 +
  
 </code> </code>
  
 ---- ----
-<code>+ 
 +<code bash>
 chmod 600 /var/www/html/pandora_console/include/config.php chmod 600 /var/www/html/pandora_console/include/config.php
  
行 539: 行 542:
  
 mv /var/www/html/pandora_console/install.php /var/www/html/pandora_console/install.done mv /var/www/html/pandora_console/install.php /var/www/html/pandora_console/install.done
 +
 </code> </code>
  
 ---- ----
-<code>+ 
 +<code bash>
 ln -s /etc/php/8.0/fpm/php.ini /etc/ ln -s /etc/php/8.0/fpm/php.ini /etc/
  
行 556: 行 561:
  
 sed --follow-symlinks -i -e "s/^disable_functions/;disable_functions/" /etc/php.ini sed --follow-symlinks -i -e "s/^disable_functions/;disable_functions/" /etc/php.ini
 +
 </code> </code>
  
 ---- ----
-<code> + 
-cat > /var/www/html/index.html << EOF_INDEX+<code bash
 +cat> /var/www/html/index.html <<EOF_INDEX
 <meta HTTP-EQUIV="REFRESH" content="0; url=/pandora_console/"> <meta HTTP-EQUIV="REFRESH" content="0; url=/pandora_console/">
 EOF_INDEX EOF_INDEX
行 567: 行 574:
  
 systemctl restart php8.0-fpm systemctl restart php8.0-fpm
 +
 </code> </code>
  
  • ja/documentation/pandorafms/technical_annexes/30_pfms_install_latest_ubuntu_server.txt
  • 最終更新: 2025/05/11 13:56
  • by junichi