Soumitra Kayal

System Administrator | Wordpress Expert | Web Developer
pihole

SSH to Pi-hole (How to install Pi-hole on Ubuntu) Run "curl -s "https://api.hackertarget.com/hostsearch/?q=googlevideo.com" | awk -F, 'NR>1 {print $1}' | sudo tee /home/kayals/youtube-ads.txt" Copy all sub-domains from youtube-ads.txt and paste it to Blacklist page (https://yourip/admin/list.php?l=black) and click exact ENJOY ! In my next post I will show how to create a custom shell script to update Pi-hole server....

Read More
linux

Introduction A "LAMP" stack is a group of open-source software that is typically installed together to enable a server to host dynamic websites and web apps. This term is actually an acronym which represents the Linux operating system, with the Apache web server. The site data is stored in a MySQL database, and dynamic content is processed by PHP. In this guide, we will install a LAMP...

Read More
letsencrypt

OPTIONAL - Install software-properties-common # apt-get install software-properties-common Step 1 — Download the Let’s Encrypt Client # sudo add-apt-repository ppa:certbot/certbot # apt-get update # apt-get install python-certbot-apache Step 2 — Set Up the Certificates Generating the first SSL certificate # sudo certbot --apache -d skayal.com   Generating the second SSL certificate # sudo certbot --apache -d test.com -d www.test.com Step 3 — Set Up Auto-Renewal # sudo crontab -e Add 15 3 * * * /usr/bin/certbot renew --quiet Verify status...

Read More
fire tv

echo 'export PATH=$PATH:/Users/soumitrakayal/Downloads/platform-tools/' >> ~/.bash_profile ./adb connect 192.168.1.6 ./adb install /Users/soumitrakayal/Downloads/SwiftStreamz1.2.apk $ adb kill-server $ adb start-server * daemon not running. starting it now at tcp:5037 * * daemon started successfully * $ adb devices List of devices attached...

Read More
cli

$ ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/Users/soumitrakayal/.ssh/id_rsa): /Users/soumitrakayal/.ssh/id_rsa already exists. Overwrite (y/n)? Y Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /Users/soumitrakayal/.ssh/id_rsa. Your public key has been saved in /Users/soumitrakayal/.ssh/id_rsa.pub. The key fingerprint is: SHA256:vjEspXxl177C1ksL2Q3iKmnKl6/WtAJnYkEuxSsddtA soumitrakayal@CodeDevX.int.hslc.org The key's randomart image is: +---[RSA 2048]----+ | ..o | | * E | | * + | | o = . | | o .S o...

Read More