PHP interface with linux box

Discussion in 'PHP' started by rocket1356, Jun 5, 2007.

  1. #1
    I plan to create a similar installation script just like the install for vbulletin. I plan to make a web base installer to interface with a linux box. Basically this web base installer will connect to a linux box and read configuration files from it. I want to let the user change the configuration settings in the linux box through the web base installer in a windows environment.

    There are several ways to approach this problem, but I do not know if it would work:

    1. Create a web base installer then ask for input for the settings then write to a file in windows. Then connect to the linux box and transfer files over via scp command?

    2. Create a web base installer then connect to the linux box and read information from the configuration files. Ask the user to make changes then write back to the linux box.

    3. Create a web base installer then ask user to input settings, then write to mysql. From the linux connect to mysql then read settings for each configuration file.


    The reason for the web base installer is because some user do not know how to use the LINUX OS and do not know how to configure the OS settings. Please let me know if you have any suggestion.
     
    rocket1356, Jun 5, 2007 IP