Find SSL certificate details with OpenSSL

If you have .crt file, you can find more details about the certificate with command To get details of SSL installed on a web site, use csr


CentOS 7 Invalid command SSLEngine

On CentOS 7 server, after adding SSL virtualhost entry, i got error Jul 16 10:27:56 mon1 httpd[6620]: AH00526: Syntax error on line 359 of /etc/httpd/conf/httpd.conf: Jul 16 10:27:56 mon1 httpd[6620]: Invalid command ‘SSLEngine’, perhaps misspelled or defined by a module


fail2ban-client

fail2ban-client can be used to interact with fail2ban jails. To see help, run To see status of jails, run To see status of a jail, run To view value of a setting, run To change a value in run time,


Android Studio Shortcut in Ubuntu 16.04

When you install Android Studio on Ubuntu, you have to go to the android studio folder and run studio.sh, to create Shortcut file in Ubuntu 16.04 create file ~/.local/share/applications/AndroidStudio.desktop Add In this case, i have android-studio files placed in programs


Installing MongoDB on Ubuntu

To install mongodb on Ubuntu, run To check version of mongodb installed, run root@backup:~# mongo –version MongoDB shell version: 2.6.10 root@backup:~# Install latest version from Mongodb.com The mongodb provided by your operating system maybe older, to get latest stable version,


Amazon Ec2 Cpanel FTP I won’t open a connection to X (only to Y)

When i try to download backup from Cpanel server to Amazon EC2 instance using FTP, i get following error I won’t open a connection to X (only to Y) root@ip-172-31-21-166:~# ftp cpanel-hosted-site.com Connected to cpanel-hosted-site.com. 220———- Welcome to Pure-FTPd [privsep]


Ubuntu working to smooth Unity 7 to GNOME transition

Canonical, developer of popular Ubuntu linux distro will be replacing Unity Desktop Environment on Ubuntu with GNOME. They were working on Unity 8 and Mir display server, but decided to discontinue the development after they stop development of Mobile OS.


forever

forever is a node.js/npm package, that allow you to manage applications. https://github.com/foreverjs/forever To install, run To start an Node.js application, go to application folder and run


nvm – Node version Manager

To install node version manager, go to http://nvm.sh Follow the instruction. Always refer above site for latest version. Now you need to close terminal, reopen. Install Latest Stable version of node.js Setting Default Node version


tee linux command

tee is a linux command that allows you to redirect out put of a command to STDOUT (console) and a file. This is helpful when you want to see result of a long running process, also want to save it