I ssh to a remote server which is running in SUSE. And I want to install apache2.0 there. Then I used yast2 to install it. But after installing it, I go to the terminal and type" apache -version" to check if apache is installed there. And it said “-bash: apache: command not found”
I don’t if I haven’t successfully installed it, or I have installed it but just haven’t put it into PATH yet.
So, my problem is that can anyone tell how to check if I have installed it? If I have installed it, then what is the path of the directory it locates?
And if I haven’t probably installed it, then can you tell me the how I can installed it?
Thanks in advance! (It is quite urgent BTW)
And I am asked to install apache mod_wsgi as well.
How could you expect apache to be found by using your PATH variable (as end-user or as root)?
Apache is to be run as a daemon and when you go to YaST > System > System Services (runlevel) you will find it there (when properly installed) and can switch it on there.
And of course you willl ind the coonfiguration directory at* /etc/apache2*.
On 05/04/2011 09:36 AM, hcvv wrote:
>
> Apache is to be run as a daemon and when you go to YaST> System>
> System Services (runlevel) you will find it there (when properly
> installed) and can switch it on there.
how would anyone know to do that?!
someone ought to write a book about how to do all of that stuff, and,
put it online for free reference.
DenverD wrote:
> On 05/04/2011 09:36 AM, hcvv wrote:
>>
>> Apache is to be run as a daemon and when you go to YaST> System>
>> System Services (runlevel) you will find it there (when properly
>> installed) and can switch it on there.
>
> how would anyone know to do that?!
>
> someone ought to write a book about how to do all of that stuff, and,
> put it online for free reference.
You mean something like:
<file:///usr/share/doc/manual/opensuse-manuals_en/manual/book.opensuse.reference.html>
and specifically:
<file:///usr/share/doc/manual/opensuse-manuals_en/manual/cha.apache2.html>
> You mean something like:
> <file:///usr/share/doc/manual/opensuse-manuals_en/manual/book.opensuse.reference.html>
> and specifically:
> <file:///usr/share/doc/manual/opensuse-manuals_en/manual/cha.apache2.html>
>
> ?
oh wow someone beat me to it! i thought for once i had a good
idea…sigh
but, yours is not online, it is on-drive, doest that make it even
better??
DenverD wrote:
> On 05/04/2011 12:48 PM, Dave Howorth wrote:
>
>> You mean something like:
>> <file:///usr/share/doc/manual/opensuse-manuals_en/manual/book.opensuse.reference.html>
>>
>> and specifically:
>> <file:///usr/share/doc/manual/opensuse-manuals_en/manual/cha.apache2.html>
>>
>>
>> ?
>
> oh wow someone beat me to it! i thought for once i had a good
> idea…sigh
>
> but, yours is not online, it is on-drive, doest that make it even
> better??
>
On 2011-05-04 09:51, DenverD wrote:
> On 05/04/2011 09:36 AM, hcvv wrote:
>>
>> Apache is to be run as a daemon and when you go to YaST> System>
>> System Services (runlevel) you will find it there (when properly
>> installed) and can switch it on there.
>
> how would anyone know to do that?!
The paper book says so.
Mmm… but you have to belong to the closed acolyte group in order to have
one. >:-P
Or because it is the suse way of doing things
> someone ought to write a book about how to do all of that stuff, and, put
> it online for free reference.
X’-)
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)
“On some Linux distributions, such as SUSE and CentOS, it will be necessary to use the “–with-apxs” option and specify either “/usr/sbin/apxs2-worker” or “/usr/sbin/apxs2-prefork”. This is necessary as the Linux distribtions allow installation of “dev” packages for both Apache MPM variants at the same time, whereas other Linux distributions do not.”
As not everybody will read all threads from begin to end wen the title does not suggest it is something they can help with, IMHO you better start a new thread with a telling title like: How to install Apache mod_wsgi.
You change a knowledgable person will see your question is then much bigger, don’t you think so also?
On 05/07/2011 01:06 PM, NewInSuSE wrote:
>
> great…I get it but how’s the mod_wsgi?
>
> I am trying to install it by the source code.
>
> It is fine in ./configure
> but have some errors in make and make install.
maybe we could help with those? for example, run configure again an then
copy paste the entire input and output back to this thread and inside
code tags using these instructions: http://forums.opensuse.org/showthread.php?t=451526
now, careful, i for both your input and the machines output like:
denverd@openSUSE11-3:~/temp/bzflag-2.0.10> ./configure
BZFlag-2.0.10.20110507
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
<snip>
and, in the unlikely event it won’t fit in the max size of a post here,
then stuff it into one at paste.opensuse.org
WAIT, you read the instructions inside the mod_wsgi package, right? the
info which might be crucial to success will be located in one (or more)
of these: README INSTALL LINUX or some variation, like maybe
README-linux, etc not trying to be overly demanding, but the person
who makes the package has a lot of latitude in how the package must be
compiled…