|
Fedora™ Unleashed, 2008 editionThe default location for Apache's logs as installed by Fedora is /var/log/httpd. A Quick Guide to Getting Started with Apache Setting up, testing a web page, and starting Apache with Fedora can be accomplished in just a few steps. First, make sure that Apache is installed on your system. Either select it during installation or install the server and related RPM files. Next, set up a home page for your system by editing (as root) the file named index.html under the /var/http/www/html directory on your system. Make a backup copy of the original page or www directory before you begin so that you can restore your web server to its default state if necessary. Start Apache (again, as root) by using the service command with the keywords httpd and start, like this: #В service httpd start You can also use the httpd script under the /etc/rc.d/init.d/ directory, like this: #В /etc/rc.d/init.d/httpd start You can then check your home page by running a favorite browser and using localhost, your system's hostname, or its Internet Protocol (IP) address in the URL ...» | Код для вставки книги в блог HTML
phpBB
текст
|
|