人妻无码中文字幕永久在线,99RE6这里有精品热视频,国产成人综合色就色综合 ,蜜臀av在线观看

新聞建站cms系統(tǒng)、政府cms系統(tǒng)定制開發(fā)

廣州網(wǎng)站建設(shè)公司-閱速公司

asp.net新聞發(fā)布系統(tǒng)、報紙數(shù)字報系統(tǒng)方案
/
http://www.jdki.com.cn/
廣州網(wǎng)站建設(shè)公司
您當(dāng)前位置:首頁>博客日記

博客日記

Linux系統(tǒng)(centos7.6)設(shè)置fastcgi-mono-server2開機(jī)啟動

發(fā)布時間:2019/11/19 18:30:52  作者:Admin  閱讀:513  

廣告:

  1. 安裝主頁
  2. /
  3. CENTOS7安裝數(shù)字報刊系統(tǒng)

如何安裝xsp,請返回見:http://www.jdki.com.cn/news/detail/20635.html 系統(tǒng)Linux(centos7.6)安裝XSP3.8

Linux系統(tǒng)(centos7.6)設(shè)置fastcgi-mono-server2開機(jī)啟動:

vim /etc/systemd/system/fastcgi.service

[Unit]
Description=FastCgi-mono-server for Application
After=syslog.target network.target

[Service]
Type=simple
ExecStart=/usr/local/mono/bin/fastcgi-mono-server2 /socket=tcp:9000 /address=127.0.0.1 /applications=/:/var/www/html /port=9000 /loglevels=Error /logfile=/var/log/nginx/xsp.log &
Restart=always

[Install] 
WantedBy=multi-user.target

說明:

network.target代表有網(wǎng)路,network-online.target代表一個連通著的網(wǎng)絡(luò)。

加載服務(wù)器配置文件:

systemctl daemon-reload
systemctl status fastcgi.service 查看服務(wù)狀態(tài)
systemctl stop fastcgi.service 停止服務(wù)
systemctl start fastcgi.service 開啟服務(wù)
systemctl stop fastcgi 停止服務(wù)
systemctl start fastcgi 開啟服務(wù)

設(shè)為開機(jī)自動啟動:

systemctl daemon-reload
systemctl start fastcgi.service
systemctl enable fastcgi

systemctl status fastcgi.service
Loaded: loaded (/etc/systemd/system/fastcgi.service; disabled; vendor preset: disabled) 禁用狀態(tài)
Loaded: loaded (/etc/systemd/system/fastcgi.service; enabled; vendor preset: disabled) 啟用自啟動狀態(tài)

請開啟xsp調(diào)試:

/loglevels=Error /logfile=/var/log/nginx/xsp.log 這兩個要同時設(shè)置才會顯示詳細(xì)出錯信息 &表示該命令在后臺運(yùn)行
/usr/local/mono/bin/fastcgi-mono-server2 /socket=tcp:9000 /address=127.0.0.1 /applications=/:/var/www/html /port=9000 /loglevels=Error /logfile=/var/log/nginx/xsp.log &

查看服務(wù)器已開啟的端口:

netstat -lntp

廣告:

相關(guān)文章
fastcgi
linux
cms新聞系統(tǒng)購買咨詢
掃描關(guān)注 廣州閱速軟件科技有限公司
掃描關(guān)注 廣州閱速科技