Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I believe webmin has a section that let you do that. I think it was a java applet or something. If I remember (I haven't used Webmin in a few years) Webmin also has (had?) a few security flaws. I'm assuming they'd have fixed them by now since it's been a few years and should be more mature, but try googling around just in case.
As others have pointed out, you can achieve this using a scripting language such PHP or Perl. The caveat is this;
If the server is remote to the webserver hosting the website you'll need to set something up to listen to (and authenticate, cleanse and rate control) the requests. There are probably several ways to do it, but I'd probably go for setting up a lightweight server on the Unix box with an ACL limiting access and a bunch of 'helper' scripts to do what you want.
It's somewhat easier if the webserver *is* the same server as the unix box you want to run the commands on as you dispense with helper scripts and make the calls directly (after ensuring security of course).
You can use PHP scripts to run unix command. But you need to be specific about your needs. Your question is very vague.
We are running Oracle virtual servers on our environment .We are running some virtual machines inside virtual servers.
For starting and stopping the machines we have to manually log into the server and run the command.
I just want to automate the work by giving web interface for the user.