tailieunhanh - Practical mod_perl-CHAPTER 3: Installing mod_perl

Tham khảo tài liệu 'practical mod_perl-chapter 3: installing mod_perl', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Page 42 Thursday November 18 2004 12 35 PM CHAPTER 3 Installing mod_perl In Chapter 2 we presented a basic mod_perl installation. In this chapter we will talk about various ways in which mod_perl can be installed using a variety of installation parameters as well as prepackaged binary installations and more. Chapter 2 showed you the following commands to build and install a basic mod_ perl-enabled Apache server on almost any standard flavor of Unix. First download http dist httpd and http dist . Then issue the following commands panic cd home stas src panic tar xzvf panic tar xzvf panic cd panic perl APACHE_SRC . src DO_HTTPD 1 USE_APACI 1 EVERYTHING 1 panic make make test panic make install panic cd . panic make install As usual replace and with the real version numbers of mod_perl and Apache respectively. You can then add a few configuration lines to the Apache configuration file start the server and enjoy mod_perl. This should work just fine. Why then are you now reading a 50-page chapter on installing mod_perl You re reading this chapter for the same reason you bought this book. Sure the instructions above will get you a working version of mod_perl. But the average reader of this book won t want to stop there. If you re using mod_perl it s because you want to improve the performance of your web server. And when you re concerned with performance you re always looking for ways to eke a little bit more out of your server. In essence that s what this book is about getting the most out of your mod_perl-enabled Apache server. And it all starts at the beginning with the installation of the software. 42 Page 43 Thursday November 18 2004 12 35 PM In the basic mod_perl installation the parameter EVERYTHING 1 enables a lot of options for you whether you actually

TỪ KHÓA LIÊN QUAN