今天安装Apache httpd web服务器时,从官方网站上http://www.apache.org/dyn/closer.cgi下载httpd,然后在centos下解压,安装过程分为三部分: (1)./configure (2)make (3)make install (需要root权限) 默认安装在/usr/sbin/下,执行apachectl start时候,提示如下错误: httpd: apr_sockaddr_info_get() failed for shiweihttpd: C…
今天在家里的RHLE5.5上安装apache的时候,先用user1用户./configure命令配置,然后才用root用户make && make install,结果apache起来的时候就报如下错误: httpd: apr_sockaddr_info_get() failed for bogon httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 fo…
httpd: apr_sockaddr_info_get() failed for xxx httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName 在/usr/local/apache2/bin/apachectl start启动Apache服务的时候出现的错误 解决办法 vi /etc/hosts127.0.0.1 localhost…
今天在编写好vue项目代码时,在命令行输入npm start的时候出现了如下图所示的一大堆错误: 在网上查找资料说是缺少EsLint配置文件的问题,最终找到一篇由 hahazexia 编写的一篇博客文章,就是关于EsLint配置的文章,现将该文章的链接粘贴出来,方便大家翻阅:https://www.cnblogs.com/hahazexia/p/6393212.html,在此特地感谢 hahazexia ,让我知道了EsLint配置文件中规则的编写以及每一种规则对应的含义. 现将.eslintr…
1.若你用的Linux系统是CentOS的话,这是一个坑: 它会提示你JAVA_HOME找不到,现在去修改文件: .修改hadoop配置文件,手动指定JAVA_HOME环境变量 [${hadoop_home}/etc/hadoop/hadoop-env.sh] ... export JAVA_HOME=/soft/jdk ... 这是CentOS的一个大坑,手动配置JAVA_HOME环境变量. 2.启动后无NameNode进程 如果在启动Hadoop,start-all.sh之后一切正常.但是J…
apache服务器启动时提示httpd: apr_sockaddr_info_get() failed for 在RedHat Linux 5 与 CentOS 5服务器上配置好apache后,启动或者关闭时总要报个错: httpd: apr_sockaddr_info_get() failed for XX(主机名) httpd: Could not reliably determine the server's fully qualified domain name, using 127.0…
httpd: apr_sockaddr_info_get() failed for hoteel httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName 我在service httpd restart的时候提示上述信息的.虽然启动成功了,但是也是很郁闷的. 这是因为我在配置DNS的时候hostname hoteel造成的. 重新host…
CentOS下开机启动查看管理命令:chkconfig用法   CentOS下开机启动查看管理的命令是:chkconfig   1. 开机启动列表查看: chkconfig --list     说明:输出所有服务列表,如果列表中没有你要启动的服务 2. 添加服务:     chkconfig --add servicename 3. 删除服务:    chkconfig --del servicename   4. 查看具体启动服务信息:    chkconfig --list  servic…
原文:linux 下 apache启动.停止.重启命令 基本的操作方法: 本文假设你的apahce安装目录为/usr/local/apache2,这些方法适合任何情况 apahce启动命令: 推荐/usr/local/apache2/bin/apachectl start apaceh启动 apache停止命令 /usr/local/apache2/bin/apachectl stop   停止 apache重新启动命令: /usr/local/apache2/bin/apachectl res…
1.进入/etc/httpd/conf下打开httpd.conf文件 开启Gzip压缩功能,即去掉LoadModule deflate_module modules/mod_deflate.so这行前面的#号,默认已经去掉. 2.进行Gzip压缩设置,添加: # mod_deflate: <ifmodule mod_deflate.c> DeflateCompressionLevel AddOutputFilterByType DEFLATE text/plain AddOutputFilte…