Apache

(16)
https://chee-s.net/ubuntu16-04%E3%81%ABapache2%E3%82%92%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%83%BB%E8%A8%AD%E5%AE%9A%E3%81%99%E3%82%8B

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/

 

(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

http://localhost:8081/