Posts by ServerOk

AWS Elastic Beanstalk

AWS Elastic Beanstalk

Here are some useful command working with AWS Elastic Beanstalk Application get stored in folder

VestaCP redirect webmail to HTTPS

VestaCP redirect webmail to HTTPS

To always force webmail to use HTTP on VeataCP, edit file Find Replace with

Prometheus Node Exporter on non default port

Prometheus Node Exporter on non default port

To run Prometheus Node Exporter on custom port, use Here is systemctl service script i used Related Posts Prometheus Server

MariaDB

Install MariaDB 10.3 on CentOS 7

MariaDB is an Open Source MySQL drop-in replacement. MariaDB provides a repository for various operating systems at https://mariadb.org/download/?tab=repo-config To install

Apache Show Real IP Behind Reverse Proxy on CentOS

When Apache web server running behind reverse proxy or load balancer, server log and scripts show IP of reverse proxy

Nginx Web Server

Show Real IP Nginx Behind Reverse Proxy

When your Nginx web server is running behind a reverse proxy, you will see IP of the reverse proxy server

Nginx Web Server

Install Nginx on CentOS 8

To install Nginx web server on CentOS 8, create repo Add Install nginx with dnf or yum Open HTTP and

grafana dashboard

Monitor Server with Prometheus and Grafana

Prometheus is used an open source software, that can collect metrics and alerting. You can download latest version oof Prometheus

PHP Script to monitor Apache/php-fpm

PHP Script to monitor Apache/php-fpm

I moved a web site to new dedicated server. But for some reason, php-fpm crashed. I increased the max_children settings,

Split Large file into smaller files

Split Large file into smaller files

Today I was transferring a large 7 GB backup file into another server. Every time I copy it gets disconnected

ISPConfig

ISPConfig fail to create MySQL database

Whem creating MySQL database in ISPConfig, no database get created. To debug, i disabled the cronjob. Created a database in

ISPConfig

Install SSL for ISPConfig Control Panel

To add SSL for ISPConfig control panel, add the server hostname as a website in ISPConfig and enable the LetsEnrypt