Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: How do I use yast2 to install software in SUSE?

  1. #1

    Default 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

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,857
    Blog Entries
    20

    Default Re: How do I use yast2 to install software in SUSE?

    What comes from

    Code:
    rpm -qa | grep apache
    Tumbleweed_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,822

    Default Re: How do I use yast2 to install software in SUSE?

    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.
    Henk van Velden

  4. #4
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: How do I use yast2 to install software in SUSE?

    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

  5. #5

    Default Re: How do I use yast2 to install software in SUSE?

    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>

    ?

  6. #6
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: How do I use yast2 to install software in SUSE?

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

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

  7. #7

    Default Re: How do I use yast2 to install software in SUSE?

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


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

  8. #8
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: How do I use yast2 to install software in SUSE?

    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

  9. #9
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: How do I use yast2 to install software in SUSE?

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

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

  10. #10

    Default Re: How do I use yast2 to install software in SUSE?

    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.

    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/wik...tallationGuide

    "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!

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •