Mobile app version of vmapp.org
Login or Join
Shanna517

: 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

@Shanna517

Posted in: #Linux #Php

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.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Shanna517

2 Comments

Sorted by latest first Latest Oldest Best

 

@Murray432

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

10% popularity Vote Up Vote Down


 

@Jessie594

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme