In our previous article, we only introduced how PHP probes are used, and how to use them! So how do we install the PHP probe? Or is it installed under Linux? First of all, learning Linux system is still very interesting things, the following is a PHP probe, someone must have seen a similar interface!
mainly used to check the health of their servers, simply look at the memory consumption and running time can be
1 first to install APAHCE and PHP, the command is as follows:
Yum-y Install httpd PHP
2 then start httpd with the following command:
/sbin/service httpd Start
At this time your browser input your server IP should be able to see the Apahce interface
3 then the probe needs to be downloaded, and the most commonly used is the black probe.
Website:
http://www.yahei.net/
Find the version and language you want to use, right click to download, copy link address
Such as:
Http://www.yahei.net/tz/tz.zip
Then go to your command line interface
You can find a place wget http://www.yahei.net/tz/tz.zip download
can also be downloaded to a fixed file/var/www/html
Run cd/var/www/html before running the download command
4 need to extract files after download
Unzip tz.php can
Download to other places with CP tz.php/var/www/html/index.php
Download to/var/www/html with MV Tz.php index.php
If your 80 port is not occupied, open the IP address to see the probe interface.
5 If you have additional software that uses 80 ports, you need to modify the port
Vi/etc/httpd/conf/httpd.conf
Found it
#Listen 12.34.56.78:80listen 80
Click I edit,
Change the second line 80 to the port you like
ESC:WQ Return to save
can only be accessed using IP: Port as modified.
Summarize:
See here believe that a lot of small partners have been tempted to try it, in fact, the installation of PHP probe is so simple, master its essentials, everything is not a problem, small partners hurriedly try it!
Related recommendations:
PHP probe case for detecting virtual host configuration information
Recommendations for PHP probe programs
Example of how to use the PHP probe environment to detect code
What is a PHP probe? What is the purpose of PHP probes?