I have installed mysql many many times – i decided to save a note for myself for later installation. This is to install msyql server on Redhat 7. Below is the step: My next step will go to https://www.phpmyadmin.net/ to download phpmyadmin and set it up on my web server. I use this tool to manage the database. We need to install mysql module:Read More →

# subscription-manager repos –enable=rhel-7-server-rpms # subscription-manager repos –enable=rhel-7-server-extras-rpms # subscription-manager repos –enable=rhel-7-server-optional-rpms yum install docker reboot the machinedocker yum install podman skopeo buildah -yRead More →

A colleague just came to me and asked me for a solution to hide “Create New Dashboard” button. The reason behind this is that we have some splunk dashboard, we just want the user to read it, we don’t want them to do any search on our Search Head, we have some roles to hide all search function, but the “Create New Dashboard” is like a backdoor – we want to avoid this. After digging through the source code, we found that this button is generated from this file: /opt/splunk/share/splunk/search_mrsparkle/exposed/build/pages/enterprise/dashboards/dashboards.js The location of this file might be different depending on your Splunk version , myRead More →

When i run multiple sitespeed docker , i faced this error To fix this i have to add 2 parameters to sitespeed command: It turned out that the above fix will kill the video capture. After looking through my change log, the option “–name ” was actually the root cause. It looks like when we use the –name option, docker will reuse the socket. The final fix was to remove that option (–name)Read More →

I recently see a good deal from Staples for a Dell monitor – it’s 50% off , unfortunately it’s out of stock very soon. I can’t visit it everyday, so let do some funny stuff , writing a simple command to alert me when it’s in stock again. Here is what it comes withRead More →

The most common problem with all Mac machine is overheating. if you are using a Macbook Pro or Imac , you sometime feel it’s too hot. This might result in killing your graphic card. It’s very expensive to replace that card or unable to replace it ( you have to replace the whole mother board). I have experienced this with my Macbook Pro 2011 and IMac 2011, they are all dead after sometimes because the overheat. Since then, i need to find a way to monitor my cpu temperature and adjust the fan speed to cool down the cpu. For a normal user, i suggestRead More →