Year: 2020

OCI Create Dynamic Group

Dynamic Group can be created as a: Compartment – all componetns servers, vnc, load balancer, etc which are part of that compartment Specific Instances Selection you manage base on Matching Rules which you define To build Rule use Rule BuilderDefine Read More

OCI Logging

OCI Logging What is OCI Logging? The Oracle Cloud Infrastructure Logging service is a highly scalable and fully managed single pane of glass for all the logs in your tenancy. Logging provides access to logs from Oracle Cloud Infrastructure resources. These logs include critical Read More

Java Monitoring

How to monitor java process using console https://docs.oracle.com/javase/9/tools/monitoring-tools-and-commands.htm#JSWOR732 jps jstat Options: [root@mplmas2 cron]$ jstat -options -class -compiler -gc -gccapacity -gccause -gcmetacapacity -gcnew -gcnewcapacity -gcold -gcoldcapacity -gcutil -printcompilation jstat -class [PID] ps -ef -u USER|grep tomcat|grep user|tr -s ” “|cut -d” Read More

MySQL Events

Display events – select database show events Dispaly events from information schema select * from information_schema.events Disable/Enable event ALTER EVENT myevent DISABLE; ALTER EVENT myevent ENABLE; https://dev.mysql.com/doc/refman/5.7/en/show-events.htmlhttps://dev.mysql.com/doc/refman/8.0/en/alter-event.html

WordPress

Secure WP login page ADD to htaccess to restrict access only from specific IP <Files wp-login.php> Order Deny,Allow Deny from all Allow from 107.150.23.152 </Files Enable gzip using htaccess <IfModule mod_deflate.c> # Compress HTML, CSS, JavaScript, Text, XML and fonts Read More