apt update
apt install apache2
apache2 -v
systemctl enable apache2
systemctl restart apache2
systemctl status apache2
apt install elinks
elinks http://localhost/
(18)
apt update
apt install apache2
apache2 -v
systemctl enable apache2
systemctl restart apache2
systemctl status apache2
apt install elinks
elinks http://localhost/
(9)
apt update
apt install apache2
apache2 -v
systemctl enable apache2
systemctl restart apache2
systemctl status apache2
apt install elinks
elinks http://localhost/
(7)
yum info httpd
yum install httpd
httpd -version
systemctl enable httpd
systemctl restart httpd
systemctl status httpd
yum install elinks
elinks http://localhost/
- Windows Server
(2012R2)
https://qiita.com/Shi-nakaya/items/7265c88d968280943c9f
ZIPファイルを展開
C:\Users\Administrator\Downloads\httpd-2.4.41-win64-VS16\Apache24\conf\httpd.conf の修正
Define SRVROOT "c:/Apache24"
↓
Define SRVROOT "c:/Users/Administrator/Downloads/httpd-2.4.41-win64-VS16/Apache24"
Listen 80
↓
Listen 8081
cd C:\Users\Administrator\Downloads\httpd-2.4.41-win64-VS16\Apache24\bin
httpd -k install
net start Apache2.4