![]() On the next screen you can check if error have occurred. Once you create the new account the installation is completed. Now, you will need to create a new account to access your monitor ![]() Save the file and click ‘I have saved the configuration’ If PHP Server Monitor complains that it cannot create a configuration file as shown in the picture below, you can manually create it.ĭefine('PSM_DB_USER', 'phpservermonuser') ![]() On the next screen you will be prompted to enter the information of the newly created MySQL database. PHP Server Monitor will verify if your server meets the requirements. Now, open your favorite web browser and navigate to http//YOURDOMAIN.COM/phpservermon. You can use the same commands if you run MariaDB instead of MySQL server. GRANT ALL PRIVILEGES ON phpservermon.* TO IDENTIFIED BY 'YOURPASSWORD' WITH GRANT OPTION Ĭhange ‘ YOURPASSWORD‘ with an actual strong password. Next, log in to your MySQL server and create new database and user for PHP Server Monitor mysql -u root -p To find the correct Apache user you can execute grep '^User' /etc/httpd/conf/nf Make the Apache user to be owner of all directories and files chown -R apache:apache phpservermon Since the package is unpacked in new ‘phpservermon-3.1.0’ directory, we will rename the directory to something simpler mv phpservermon-3.1.0 phpservermon unzip phpservermon-3.1.0.zip -d /var/www/html/Ĭhange the current working directory cd /var/www/html/ Unpack the zip package in the document root directory. At the moment of writing this article it is version 3.1.0 wget Now, go to PHP Server Monitor’s official website and download the latest stable release. Install the following requirements yum install php-common unzip In order to run PHP Server Monitor your server need to meet the following requirements:īefore we start with the installation of PHP Server Monitor, log in to your server as user ‘root’ and make sure that all packages are up to date. ![]() In this tutorial we will guide you through the steps of installing PHP Server Monitor on a CentOS 7 VPS It comes with a web based user interface where you can manage your services and websites, check graphs of uptime, latency, etc… It checks whether your websites and servers on your Linux VPS are up and running. PHP Server Monitor is an open source PHP script for monitoring. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |