Sunday, January 27, 2013

How do I remotely execute Command Line commands from my laptop to a Linux Server?

Q. I am trying to download and install Icast 2 on a remote Linux server. I have rights to the server and can also FTP or access CPanel remotely, but want to remotely execute commands on the Linux Server to install and configure the Icecast and other software. THANKS!!!

A. I assume you are coming from a Windows Machine ? This Linux server most likely has SSH running opposed to Telnet so you need to setup a session using putty. You can also send files over ssh using a free app such as winSCP. Another option is to setup a vncsession on the server , and connect with a remote desktop session.

Download putty
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Download winSCP
http://winscp.net/eng/download.php

realvnc for Windows
http://www.realvnc.com/products/free/4.1/winvncviewer.html
first you ssh into the linux box, and type vncserver then from windows machine, connect to the display's ip and port num 1,2,3,etc.

What is the best online place to buy Linux server, and what the best server brand?
Q. I am Looking to buy Linux server online to be shipped to colocation in Atlanta, I need recommendation for the best company to by online.

A. a "linux server" is nothing more than an IBM compatible PC with Linux running as it's operating system.
Linux nowadays has drivers for most common hardware on the market, so as long as you stick with industry standard components (ASUS or INTEL motherboards, 3-com or d-link Ethernet, ATI or Matrox video, Creative labs sound card....you get the idea) You'll be fine. I just suggest you purchase the systems from a store that will pre-load the linux onto the units to your specifications so that if there are any issues, they can be solved before the unit is shipped.

How do i connect to redhat linux server by using vncviewer even user is logged out?
Q. I successfully connect to the redhat linux server by using 3rd parties vncviewer. But when the user (root) user is logged out, i am unable to establish the connection again! Why, can anyone helps on this? Because i've tried to search on the web, cant find the solution... thanks a lot....
But when the user is logged out, it cant be connected, how?

A. To start the server on the linux box, as the user type:
$ vncserver
It will come back with something like "started server on localhost:1" (I can't remember the exact syntax - the bit you are interested in is the :1)
To connect to this from another computer (running windoze, linux or any other client) you must use the :1 bit too, ie connect to:
machinename:1
Because linux is a true multiuser environment you are able to launch multiple desktops, :1, :2, :3 etc. These go over ports 5901, 5902, 5903 etc. Windoze (not being multiuser) does not allow you to start a new desktop for a VNC session and only allows you the one which goes over port 5900 and is machinename:0



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

No comments:

Post a Comment