: Embed linux console in website/using web language to communicate with fedora/linux server I have some problem here as I want to build a website which able to communicate with fedora server to
I have some problem here as I want to build a website which able to communicate with fedora server to create account.
The website will be something like this
user will access an IP to access the website
website is running in window web browser eg. IE, mozila
the website will allow user to key in their own ID, username and password to create their user account
So, what I think will be is there any web language to communicate with linux/ run linux command eg. mkdir, useradd???
The webpage need to written in what web language in order to support the requirement??Any link for reference is appreciated
Thanks in advance.
More posts by @Shanna517
2 Comments
Sorted by latest first Latest Oldest Best
I think python is a best choice for both administration purpose and web development,
Fedora itself using it for installation and administration purpose, and its very powerful in this field,
and its easy to learn and extends, please follow these tow links to learn more about python:
python website: python.org cherrypy web framework : www.cherrypy.org/ python subprocess for command line execution : docs.python.org/library/subprocess.html
If the website is running on the same box as Fedora, you could use PHP's exec() command to run a shell script that creates a new user, as described in this forum post.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.