Create a new primary volume and extend the volume group to the new volume. Check the physical volume for free space, extend the logical volume with the free space. Finally perform an online resize to resize the logical volume, then check the available space.Read More →

With puppeteer, we normally visit a website, that website has a form for us to submit the data. In the api world, there is no form for us to submit, when you visit you must embed the request data in the request. the data could be username or password or some special headers. This is easy done with curl. How can we do that with puppeteer? We can do that, Puppeteer allows us to modify the request before sending it to the server. Here is a sample code:Read More →

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 →