Posts

Showing posts from April, 2020

'Java' is not recognized as an internal or external command

Right click on  My Computer Select  Properties Select  Advanced System Settings Select  Advanced  tab Select  Environment Variables Select  Path  under  System Variables Click on  Edit  button In Variable value editor paste this at the start of the line C:\Program Files\Java\jdk-10.0.2\bin; Click Ok then Ok again Restart command prompt otherwise it won't see the change to the path variable Type  java -version  in command prompt.

Backup home directory shared server

rsync --exclude=BKHOME --password-file=/backup_script/pass -avz -u --bwlimit=5000 root@192.227.84.98::home/a[d-f]* /backup_script/INDIA/192.227.84.98/DAILY/home > /backup_script/INDIA/192.227.84.98/logs/home-ad-af.log 2>&1 rsync --exclude=BKHOME --password-file=/backup_script/pass -avz -u --bwlimit=5000 root@192.227.84.98::home/[b-c]* /backup_script/INDIA/192.227.84.98/DAILY/home > /backup_script/INDIA/192.227.84.98/logs/home-b-c.log 2>&1 root@192.227.84.98::home/[m-o]* rsync --exclude=BKHOME --password-file=/backup_script/pass -avz -u --bwlimit=5000 root@192.227.84.98::home/s[b-d]* /backup_script/INDIA/192.227.84.98/DAILY/home > /backup_script/INDIA/192.227.84.98/logs/home-sb-sd.log 2>&1 root@192.227.84.98::home/s[j-t]* #!/bin/sh Date1=`date +%d-%m-%Y` T1=`date +%H-%M` rsync --password-file=/backup/pass -avz -u --bwlimit=5000 root@192.168.2.43::var/log/ /backup/INDIA/directadmin43/DAILY/var/log/ > /backup/INDIA/dir

How to Install & Manage Let’s Encrypt in WHM?

Image
Steps to Enable Let’s Encrypt for Auto SSL Once the Auto SSL feature is released, it is only for cPanel Based SSL Certificates. But later after updating their technologies they allowed to use Let’s Encrypt as a SSL Provider. Login into your server via SSH as a Root User. Execute the command mentioned below        # /scripts/install_lets_encrypt_autossl_provider Running this command will take sometimes to install the necessary RPM to support the Let’s Encrypt as a Auto SSL Provider. Once after installation, you can see the confirmation message like below.       Installed the cpanel-letsencrypt RPM! AutoSSL can now use Let’s Encrypt. After successful installation, you can just check in the Manage Auto SSL In search type as Manage Auto SSL and you make a click on it. There you can see the options like Disabled Let’s Encrypt cPanel Steps to Add SSL to a Domain in WHM Go to Manage AUTO SSL and select the Let’s Encrypt option. Select Manage Users. Her

Javascript for sending Facebook Friend Requests

javascript: var delayInput = prompt("Delay between actions (ms)", "1000"); var stopAfter = prompt("Stop after how many friend requests are sent?", "100"); var workDelay = parseInt(delayInput, 10); var loading = document.createElement("div"); loading.setAttribute("id", "noni_loading"); loading.setAttribute("style", "position: fixed; background: rgba(255,255,255,0.8); top: 0; left: 0; width: 100%; font-size: 24px; z-index: 1000; padding: 12px;"); document.body.appendChild(loading); document.getElementById("noni_loading").innerHTML = "No friends added."; var inputs = document.querySelectorAll('.FriendRequestAdd:not(.hidden_elem)'); var i=0; var delay=0; var cont=true; var stopAfterNumber=0; if(parseInt(stopAfter, 10)>inputs.length) { stopAfterNumber=inputs.length; } else { stopAfterNumber=parseInt(stopAfter, 10); } function addFriends(max){ if(inputs.

youtube custom URL

https://www.youtube.com/account_advanced Custom URL eligibility To create a custom URL for your channel, your account needs to: Have 100 or more subscribers Be at least 30 days old Have an uploaded photo as a channel icon Have uploaded channel art

Create A YouTube Brand Account without Deleting Your personal account

Ready to create a brand account?  First, check to see if you  already have a brand account . Sign in to YouTube. Go to your  channel list . Click Create a new channel. Fill out the details to name the Brand Account and verify your account. Then, click Create. This creates your new Brand Account. if you don't have brand account you need to create one first in which you will move now go to youtube settings and choose click on advanced then click on move to a brand account and select the new channel and choose delete and move okay.

Adsense Ads Not Showing After Adding Custom Domain On Blogger

Adsense Ads Not Showing After Adding Custom Domain On Blogger login to AdSense and check sites

WordPress appends the “-2” to a slug

WordPress  appends  the  “- 2 ” to a  slug you still have  the  old content by  the  same name, probably in  the  trash, draft, etc. If so, try emptying it or check media section there must be some image with the same name like I was having problem for cloudhostweb.com/vps there was image cloudhostweb.com/vps.jpeg I had deleted the image and it worked perfectly