![]() # Configuration and logfile names: If the filenames you specify for many # of the server's control files begin with "/" (or "drive:/" for Win32), the # server will use that explicit path. If you are unsure # consult the online docs. # Do NOT simply read the instructions in here without understanding # what they do. # In particular, see # for a discussion of each configuration directive. It contains the # configuration directives that give the server its instructions. 网站配置参照 # This is the main Apache HTTP server configuration file. Ln -s /usr/local/apache2/bin/httpd /usr/bin/httpd Make & make install cp /liswebtmp/lisweb/httpdsrc/nf /usr/local/apache2/conf Yum -y install gcc automake autoconf libtool makeĬd /liswebtmp/lisweb/httpdsrc/httpd-2.4.48 Set the 'ServerName' directive globally to suppress this message 启动和查看进程 nginx-1.18.0 ] # nginx-1.18.0 ] # sudo httpd -k startĪH00558: httpd: Could not reliably determine the server 's fully qualified domain name, using fe80::4d0b:c4d6:c845:87fd. 然后运行sudo httpd -k start就能启动httpd了,运行sudo httpd -k stop停止httpd。httpd的配置在/usr/local/apache2/conf/nf Make & make install ln -s /usr/local/apache2/bin/httpd /usr/bin/httpd Yum -y install zlib zlib-devel openssl openssl-devel pcre pcre-devel 如果没有编译环境的先安装编译环境 yum -y install gcc automake autoconf libtool make
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |