How do I use yast2 to install software in SUSE?

Hi

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.

Thanks!

NewInSuSE

What comes from

rpm -qa | grep apache

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.


CAVEAT: http://is.gd/bpoMD
[openSUSE 11.3 + KDE4.5.5 + Thunderbird3.1.8 via NNTP]
HACK Everything → http://www.youtube.com/watch?v=j5b4CCe9pS8&NR=1

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>

? :slight_smile:

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>
>
> ? :slight_smile:

oh wow someone beat me to it! i thought for once i had a good
idea…sigh :frowning:

but, yours is not online, it is on-drive, doest that make it even
better?? :wink:


CAVEAT: http://is.gd/bpoMD
[openSUSE 11.3 + KDE4.5.5 + Thunderbird3.1.8 via NNTP]
HACK Everything → http://www.youtube.com/watch?v=j5b4CCe9pS8&NR=1

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>
>>
>>
>> ? :slight_smile:
>
> oh wow someone beat me to it! i thought for once i had a good
> idea…sigh :frowning:
>
> but, yours is not online, it is on-drive, doest that make it even
> better?? :wink:
>

If you insist:
<http://doc.opensuse.org/products/opensuse/openSUSE/opensuse-reference/cha.apache2.html>

On 05/04/2011 03:19 PM, Dave Howorth wrote:

> If you insist:
> <http://doc.opensuse.org/products/opensuse/openSUSE/opensuse-reference/cha.apache2.html>

oooooh, so cool!

i could have never found that and would have had to ask a thousand
questions to get my LAMP up and going!! THANKS!! you are a prince!!


CAVEAT: http://is.gd/bpoMD
[openSUSE 11.3 + KDE 4.5.5 + Firefox 3.6.17 + Thunderbird 3.1.10 via NNTP]
HACK Everything → http://www.youtube.com/watch?v=j5b4CCe9pS8&NR=1

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 :stuck_out_tongue:

> 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)

great…I get it :slight_smile: 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.

How can I solve it? or Is there any better or easier way for me to install it?

when i check it on its official page : http://code.google.com/p/modwsgi/wiki/QuickInstallationGuide

“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.”

but i don’t find the apxs2 (whereis apx2).

anyway, thanks for the apache part!

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 :slight_smile: 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…


CAVEAT: http://is.gd/bpoMD
[openSUSE11.3 + KDE4.5.5 + Firefox3.6.17 + Thunderbird3.1.10 via NNTP]
HACK Everything → http://www.youtube.com/watch?v=j5b4CCe9pS8&NR=1

On 2011-05-07 13:06, NewInSuSE wrote:
>
> great…I get it :slight_smile: but how’s the mod_wsgi?

Installing it from the build service? It is there.

You want to compile it yourself? Then download the sources from them and
read the spec file to find out how they did it.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)