找回密码
 注册
查看: 3126|回复: 0

/usr/local/apache/bin/apachectl: line 94: lynx: command not found

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2020-6-5 17:26:21 | 显示全部楼层 |阅读模式
/usr/local/apache/bin/apachectl: line 94: lynx: command not found( h9 G! w- B& f& P# P  o" k  w( R! ^  L

  [1 [' \3 _3 a" X/usr/local/apache/bin/apachectl status2 k, N  M6 U0 p& m1 O4 c$ e
/usr/local/apache/bin/apachectl: line 94: lynx: command not found# |9 U$ E( I( u+ Y: M: U

* z" v$ G4 t6 F" ~! [解决方法:6 }1 N; B- f5 L3 I  U$ ]' E0 o
[root@centos6 conf]# yum install -y lynx
; u/ c4 s* ?/ ?
. l( q0 C5 y- D. s1 l再次执行:
5 Z: j! p* N/ E2 s6 c  J1 a[root@centos6 conf]# /usr/local/apache/bin/apachectl status
- m5 C0 n/ m9 Y! A8 E; ~; e+ d; {; BLooking up localhost
1 \7 A) k( \, eMaking HTTP connection to localhost
! s# q8 h8 \6 t$ [! s) ZAlert!: Unable to connect to remote host.
5 x7 a0 Q2 g" blynx: Can't access startfile http://localhost/server-status
' R! L4 R9 b( z+ M; ~* k
7 e9 A+ R" c: ]2 Q$ c# |) A5 _[root@centos6 conf]# vim /etc/sysconfig/selinux : M2 x7 j) v) i+ C, C6 V
SELINUX=disabled" }+ K9 }8 y/ D8 l+ e
' L8 e+ O/ O* k4 M. X
[root@centos6 conf]# setenforce 02 w1 s( {/ V3 u$ @1 G4 r3 \

' m, `- O) w! ~
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 04:23 , Processed in 0.022192 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表