Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Programming/Scripts

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 7th June 2007, 10:37
rocket1356 rocket1356 is offline
Junior Member
 
Join Date: Jun 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Windows PHP interface with Linux box

I plan to create a similar installation script just like the install for vbulletin. I plan to make a windows php web-based installation script to interface with a linux box. Basically this web-based installer will connect to a linux box, and read/write to the configuration files from it. I want to let the user change the configuration settings of the linux box from web-based installer in a windows environment.

There are several ways to approach this problem, but I do not know if it would work, so please help me out. Tell me which is a good approach.

1. Create a windows web-based script that ask for the settings then it writes to a temp file. Then connect to the linux box and transfer files over via scp command? How would I go about using what php command to connect into a linux server?

2. Create a windows web-based script that connects to the linux box. Opens and read information from the configuration files and display it on the screen(windows). It ask the user to make changes from the script then write back to the linux box. What php command I use connect into the linux box and to open each files(configuration) and read/write to it in the linux server?


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 LINUX OS settings. Please let me know if you have any suggestion.

Thanks
Reply With Quote
Sponsored Links
  #2  
Old 8th June 2007, 09:04
rocket1356 rocket1356 is offline
Junior Member
 
Join Date: Jun 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I want to built a windows php website---> connect to the linux box--->read all settings value from the .ini file->display it into the php website->user can then change the values->save the .ini file base on the user modification close the file-->for back up of settings also save the values into mySQL.

Anyone knows how to approach this problem?
Reply With Quote
  #3  
Old 8th June 2007, 19:22
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,748 Times in 2,579 Posts
Default

Quote:
Originally Posted by rocket1356
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 LINUX OS settings. Please let me know if you have any suggestion.

Thanks
Why don't you install Webmin on the Linux box? http://www.webmin.com/
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 8th June 2007, 19:40
rocket1356 rocket1356 is offline
Junior Member
 
Join Date: Jun 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

I can't install any program other than necessary files because the customer site is running LINUX on a 512mb flash. There are a bunch of LINUX machine running on a 512mb flash drive.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Freebsd 6.1 support misterm Installation/Configuration 10 9th April 2009 10:29
Getting e-mail working hansoffate Installation/Configuration 29 13th August 2008 17:33
Apache2 Freezes celtic Server Operation 31 28th May 2007 18:18
KErnel not showing all my memory Jorem Kernel Questions 8 13th April 2006 13:59


All times are GMT +2. The time now is 19:11.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.