OS: CentOS 7
lets create a docker yum repo.
# cd /etc/yum.repos.d/
# vim docker.repo
[dockerrepo]
name= Docker Repository
baseurl=https://yum.dockerproject.org/repo/main/centos/7/
enabled=1
gpgcheck=1
gpgkey=https://yum.dockerproject.org/gpg
###save & exit
# yum update
# yum install docker-engine -y
### in EL 6 disabled SELINUX or add chcon
# systemctl enable docker
# systemctl start...
BASH: Extract only IP Address from ip addr command
Hello ,
You can use below shell script to extract only IP address from ip command.
Command : ip addr show | grep -oP 'inet \K[^/]+'
Example:
[root@server cgi-bin]# ip addr show | grep -oP 'inet \K[^/]+'127.0.0.110.0.2.15192.168.56.102
Note: If you are trying to use ip command in cron jobs, please use as /sbin/ip
Hope it helps you.
...
Fix: Command not found for whois and dig
Hello,
If you have not installed bind-utils then you wont be able to execute dig commands. basically dig command can be used to DNS information and reverse lookup of a host etc.
To install dig commands , type below commands in your terminal
yum install bind-utils
Then you can try with
dig google.comdig...
Root CA and Wildcard Certificate Generation in CentOS/RHEL 6&7
April 25, 2017
Venkata Rao Amudalapalli
centos, debian, Linux, redhat, rootca, self signed certificates, server, ubuntu
No comments
Edit
Hi folks ! this is one of the best method to create your own RootCA server and generating self-signed wildcard certificates.The greatest advantage of following this method: this would not make any system level changes, as everything is stored in files mentioned in the commands. At any stage if something went wrong, clear all the files and perform the steps once again.
There are...
A Go-Ready vagrant setup
Hello,
I hope you know what is a Vagrant. If you don't , please visit https://www.vagrantup.com/intro/index.html.
For a Vagrant setup Vagrantfile is important. In the Vagrantfile we can define so many parameters for the VM we would like to build, for example IP Address, Hostname, Port Forwarding and while spinning the VM itself we can install the new packages and make our development or testing...
Dell iDRAC Web GUI Error – ERR_SSL_SERVER_CERT_BAD_FORMAT
March 29, 2017
Somu
dell, ERR_SSL_SERVER_CERT_BAD_FORMAT, iDRAC, reconfig ssl, self signed certificates, ssl
No comments
Edit
Prefork Multi Processing Module for Apache
MPM stands for Multi Processing Module and this module implements a non-threaded pre-forking web server.
MPM isolate each request , so single request wont effect any other request.
MaxRequestWorkers is proportional to Physical RAM. More value more requests so make sure we got more RAM available for that server.
=====How it Works
There is a process named as "Control Process" and it is responsible...
Subscribe to:
Posts (Atom)