What is Puppet? Automate. Move Faster. Increase Reliability. It's not easy being in IT operations today. The volume and complexity of infrastructure you manage is growing and getting smarter. On top of that, you've got demands from the business to do more and faster, without sacrificing security and reliability. How do you strike that balance? … Continue reading puppet
Day: April 27, 2016
ftp
What is ftp server? ==>The File Transfer Protocol (FTP) is a standard network protocol used to transfer computer files between a client and server on a computer network. ==>FTP is built on a client-server model architecture and uses separate control and data connections between the client and the server.FTP users may authenticate themselves with a … Continue reading ftp
nis
[root@server-rhel6 ~]# yum install rpcbind ypserv ypbind -y [root@server-rhel6 ~]# vim /etc/sysconfig/network NETWORKING=yes HOSTNAME=server-rhel6 NISDOMAIN=rafi.com [root@server-rhel6 ~]# rpcinfo -u localhost ypserv rpcinfo: RPC: Port mapper failure - Unable to receive: errno 111 (Connection refused) program 100004 is not available [root@server-rhel6 ~]# /usr/lib64/yp/ypinit -m At this point, we have to construct a list of the hosts … Continue reading nis
sendmail
Sendmail is an MTA, meaning it accepts email messages sent to it using the SMTP proto- col and transports them to another MTA email server until the messages reach their destinations. It also accepts email for the local network and delivers them to local mail spools, one for each user. 1.Mail User Agent(MUA) A client … Continue reading sendmail
vnc with flux-box
[root@rafi ~]# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet 192.169.178.204/32 brd 192.169.178.204 scope global lo:1 inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether fa:16:3e:3b:24:6d brd ff:ff:ff:ff:ff:ff inet 10.192.7.166/23 brd … Continue reading vnc with flux-box
ntp
[root@server-rhel6 ~]# yum install ntp -y [root@server-rhel6 ~]# date Tue Feb 23 16:43:07 PST 2016 vim /etc/ntpd.conf ====> comment this lines first and add required lines #server 0.rhel.pool.ntp.org iburst #server 1.rhel.pool.ntp.org iburst #server 2.rhel.pool.ntp.org iburst #server 3.rhel.pool.ntp.org iburst restrict 172.16.28.0 mask 255.255.255.0 nomodify notrap server 127.127.1.0 #local clock fudge 127.127.1.0 stratum 10 driftfile /var/lib/ntp/ntp.drift logfile … Continue reading ntp
ldap
LDAP stands for Lightweight Directory Access Protocol. LDAP is a solution to access centrally stored information over network. This centrally stored information is organized in a directory that follows X.500 standard. The information is stored and organized in a hierarchical manner and the advantage of this approach is that the information can be grouped into … Continue reading ldap
nagios
Nagios-Server-Side [root@nagios ~]# rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm Retrieving http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm warning: /var/tmp/rpm-tmp.mL7UUO: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY Preparing... ########################################### [100%] 1:epel-release ########################################### [100%] [root@nagios ~]# rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm Retrieving http://rpms.famillecollet.com/enterprise/remi-release-6.rpm warning: /var/tmp/rpm-tmp.MpyvoN: Header V3 DSA/SHA1 Signature, key ID 00f97f56: NOKEY Preparing... … Continue reading nagios
omd
-----------------------------------SERVER-SIDE--------------------------------------- wget https://labs.consol.de/repo/stable/rhel6/x86_64/omd-1.30.rhel6.x86_64.rpm rpm -ivh omd-1.30.rhel6.x86_64.rpm or rpm -Uvh "https://labs.consol.de/repo/stable/rhel6/i386/labs-consol-stable.rhel6.noarch.rpm" yum install omd* or(If rhel-7) rpm -Uvh "https://labs.consol.de/repo/stable/rhel7/i386/labs-consol-stable.rhel7.noarch.rpm" yum install omd* [root@li911-180 ~]# omd create prod Adding /omd/sites/prod/tmp to /etc/fstab. Creating temporary filesystem /omd/sites/prod/tmp...OK Restarting Apache...OK Created new site prod with version 1.30. The site can be started with omd start prod. The default web … Continue reading omd
self signed certs
steps to generate csr 1 Prerequisites 2 Generate the RSA key 3 Create a CSR 4 Verify your CSR 5 Submit your CSR [root@machine1 ~]#yum install openssl openssl-devel -y [root@machine1 ~]# mkdir example.com.ssl [root@machine1 ~]# cd example.com.ssl/ [root@machine1 example.com.ssl]# openssl genrsa -out ./example.com.key 2048 Generating RSA private key, 2048 bit long modulus .....+++ .....................+++ e … Continue reading self signed certs
