在CentOS上安装fcgiwrap
以下是在CentOS 7.6上安装fcgiwrap的方法。
和下一页上的一样。
fcgiwrap-1.1.0-9.20181108git99c942c.el7.x86_64.rpm
安装最新的epel
wget https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-7-11.noarch.rpm
sudo rpm -Uvh epel-release*rpm
2)安装fcgiwrap
sudo yum install fcgiwrap
3) 确认安装
$ which fcgiwrap
/usr/sbin/fcgiwrap
4) Systemd 的配置
sudo systemctl start fcgiwrap@@nginx.service
确认它正在运动
$ sudo systemctl status fcgiwrap@nginx
● fcgiwrap@nginx.service - Simple CGI Server
Loaded: loaded (/usr/lib/systemd/system/fcgiwrap@.service; bad; vendor preset: disabled)
Active: active (running) since Tue 2019-05-07 14:58:34 JST; 1min 39s ago
Main PID: 9341 (fcgiwrap)
CGroup: /system.slice/system-fcgiwrap.slice/fcgiwrap@nginx.service
└─9341 /usr/sbin/fcgiwrap -c
May 07 14:58:34 v157-7-134-246.myvps.jp systemd[1]: Started Simple CGI Server.