Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >System Management


    

Blue Forest http://www.lslnet.com at 19:08 on May 28, 2006


-- Urgent -- novice to ask how to write the script for the Apache?

(This is a test of our several requests, especially the first one, do not know how to complete? Thank you expert guidance! )

Requirements :

1. Check whether the installation of Apache, has been installed, delete
2. Delete the entire /var/www catalog and document the existence of any httpd.conf
3. Apache install rpms
4. Copy their own version of httpd.conf
5. Apache began deamon
6. The website for their copy of the catalog to /var/www

Thank you! !

-- Urgent -- novice to ask how to write the script for the Apache?

Sorry. Which does not make clear, is to use a script to complete. Thank you!

-- Urgent -- novice to ask how to write the script for the Apache?

The first simple, find / -name "apachectl"
Found on 80 netstat -antu|grep
Yes on apachectl stop
Then rm -rf. . . .
-iU --nodeps --force Then rpm. . . . . . .
Then. . . .

-- Urgent -- novice to ask how to write the script for the Apache?

Thank you! ! ! Very grateful!



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com