Select Page
Git Cheat Sheet

Git Cheat Sheet

Check if installed git --version   Setup git config --global user.name "Presidio Production" git config --global user.email "presidio_production@gmail.com" git config --list   Initialize git on directory Browse the root directory of the project you want to...

Install LetsEncrypt on Centos 6

Install LetsEncrypt on Centos 6

Let’s Encrypt is a free, automated, and open certificate authority (CA), run for the public’s benefit. It is a service provided by the Internet Security Research Group (ISRG). The key principles behind Let’s Encrypt are: Free: Anyone who owns a domain name can use...

How to check for open ports in Linux

We use nmap   Install nmap # yum install nmap Now use the following format to check for open ports # nmap -p (port-number) (ip-address/domain-name) # nmap -p 80 google.com # nmap -p 80 192.168.1.1

Change WordPress themes in database

How to Change WordPress themes using Database? Some times you come across a situation that you cant access your site for some reason. For example I had a bug in my theme's functions.php file and I could not even access my wp-admin. Only solution was to change the...

Change SSH listen to port other than default 22

It is probably best to change the default SSH port to add some protection to your server. You need to change the SSH server's configuration file by running the following command. nano /etc/ssh/sshd_config It opens up the config file in NANO editor. Look for the line...