Category Archives: wrk

tmp4wrk

MD5 cert

openssl x509 -noout -modulus -in .crt | openssl md5 For your RSA private key: openssl rsa -noout -modulus -in .key | openssl md5

Posted in wrk | Leave a comment

Debug autofs

sudo systemctl stop autofs ; sudo automount -f -v

Posted in wrk | Leave a comment

Add repo RHEL6/7/8

add Repo on Satellite to the host: then login to the host yum update yum subscpiton-manager katello-agent subscription-manager repos subscription-manager repos –enable OE_Elastic_ELK_stack_Filebeat7 sudo subscription-manager repos –enable=OE_InfluxDB_InfluxDB_RHEL7_x86_64 yum install metricbeat-7.2.1 filebeat-7.2.1  

Posted in wrk | Leave a comment

Rescan multipath for RW

multipath -ll | grep wp m=lvm-mdbrdb-prd-vol1 ODEVS=$( multipath -ll $m | grep “active ready running” | awk ‘{print $3}’ ) for d in $ODEVS ; do cat /sys/block/${d}/ro ; done for d in $ODEVS ; do echo 1 > /sys/block/${d}/device/rescan … Continue reading

Posted in wrk | Leave a comment

HP iLo cmd

ILO: Using Virtual Media with the Command-Line Interface ISOs may be loaded from an HTTP server using Virtual Media with the iLO command-line interface. Example: $ ssh -l ilo-admin 10.215.14.5 User:ilo-admin logged-in to ilo.(10.215.14.5) iLO Advanced 1.82 pass1 at 15:53:34 … Continue reading

Posted in wrk | Leave a comment

Android app

Android JDK App Continue reading

Posted in wrk | Leave a comment

SCSI3PR VCS

  DiskGroup_C.log:2027/05/23 19:23:12 VCS ERROR V-16-10031-1562 DiskGroup:dg_crfapdb_F03:online:Diskgroup [apdb_F04] failed to import with groupreserve option as scsi3pr is disabled. DiskGroup_C.log:207/05/23 19:23:12 VCS INFO V-16-10031-1563 DiskGroup:dg_crfapdb_F03:online:Enable the scsi3pr option and retry online. To enable scsi3pr run the command [vxdctl scsi3pr on] ¬†grep … Continue reading

Posted in wrk | Leave a comment

Apache DDoS prevention

Apache Continue reading

Posted in wrk | Leave a comment

.htaccess

Allow all cat .htaccess order deny,allow deny from all allow from all AuthType None Require all granted Satisfy Any Authfile cat ../status/.htaccess AuthType Basic AuthName “Restricted Content” AuthUserFile /var/www/html/status/.htpasswd Require valid-user httpd.conf <Directory /var/www/html> Options Indexes FollowSymLinks AllowOverride All Require … Continue reading

Posted in wrk | Leave a comment

SSL Secure

SSLEngine on SSLProtocol all -TLSv1 -TLSv1.1 -SSLv2 -SSLv3 #SSLCipherSuite HIGH:MEDIUM:!MD5:!RC4:!3DES SSLCipherSuite HIGH:!MD5:!3DES:!aNULL SSLHonorCipherOrder on RewriteEngine on RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) RewriteRule .* – [F] Header always set Strict-Transport-Security “max-age=63072000; includeSubdomains; preload”  

Posted in wrk | Leave a comment