Download |
$ lynx http://httpd.apache.org/download.cgi |
Extract |
$ gzip -d httpd-NN.tar.gz
$ tar xvf httpd-NN.tar
$ cd httpd-NN |
Configure |
$ ./configure --prefix=PREFIX(PREFIX指安装目录) |
Compile |
$ make |
Install |
$ make install |
Customize |
$ vi PREFIX/conf/httpd.conf |
Test |
$ PREFIX/bin/apachectl -k start |
安装好了后,出现问题如下:
[root at mobile apache]# dot /bin/apachectl start
httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
结果
Forbidden
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
原因可能是:
1、你没有为该目录或者该文件设置guest组权限;
2、你没有将该文件名设置为默认页面,尤其是在仅用域名访问的情况下。
解决办法:
chmod 701 /home/www (apache安装目录,同上面的PREFIX)
chmod 701 /home/www/*
分享到:
相关推荐
根据提供的文档信息,本文将详细介绍如何在Linux系统上安装并配置加速版OpenSSL(OCF)及Apache服务器,这是英特尔官方发布的技术文档,主要应用于基于Intel® QuickAssist Technology的安全应用开发环境中。...
2. **安装Apache HTTP Server** 解压httpd源码包,配置、编译、安装,然后启动服务: ``` [root@svnserver01 ~]# tar -zxvf httpd-2.2.10.tar.gz [root@svnserver01 ~]# ./configure --prefix=/usr/local/...
The emphasis is on what administrators will need to know to perform key server support and management tasks. Coverage of the systemd service management system is integrated into the book, replacing ...
Chapter 13: R unning a Linux, Apache, MySQL, and PHP (LAMP) Server. Chapter 14: Running a Mail Server. Chapter 15: Running a Print Server. Chapter 16: Running a File Server. Part V: Choosing and ...
The Ubuntu Server Guide contains information on how to install and configure various server applications on your Ubuntu system to fit your needs. It is a step-by-step, task-oriented guide for ...
Chapter 20 Apache Web Server Management Chapter 21 Administering Database Services Chapter 22 File and Print Chapter 23 Remote File Serving with FTP Chapter 24 Handling Electronic Mail Chapter ...
The "geronimo-book.pdf" provides detailed guidance on installing, configuring, and deploying applications to Geronimo. This book is targeted primarily at developers who have previous experience with ...
You will find details for using Tomcat on all major platforms, including Windows, Linux, OS X, Solaris, and FreeBSD, along with specifics on Tomcat configuration files, and step-by-step advice for ...
Installing Server You can install Radicale CalDAV server with the following command, with superuser rights: python setup.py install Then, launching the server can be easily done by typing as a normal ...
Restoring, and Recovery Chapter 18 Network Connectivity Chapter 19 Remote System with SSH and Telnet Part III: Ubuntu as a Server Chapter 20 Apache Web Server Management ...
Running a Linux, Apache, MySQL, and PHP (LAMP) Server Chapter 13: .................................423 Running a Mail Server Chapter 14: ..................................................................
**Chapter 2 - Installing Ubuntu Linux** - **Prerequisites for Installation**: Detailed information on hardware requirements, including minimum and recommended specifications for a smooth installation ...
- To use Drupal's "Clean URLs" feature on an Apache web server, you will need the mod_rewrite module and the ability to use local .htaccess files. For Clean URLs support on IIS, see "Using Clean ...
Apache Impala is a high-performance, distributed SQL query engine that enables fast, interactive SQL queries on data stored in Apache Hadoop's HDFS, HBase, or Amazon S3. This system is designed to ...
This can be done using Apache or another web server. - Place the Kickstart file (`ks.cfg`) and the RHEL ISO in a directory accessible via HTTP. 3. **Configuring the VM to Boot from Network:** - ...
32.3. Apache Kafka Support 32.3.1. Sending a Message 32.3.2. Receiving a Message 32.3.3. Additional Kafka Properties 33. Calling REST Services with RestTemplate 33.1. RestTemplate Customization 34. ...