Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: lubik on October 12, 2007, 08:19:59 AM

Title: Command line -where?
Post by: lubik on October 12, 2007, 08:19:59 AM
I am greenhorn. I know it. 
Please where is this place where i can write all this commands?
When i connect from my laptop to my sme server on https://server1/server-manager/ i cant find it. How i can execute commands?  :?
I read all documentation and tried to search forum but can't find it. :shock:
Please tell me: How can I access command line? :oops:
Thank you

8 people already saw this post and no one know how to access command line from server-manager? Isn't it strange?

Bit more information. I suppose that I have to log in as a root but when I tried it I had only reply - wrong username or password.
When I log as admin I can't find command line - is not there.
What I can do?
Title: Re: Command line -where?
Post by: cactus on October 12, 2007, 09:17:31 AM
I am greenhorn. I know it. 
Please where is this place where i can write all this commands?
When i connect from my laptop to my sme server on https://server1/server-manager/ i cant find it. How i can execute commands?  :?
I read all documentation and tried to search forum but can't find it. :shock:
Please tell me: How can I access command line? :oops:
Thank you

8 people already saw this post and no one know how to access command line from server-manager? Isn't it strange?

Bit more information. I suppose that I have to log in as a root but when I tried it I had only reply - wrong username or password.
When I log as admin I can't find command line - is not there.
What I can do?
If you are in the local network you should be able to login as root using putty, you then would get access to the SME Server shell. However since you say you are a greenhorn you perhaps would leave the command line instructions for what they are unless you really need them. Most of the common instructions and configuration modifications can be done using the server-mamaner. Offcourse you can also sit behind the machine and log in as root, this should work if your provide the proper valid password.

When you logon as admin you do not get the prompt but get a menu to manage your server, this is different from the server-manager and is more like the configuration manager during installation.
Title: Re: Command line -where?
Post by: lubik on October 12, 2007, 10:34:13 AM
Thank you for reply.
Yes I know next to nothing about command line and i would like to use something else like this:
Quote
If you are not familiar with working from the Linux prompt, you may be interested in trying a file management tool called Midnight Commander. It allows you to perform many file operations through a menu-driven interface. Simply type mc at the command prompt. Press the function key "F1" for help and "F10" to quit.
but as you see to be able to use Midnight Commander I have to go to command prompt first  :-?
And about password:
Quote
The password for the "root" user is whatever password is currently set for the administrator of the server. Note that this is the same password as that used by the "admin" user account.
I used root as username and admin's password but it did not worked.
And I would like to manage server from laptop (and leave server in "cupboard")
But really thank you for reply - I am going to read what is putty :?:
Title: Re: Command line -where?
Post by: TrevorB on October 12, 2007, 11:53:03 AM
Please tell me: How can I access command line? :oops:
The command line is accessible from the console of your server or via a Secure Shell (SSH) connection to the server (as catus said).

For the console (ie. the monitor/keyboard attached to your server) http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter6 (http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter6) Section 6.2. Accessing the Linux Root Prompt

For an SSH session http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter11#SSH (http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter11#SSH).

Putty is a windows ssh client (just google for putty and it will be the first reference). Here is a link to an old, but still working, description of how to use putty with smeserver (http://www.carrollweb.net/putty/putty-howto.html)

Yes I know next to nothing about command line and i would like to use something else like this:but as you see to be able to use Midnight Commander I have to go to command prompt first  :-?
And about password:I used root as username and admin's password but it did not worked.
The root password is disabled for the server-manager, but is available for console login (as above).
Quote from: lubik
And I would like to manage server from laptop (and leave server in "cupboard")
As per cactus' comments, nearly everything should be able to be administered through server-manager, which is available from your notebook plugged into the local LAN. If you want to access the server-manager or console remotely, please read the Security section (http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter11) of the Administrators manual.

Good Luck
Trevor B
Title: Re: Command line -where?
Post by: lubik on October 13, 2007, 11:42:22 AM
Hi Trevor,
thanks for taking time to respond.

For the console (ie. the monitor/keyboard attached to your server) http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter6 (http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter6) Section 6.2. Accessing the Linux Root Prompt

In my response to Cactus I quoted from this very section (Chapter 6, Section 6.2. of Admin Manual):
Quote
The password for the "root" user is whatever password is currently set for the administrator of the server. Note that this is the same password as that used by the "admin" user account.
I used root as username and admin's password but it did not worked.

 :oops: :oops: :oops: I had CAPS LOCK on when I tried to go to root from console  :oops: :oops: :oops: No wonder that it refused password!

Nevertheless today I was able to see for first time in my life
Quote
[root@server1 ~]#                                                                                                                                           
:pint: :razz:
I used SSH over local network.


As per cactus' comments, nearly everything should be able to be administered through server-manager, which is available from your notebook plugged into the local LAN. If you want to access the server-manager or console remotely, please read the Security section of the Administrators manual.

Security warning noted, but I really could not make out how to start Midnight Commander except to start first Command Prompt

Yes I know next to nothing about command line and i would like to use something else like this:
Quote
If you are not familiar with working from the Linux prompt, you may be interested in trying a file management tool called Midnight Commander. It allows you to perform many file operations through a menu-driven interface. Simply type mc at the command prompt. Press the function key "F1" for help and "F10" to quit.
but as you see to be able to use Midnight Commander I have to go to command prompt first  Confused
Quote above is from Admin Manual section 6.2. as well.


So after connecting by ssh i typed mc and ... voila:
                                                                                             
  Left     File     Command     Options     Right                                             
l<q~qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqv>kl<q~qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqv>k
x          Name          x Size  x   MTime    xx          Name          x Size  x   MTime    x

....etc.


Thanks for your help.
I am sure that I will be back soon with more :?: :wink:
I already have one but this is more for contribs so I will post it there.