Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: scrimshaw on February 19, 2008, 11:35:25 PM

Title: Command Line Access
Post by: scrimshaw on February 19, 2008, 11:35:25 PM
I'm sure that this is obvious, but I can't find the answer on the forums/manuals.

How can I get command line access from another PC on the LAN?  I've used KSSH and can get a session with the server console, but when I select option 9 (Exit from server console) hoping to get to the command line, the session closes.

I've not used SSH before, so may well be making a simple error.

My eventual aim is to get a joomla install working for testing purposes and avoid breaking my hosted setup.

Many thanks.
Title: Re: Command Line Access
Post by: cactus on February 19, 2008, 11:40:18 PM
I'm sure that this is obvious, but I can't find the answer on the forums/manuals.

How can I get command line access from another PC on the LAN?  I've used KSSH and can get a session with the server console, but when I select option 9 (Exit from server console) hoping to get to the command line, the session closes.

I've not used SSH before, so may well be making a simple error.

My eventual aim is to get a joomla install working for testing purposes and avoid breaking my hosted setup.

Many thanks.
Do not login as admin, but use the root user, which should have the same password unless you have changed the admin password.
Title: Re: Command Line Access
Post by: stephen noble on February 20, 2008, 01:25:47 AM

My eventual aim is to get a joomla install working for testing purposes and avoid breaking my hosted setup.


there is a smeserver-joomla rpm
if it doesn't work out of the box raise a bug
Title: Re: Command Line Access
Post by: electroman00 on February 20, 2008, 05:45:35 PM
http://wiki.contribs.org/Shell_Access_with_WinSCP (http://wiki.contribs.org/Shell_Access_with_WinSCP)

Also http://wiki.contribs.org/Category:Howto (http://wiki.contribs.org/Category:Howto)

Install Contribs the first in the list.....

http://wiki.contribs.org/Category:Contrib (http://wiki.contribs.org/Category:Contrib)
Title: Re: Command Line Access
Post by: scrimshaw on February 20, 2008, 10:49:51 PM
Thanks for your answers. 
I've got Joomla! sucessfully installed and working on the box although the links on the wiki do not seem to work correctly, so I modified the wget command to: 

wget http://ftp.surfnet.nl/ftp/pub/os/Linux/distr/smeserver/contribs/dberteld/joomla/smeserver-joomla-1.5.1-2.noarch.rpm

and the yum command to:

yum --enablerepo=smecontribs install smeserver-joomla-1.5.1-2.noarch.rpm

Once again, thanks!
Title: Re: Command Line Access
Post by: electroman00 on February 21, 2008, 01:20:03 AM

Quote
I've got Joomla! sucessfully installed and working on the box

Great

Quote
although the links on the wiki do not seem to work correctly, so I modified the wget command to: 

Ouch.....someone needs to check the wiki for that...

There's some stuff in the wiki that's not so up to date...

Time for most seems to be the enemy...!

Quote
wget http://ftp.surfnet.nl/ftp/pub/os/Linux/distr/smeserver/contribs/dberteld/joomla/smeserver-joomla-1.5.1-2.noarch.rpm

If you do a wget to a local folder then you would

yum localinstall smeserver-joomla-1.5.1-2.noarch.rpm

You just need to be in the folder where the file is when you "yum localinstall" or path to it i.e.

yum localinstall /tmp/smeserver-joomla-1.5.1-2.noarch.rpm

I use little scripts like this when you need to wget install

Code: [Select]
#!/bin/sh

# Tested 02/16/2008

mkdir /tmp/installed/modindex
cd /tmp/installed/modindex

wget "http://www.someserver.org/contribs/files/modindex/smeserver-modindex-0.0.6-01.noarch.rpm"

yum localinstall smeserver-modindex-0.0.6-01.noarch.rpm

Quote
yum --enablerepo=smecontribs install smeserver-joomla-1.5.1-2.noarch.rpm

That way will d/l it from the repo for you and install it all in one shot.

Once again, thanks!
[/quote]
Title: Re: Command Line Access
Post by: electroman00 on February 21, 2008, 04:03:58 PM
Sorry for the above, didn't at first understand what you were saying.

Anyway I corrected the wiki.

You should be able to login to the wiki with your forum U&P.