I just installed a OpenSUSE 13.1
Now i want to install Apache server in this system,
but when i type a command yast -i apache2
it said -bash: yast: command not found
i remember yast should be including in OpenSUSE ?
So i’m wonder why this message appearing?
May i know how can i use yast in openSUSE 13?
Are you sure about the error? because this is what i get when running yast as a normal user.
Absolute path to 'yast' is '/sbin/yast', so running it may require superuser privileges (eg. root)
If you want to install from cli the use zypper.
zypper search apache2
zypper help in
If you want to install apache2 then run this.
zypper in apache2
But is not complete, you still need to install and configure some files and packages, however if you install the pattern lamp_server then you have a running webserver right away.
Search for the pattern lamp_server
zypper se -t pattern lamp_server
Install the pattern lamp_server
zypper in -t pattern lamp_server
But most folks in here would insists that you use the GUI yast program when installing packages depending on your knowledge of zypper and the cli/interactive shell ;).
While jetchisel’s anwer does contain a lot information, I would like to add some info about using the forums. When you want to post things that happen on your terminal window, please copy/paste the prompt, the command, the output and the next prompt between CODE tags in a post. You get the CODE tags by clicking on the # button in the tool bar of the post editor.
You will see a good examples in jetchisel’s post above.
Thank for your reply, Please see below screen capture, and i installed apache2 with cmd zipper already, but for future , i think yast is a core for manage the application and configure , so i wanted to fix that issues, do you have some suggestion, thanks.
Now when you have some installation of openSUSE, not installed ny you. you never can be certain what you have or not without checking it yourself, or asking the one that installed it.
IMHO, you should include it (and it is done by default), after all YaST is one of the main reasons for me to use openSUSE. But other people may think different and everybody can remove/add from an installation at will.
Thus when ask “should be…”, the answers can be:
when you mean “is it not installed by default?”, the answer is: yes,
when you mean " should AWS not have done it", then the answer is: that is something between you (customer?) and AWS (the provider?), what did you buy and what do you pay for.
In any case, it should have been nice when you had informed us in your first post that you are using a system wher ethe installation and managent history is completly unknown to you. Would have spared us a alot of amazement.
That you are using a putty terminal is no excuse. Even in Windows you
can copy paste text.
About your problem, you are using a hosted server. These things
intentionally remove packages and functionality from the images,
specially if big, or if they simply do not want you to use them. On some
services you simply can not update/upgrade yourself; not only they
remove things, but they add others, and they change basic things so that
they don’t work as expected.
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)
When such hosting services change the default system for whatever reason, they normaly do not want you to change that agian. And they do so of course by denying you the possibility to manage the system. So the big question is: do you know the root password? When not, nothing can be done except by them.
On 2014-09-30 05:36, brandonchauhk wrote:
> hcvv;2667035 Wrote:
>> When such hosting services change the default system for whatever
>> reason, they normaly do not want you to change that agian. And they do
>> so of course by denying you the possibility to manage the system. So the
>> big question is: do you know the root password? When not, nothing can be
>> done except by them.
> I think the default login is root ?
In a normal openSUSE system, there is no such thing as “default” login.
In fact, you are expected not to login as root.