![]() Next, you will need to create the configuration file for vsftpd. You can install them with the following command: apt-get install apache2 vsftpd -y rw-r-r- 1 root root 306 snmpd Configure Monit for Apache, SSH and FTP serviceįirst, you will need to install Apache and vsftpd to your system. You can list all of them with the following command: ls -l /etc/monit/conf-available/ You should see the Monit default dashboard in the following page:Ĭlick on the to view to system status of your server in the following page:īy default, Monit comes with a pre-defined configuration template for different services. Provide monit username as admin and password as monit, then click on the Sign In button. Open your web browser and type the URL You will be redirected to the Monit login page: Save the file, then restart Monit service to apply the changes: systemctl restart monit Make the following changes: set httpd port 2812Īllow admin:monit # require user 'admin' with password 'monit' You can enable it by editing /etc/monit/monitrc configuration file: nano /etc/monit/monitrc By default, Monit web interface is disabled. Monit comes with user friendly-web interface to view the system status and manage them through the web browser. Sep 02 16:13:12 systemd: Started LSB: service and resource monitoring daemon. Sep 02 16:13:12 monit: /etc/monit/monitrc:289: Include failed - Success '/etc/monit/conf.d/*' Sep 02 16:13:11 monit: * Starting daemon monitor monit Sep 02 16:13:11 systemd: Starting LSB: service and resource monitoring daemon. └─1589 /usr/bin/monit -c /etc/monit/monitrc ![]() Process: 1580 ExecStart=/etc/init.d/monit start (code=exited, status=0/SUCCESS) Loaded: loaded (/etc/init.d/monit bad vendor preset: enabled)Īctive: active (running) since Sun 16:13:12 IST 3min 53s ago Output: rvice - LSB: service and resource monitoring daemon You can check the status of Monit with the following command: systemctl status monit Once the Monit has been installed, start Monit service and enable it to start on boot time with the following command: systemctl start monit You can install it by just running the following command: apt-get install monit -y apt-get update -y Install Monitīy default, Monit is available in the Ubuntu 16.04 default repository. Once you are logged into your Ubuntu 16.04 instance, run the following command to update your base system with the latest available packages. Connect to your ECS instance and log in as the root user. Create a new ECS instance, choosing Ubuntu 16.04 as the operating system with at least 2GB RAM.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |