User`s manual

Moxa C Programmable RTU Controllers Managing Communications
4-5
Step 4: Unzip the package. Perform the command “tar xvzf php.tar.gz”.
192.168.127.254 - PuTTY
root@Moxa:/mnt/ramdisk# tar xvzf php.tgz
envvars
envvars.old
httpd.conf
httpd.conf.old
install.sh
lib
lib/libmysqlclient.so.15
lib/libpng.so.2
lib/libphp5.so
lib/libmysqlclient.so.15.0.0
lib/libgd.so
lib/libxml2.so.2.6.22
lib/libgd.so.2.0.0
lib/libjpeg.so
lib/libxml2.so.2
lib/libgd.so.2
php
php/php.ini
phpinfo.php
root@Moxa:/mnt/ramdisk#
Step 5: Change directory to php. Run “install.sh” and select Install PHP Package”.
192.168.127.254 - PuTTY
root@Moxa:/mnt/ramdisk# cd php
root@Moxa:/mnt/ramdisk/php# ./install.sh
Press the number:
1. Install PHP package
2. Uninstall PHP package
3. Exit.
1
Start to install PHP. Please wait ...
Starting web server: apache.
PHP install sucess.
root@Moxa:/mnt/ramdisk/php#
Step 6: Open the page with the host PCs browser (e.g. http://192.168.127.254/phpinfo.php).
If you want to uninstall PHP, follow step 2 to 5, and select the Uninstall option.
IPTABLES
IPTABLES is an administrative tool for setting up, maintaining, and inspecting the RTU controller’s IP packet
filter rule tables. Several different tables are defined, with each table containing built-in chains and
user-defined chains.
Each chain is a list of rules that apply to a specific type of packet. Each rule specifies what to do with a matching
packet. A rule (such as a jump to a user-defined chain in the same table) is called a “target.”