SSH command to search a file inside directories
Linux has “find” options to search for a particular files inside the directories,here am showing the find syntax to search “index.php”
find . -name "index.php"
Tutorialshore
SSH command to search a file inside directories
Linux has “find” options to search for a particular files inside the directories,here am showing the find syntax to search “index.php”
find . -name "index.php"
Nowadays hacking is so simple,with out much technical extreme anybody can access other data,so it is important to encrypt the data when it exchange between the system,fortunately we have a standard security protocol called ssl to encrypt our data,among the ssl certificate let’s encrypt certificate is most popular and it is free.So we will discuss how to install let’s encrypt ssl certificate in centos using SSH command.We have certbot is their to do that. we will check each steps one by one
Login to ssh window
1) Download Certbot
#wget https://dl.eff.org/certbot-auto
2) Move Certbot to /usr/local/bin/
#sudo mv certbot-auto /usr/local/bin/certbot-auto
3) Change certbot-auto folder Owner to root
#sudo chown root /usr/local/bin/certbot-auto
4) Change certbot-auto folder permission to 755
#sudo chmod 0755 /usr/local/bin/certbot-auto
5) Install let’s encrypt ssl certificate in centos using SSH command
#sudo /usr/local/bin/certbot-auto --apache
We know Let’s Encrypt SSL is most used SSL certificate and also it is a free service,you can install this free Let’s Encrypt SSL certificate for any of your domain.We know we can enable Let’s Encrypt SSL certificate from command prompt .Here am using cpanel for my server management, so in this tutorial we are going to discuss how to enable Let’s Encrypt SSL certificate from cpanel.
1) Open cPanel ,go to Security Section and check Lets Encrypt™ SSL tab is their or not
2) If not their open SSH prompt
see link How to connect to ssh command prompt using cPanel info
3) add letsencrypt repo
#wget https://cpanel.fleetssl.com/static/letsencrypt.repo -O /etc/yum.repos.d/letsencrypt.repo
4) Install letsencrypt plugin
#yum -y install letsencrypt-cpanel
5) Test letsencrypt Installation
# le-cp self-test
6) Now again Open cPanel ,go to Security Section and check Lets Encrypt™ SSL tab
7) Add your domain info and create Let’s Encrypt SSL certificate from cpanel
enjoy 🙂
I have already Installed Git in my windowsbut after installing git in my sytem am getting an error
git is not recognized as an internal or external command error
set PATH=C:\Program Files\Git\bin;%PATH%