From Hashicorp Vault project documentation Starting the Server vault server -config=example.hcl With the configuration in place, starting the server is simple, as shown below. Modify the -config flag to point to the proper path where you saved the configuration above. Vault outputs some information about its configuration, and then blocks. This process should be run…Continue reading Hashicorp Vault Systemd Startup Script
Category: Linux
How to validate a public key?
So how do you validate a public key programmatically? I’ve had this question when I had to implement a feature in one of our application. It is possible using the ssh-keygen utility. ssh-keygen -lf publickey.pub Here, -l Show fingerprint of key file. -f filename Filename of the key file. The hack is to check the…Continue reading How to validate a public key?
Run JIRA on Budget – JIRA + Varnish + VPS = $7/mo
One of the main reasons why I like JIRA is its integration with BitBucket, the free Git repository service. Both JIRA and BitBucket are from Atlassian, the company behind many other great products. Recently I started using JIRA for all my project works. It works very well. JIRA has hosted version available for $10/month (…Continue reading Run JIRA on Budget – JIRA + Varnish + VPS = $7/mo
How To Install Subversion On cPanel Server With Apache
This guide will help you to install SVN on a cPanel based server and configure it with Apache for ease of access. In this tutorial, we will focus on creating multiple repositories instead of a single repository. Prerequisites This setup is for servers with cPanel/WHM only. This can be installed on any cPanel/WHM server.…Continue reading How To Install Subversion On cPanel Server With Apache
Download Browseable Copy Of A Website Using Wget
Wget is a great tool in linux to download files from the internet. Wget can also be used to download a browseable copy of a website into your hard disk. To download a complete website, use the command provided below [code]wget –recursive –no-clobber  –page-requisites –html-extension –convert-links –restrict-file-names=windows –no-parent -e robots=off http://google.com[/code] Wget will download all…Continue reading Download Browseable Copy Of A Website Using Wget
Mount an ISO image under Linux
You can mount an ISO images via the loop device under Linux. You need to use mount command as follows mount -o loop /home/file.iso /media/disk Where: file.iso is the ISO file located in /home /media/disk is the mount point. You will see a disc icon on the desktop if you mount under /media. If you…Continue reading Mount an ISO image under Linux
How To Create A File With Specified Size In Linux
Q: Coinstar point How can I create a file with custom size in linux ? A: You can create a file using the dd command in linux dd if=/dev/zero of=/root/keyfile bs=1M count=1024 This will create a file at /root/keyfile with 1024MB size. dd if=/dev/urandom of=/root/keyfile bs=1024 count=4 This will create a file with random content…Continue reading How To Create A File With Specified Size In Linux
How to detect Public IP on VPS
If you have to find the public IP addresses that are assigned to a Virtual Private Server, just use the command below [code] ifconfig [/code] On VPS, you would get the following lo ===> 127.0.01 venet0 ==> 127.0.01 venet0:0 ==> Public IP venet0:1 ==> Public IP If you have more than one public IP, you…Continue reading How to detect Public IP on VPS
Installing Monit & Restart Apache Automatically
Monit is a free open source utility for managing and monitoring, processes, programs, files, directories and filesystems on a UNIX system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations. You can use Monit to monitor daemon processes or similar programs running on localhost. Monit is particular useful for…Continue reading Installing Monit & Restart Apache Automatically