2023-01-01から1ヶ月間の記事一覧
■Linuxサーバの立ち上げ初心者です。備忘録として書いています。 あるサーバで動作していたプログラムを新しく立ち上げたサーバ環境にポーティングしたところPHPプログラムが動かなくなりました。 ・新サーバは自分でAlmalinuxを初めてインストールしたとこ…
------------- Debian install ----------------- Windowsコマンドプロンプトにて $>wsl --install --online [ENT] NAME FRIENDLY NAMEUbuntu UbuntuDebian Debian GNU/Linuxkali-linux Kali Linux RollingSLES-12 SUSE Linux Enterprise Server v12SLES-1…
------------- Debian install ----------------- Windowsコマンドプロンプトにて $>wsl --install --online [ENT] NAME FRIENDLY NAMEUbuntu UbuntuDebian Debian GNU/Linuxkali-linux Kali Linux RollingSLES-12 SUSE Linux Enterprise Server v12SLES-1…
起動 sudo systemctl start httpd 停止 sudo systemctl stop httpd 自動起動(Boot時に自動でStartする) sudo systemctl enable httpd 即時自動起動 sudo systemctl enable --now httpd 自動起動削除 sudo systemctl disable httpd httpd 停止 sudo systemc…
ー--------------.bashrc file------------------------------------------- # .bashrc # Source global definitionsif [ -f /etc/bashrc ]; then . /etc/bashrcfi # User specific environmentif ! "$PATH" =~ "$HOME/.local/bin:$HOME/bin:"…
.htaccessファイルに以下を記載します。 AuthUserFile .htpasswdAuthGroupFile /dev/nullAuthName "Please enter your ID and password"AuthType Basicrequire valid-user パスワードファイル .htpasswdを生成します。 $>htpasswd -c .htpasswd ユーザー名 […
index.htmlファイルに以下のようにフォーム入力のhtml記載をします。 <form action="confirm.php" method="post"> <table> <tr> <th><label for="last_name">Last Name<br><span>*Required</span></label></th> <td colspan="3"><input id="last_name" type="text" name="last_name" size="79" /></td> </tr> method= "post"または"get"を記載します。 このフォームをp…</table></form>
index.htmlファイルに以下のようにフォーム入力のhtml記載をします。 <form action="confirm.php" method="post"> <table> <tr> <th><label for="last_name">Last Name<br><span>*Required</span></label></th> <td colspan="3"><input id="last_name" type="text" name="last_name" size="79" /></td> </tr> method= "post"または"get"を記載します。 このフォームをp…</table></form>