Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
SUSE / openSUSE This Forum is for the discussion of Suse Linux.


  Search this Thread
Old 01-16-2005, 07:10 AM   #1
LQ Newbie
Registered: Jan 2005
Posts: 2

Rep: Reputation: 0
Post To install Apache server on SuSe

During my installation, I encountered a lot of problems. Here, I want to share my experience with all of you. Hope this is helpful.

Install the Apache on suSE

1. Download Apache

2. Extract
$ gzip -d httpd-2_0_52.tar.gz
$ tar xvf httpd-2_0_52.tar

$ ./configure --prefix=PREFIX
Install architecture-independent files in PREFIX. By default the installation directory is set to /usr/local/apache2.

On this step, you may get "error: C compiler cannot create executables", then you need to install gcc, binutils and glibc-devel first on Yast before the configuration, for the detail, pls follow appendix ( HowTo make a Pro out of SuSE 9.1 Personal, here I would like to thank abisko00. )

$ make
If you get "make: command not fund" error, please intall the make package first from Yast.

$ make install

$ vi PREFIX/conf/httpd.conf
If vi command not fund, then install vim package first

$ PREFIX/bin/apachectl start
Maybe you will get that "no such file or directory" error, pls make sure that last character of "apachectl" is the small case of "L"!!!
then you should be able to request your first document via URL "localhost"

8.Now u can upload your own .pl script into /usr/local/apache2/cgi-bin/, for example


print "Content-type: text/plain\n\n";
print "Hello world!\n";

When u refer to the "localhost/cgi-bin/" on browser, you may get "500 Internal Server Error". This is caused by the perl.exe directory is incorrect.

linux:/usr/local/apache2/conf # which perl

Ok, now you know that perl is on "/usr/bin/perl" instead of "/usr/local/bin/";

Have a fun!!


HowTo make a Pro out of SuSE 9.1 Personal (by abisko00)

As a SuSE 9.1 Personal user, you may have recognised that the available software is very limited on your CD. Here I would like to show you how to get easy access to all the missing packages that make the difference between Pro and Personal (kernel sources, compiler, devel packages, gnome, etc.).

- First, find a close server that mirrors the main SuSE server ( at suse website

- Open Yast -> Software -> Change Source of Installation

- Click 'Add'

- Now select the protocol the mirror uses (most use FTP, some are HTTP)

- Enter the server:

- Enter ther directory: pub/suse/i386/9.1
Note that there is no slash at the beginning of the path! You also need to adjust the path to the structure of your mirror.Change the red entry to your architecture. Available are i386 and x86_64. Change the blue entry to your version. Available for i386 are 8.1/8.2/9.0/9.1/(9.2 in january).

- Confirm and press 'Finish'

Now you are able to use the specified server as if you had a CD in your drive.
Simply use Yast -> Software -> Install and Remove Software to install the required programs.
Old 01-16-2005, 07:15 AM   #2
LQ Newbie
Registered: Jan 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Because it is my first post, the server did not allow me to post the URL inside the text, I skipped some URL links.

The following is what I get when I posted, stupid things!

Sorry, in order to post a URL you must have at least 5 posts. This measure was put into place to prevent spamming. Please remove the URL and try again. Posting extra threads to get around this rule will result in all threads being removed.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Parsing PHP Scripts using Apache in SuSe 9.3 (without a dedicated server) elliotfuller SUSE / openSUSE 7 07-27-2005 12:40 PM
How to make install apache server backpacker Linux - Software 2 06-21-2005 05:38 AM
Do I need one or two NIC if I want to install apache web server mark001 Linux - Newbie 6 09-25-2004 04:13 PM
Apache web server install fails westone Linux - Networking 1 07-05-2004 05:37 PM
Can't start Apache on my Suse 8.1 pro LTSP server michael301080 Linux - Software 11 04-07-2003 06:07 AM > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 03:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration