linux:httpd:install

Apache のインストール

$ sudo dnf install httpd httpd-devel 
$ sudo systemctl enable httpd.service
$ sudo firewall-cmd --permanent --add-service=http
$ sudo firewall-cmd --permanent --add-service=https
$ sudo firewall-cmd --reload
$ sudo systemctl start httpd.service
$ sudo mkdir /var/www/vhosts
  • linux/httpd/install.txt
  • 最終更新: 2019/05/18 02:23
  • by 非ログインユーザー