Jump to content

rocket1356

Members
  • Posts

    10
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

rocket1356's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Damn, the customer IT department does not like the idea of having webserver on any of their windows machine. Is there any other solution other than me creating a VB or c++ program?
  2. Just talked to my co-worker. The apache cannot be install in the customer machine. So is the php solution a no go if Apache is needed?
  3. Do you need apache server to view a php website? I thought its for hosting only.
  4. Sure I need more details. How big is the ftp server program. As the LINUX box can only handle a total of 512mb(flash drive). I think it has a ssh server/client program in there because I can manually use a SSH program to ssh into the LINUX box. Is there another solution if the ftp server program cannot be installed in the LINUX machine? Right now I am stuck on connecting to the LINUX machine. Another problem is: Do the customer need to install apache server and php on their WINDOWS machine to get the php website to start up? They are not hosting the website, they are just using the website to remotely connect into the LINUX machine. Thanks.
  5. I will need to give the customer the php website to add into their WINDOWS OS. Do they need to download WINDOWS php binaries from php.net? Do I have to add something like certain library to the LINUX OS for PHP-LINUX communication?
  6. We have an in-house LINUX OS which our developer created. This LINUX is running on a 512mb flash. This LINUX will have serial card(with cables) controlling a motherboard full of relays(Infoo is not important, but just to let you know what it does). Because the serial card has settings, we created .ini files to configure the serial cards. When we ship out the LINUX box with our LINUX OS, we preconfigure the IP address that the customer gives to us. OK, I hope it is cleared up to now. Now the customer has the LINUX box. They will boot up the machine. This machine will be online. They will now need to modify the .ini files to match the speed of communication they desired. Because they have multiple machines, it would be a hassle for them to modify each one after booting up. So my idea is to create an installation script(PHP website), in a WINDOWS environment, that will interface with the LINUX box to change the settings in the .ini files. This script will ask how many LINUX box they have. It will need to connect into each one(can you connect into more than 1 LINUX machine with the PHP script?), reads the current .ini info in the LINUX box, then display it into the PHP website. The user can then edit the fields in the PHP website. They can hit 'Apply' and this will apply the settings to the LINUX box. I will then need to reboot the LINUX machine(via the PHP website), to get the changes. Can I also change the IP address(via the PHP script)? The customer might change their mind about the IP address they gave to us(but I do not think that this is a priority yet). Please let me know if this is not clear. Thanks
  7. Sorry to ask you guys multiple questions. Do I need to install php on the windows machine and the LINUX box?
  8. So I connect to the LINUX box through what command? Can I use ssh2? Do I have to install ssh library or some sort? Can I change their IP/Hostname by editing their config. files and then reboot? Also, the .ini I am talking about is some file that controls the PLC(Input/Output relays). Thanks.
  9. The customer is running LINUX on a 512mb flash drive. I can only install very important files. Their LINUX box does not have any GUI just console.
  10. Hi, I want to built a windows php website---> connect to the linux box--->read all settings value from the .ini files->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 reason of settings, also save the values into SQL database. I also need to reboot the linux box after apply changes to the .ini. Anyone knows how to approach this problem? What do I need? Does php have a built in ssh? Thanks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.