
apache
景韦
这个作者很懒,什么都没留下…
展开
-
apache服务报错Could not reliably determine the server's fully qualified domain name
在对apache服务进行各种操作时都会提示错误,但不影响使用:apache2: Could not reliably determine the server's fully qualified domain name, using XXX.XXX.XXX.XXX. Set the 'ServerName' directive globally to suppress this message...原创 2020-05-03 23:23:26 · 5507 阅读 · 0 评论 -
Ubuntu+Apache+Django部署
Django安装安装过程不描述了建立一个项目django-admin startproject mysite此处项目路径为/home/django/mysiteApache安装和配置安装安装apache:apt install apache2安装mod_wsgi模块:apt install libapache2-mod-wsgi-py3查看apache运行状态:systemctl...原创 2020-03-08 02:08:00 · 1591 阅读 · 1 评论 -
Apache启动时报错Could not reliably determine the server's fully qualified domain name
apache无法启动,提示:正在启动 httpd:httpd: apr_sockaddr_info_get() failed for CentOShttpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName原因:httpd.conf文件中未设置原创 2017-08-09 09:46:06 · 1440 阅读 · 0 评论 -
Apache2.4源码编译安装的依赖问题
apache2.4版本需要依赖apr以及apr-util、pcre,首先下载并解压apr及apr-util、pcrewget -P /home/downloads/ https://mirrors.tuna.tsinghua.edu.cn/apache/apr/apr-1.6.2.tar.gzwget -P /home/downloads/ https://mirrors.tuna.tsinghu原创 2017-08-09 11:05:40 · 928 阅读 · 0 评论 -
用源码安装的apache替代原来的apache
源码安装目录为/usr/local/httpd2.4将源码目录/bin/apachectl命名为httpd并复制到/etc/init.d/中 cp /usr/local/httpd2.4/bin/apachectl /etc/init.d/httpd编辑复制过去的httpd文件,添加如下内容,若不加httpd则不支持chkconfig命令# chkconfig: - 85 15# descr原创 2017-08-09 11:09:20 · 400 阅读 · 0 评论 -
编译安装PHP5,并更改apache设置
下载并解压php源码包wget http://cn.php.net/distributions/php-5.6.31.tar.gztar -zxvf php-5.6.31.tar.gz以下都是安装各种依赖包yum install libxml2yum install libxml2-develyum install openssl openssl-develyum reinstall bzi原创 2017-08-11 09:11:58 · 407 阅读 · 0 评论