LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-25-2010, 12:14 AM   #1
pinga123
Member
 
Registered: Sep 2009
Posts: 676
Blog Entries: 2

Rep: Reputation: 36
Communicate to the OS(linux) using front end.


Hi guys ,

I want to develop a web page which is capable of executing the command on os and show the output on the browser.(Which involves reading and writing too.)

I m using jsp language to develop the web page. How would i use it to communicate with my linux server?

Any help regarding this would be be highly appreciated.
 
Old 05-25-2010, 01:13 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
I don't really understand the problem here, you'd just use the jsp api's effectively... ?? jsp is a server side language, so anything and everything you do with jsp is communicating with the server.
 
Old 05-25-2010, 02:28 AM   #3
pinga123
Member
 
Registered: Sep 2009
Posts: 676
Blog Entries: 2

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by acid_kewpie View Post
I don't really understand the problem here, you'd just use the jsp api's effectively... ?? jsp is a server side language, so anything and everything you do with jsp is communicating with the server.
the problem is my jsp pages are hosted on application server and i want to execute the commands on another server.
How would i do this.

I can run ssh command by adding a private-public key but again it is not recommended.
What shall i do?
 
Old 05-25-2010, 05:21 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
I think you should probably try and not want to do this in the first place. Doesn't sound at all like a good idea. That said you've not really described what and why you want to do to in much detail.
 
Old 05-25-2010, 11:27 PM   #5
pinga123
Member
 
Registered: Sep 2009
Posts: 676
Blog Entries: 2

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by acid_kewpie View Post
I think you should probably try and not want to do this in the first place. Doesn't sound at all like a good idea. That said you've not really described what and why you want to do to in much detail.
I admit that i have not described the situation in detail.


We are using Oracle Virtual Server which is hosting couple of virtual machines .
For Managing these Virtual Machines we have a separate Virtual Manager (Situated at different server).
This manager is written in jspx and it manages machines on different server(activities like Start/Stop/VNCCONSOLE). I m just curious to know in what manner it executes the commands on VM server .

Last edited by pinga123; 05-25-2010 at 11:28 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mythbuntu front-end and back-end questions... Liambiscuit Linux - Software 4 09-28-2008 05:11 PM
Multiple Apache - Front-end & Back-end in one server grant-skywalker Linux - Server 3 08-27-2008 02:04 PM
front end for C program in linux ? ratheesh Programming 2 01-12-2004 02:35 AM
Mysql front-end for linux glock19 Linux - Software 18 07-23-2003 03:18 PM
Front end for NAT in Linux? geraldomanaus Linux - Software 4 02-21-2003 05:45 AM


All times are GMT -5. The time now is 12:03 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration