Test apache configure

Discussion in 'Apache' started by radicaled, Oct 11, 2013.

  1. #1
    I'm working on a script to automatically install apache.
    Before asking, this is a company request, otherwise I would use easier method to install apache.

    Now, after the apache configure/make/make install I need to test for a successful completion. I checked the configure options but there is no flag for an unsuccessful finish.
    I would like to know if there is any other way than to test the command output for a successful or unsuccessful ending?

    Right now, I'm saving the output on a file and then grepping for an expected line. For example "creating test/Makefile" for the configure.

    Thanks
     
    radicaled, Oct 11, 2013 IP
  2. bartolay13

    bartolay13 Active Member

    Messages:
    735
    Likes Received:
    14
    Best Answers:
    1
    Trophy Points:
    98
    #2
    you should check for the service

    or check for the port if already listening

     
    bartolay13, Oct 17, 2013 IP
  3. it career

    it career Notable Member

    Messages:
    3,562
    Likes Received:
    155
    Best Answers:
    0
    Trophy Points:
    270
    #3
    Start apache and see whether you can access localhost:80 from your browser.
     
    it career, Oct 18, 2013 IP