Close

Uncategorized

Packer – notes

Note, when you want to create a box to be shared on atlas, you need to ensure yoru box has the following configurations: http://docs.vagrantup.com/v2/boxes/base.html (e.g. root user’s password should be “vagrant”) https://atlas.hashicorp.com/help https://atlas.hashicorp.com/help/vagrant/boxes/create https://atlas.hashicorp.com/CodingBee Install Packer on windows: https://www.packer.io/downloads.html this is a binary, so simply unzip it and place it […]

Read More

Intro to SSL

Really good guide: https://jamielinux.com/docs/openssl-certificate-authority/index-full.html Even better guide: http://www.zytrax.com/tech/survival/ssl.html#single-cert How To Install Self-Signed SSL Certificate On Nginx In CenOS 7   https://www.digitalocean.com/community/tutorials/openssl-essentials-working-with-ssl-certificates-private-keys-and-csrs The following will create a file called myblog.key $ openssl genrsa -des3 -out /etc/nginx/ssl/myblog.key 2048   This file is required to generate a csr file. Next we create the […]

Read More

gpg – pgp keys

/etc/pki/rpm-gpg/rpm-gpg https://www.google.co.uk/search?q=/etc/pki/rpm-gpg/rpm-gpg&ie=utf-8&oe=utf-8&gws_rd=cr&ei=QdlIVcq_JtfdaoGfgKgE https://app.pluralsight.com/player?course=linux-networking-service-management-security-fundamentals&author=andrew-mallett&name=linux-networking-service-management-security-fundamentals-m11&clip=1&mode=live

Read More

Intro to Rundeck

Rundeck can be use to run the same bash command, shell script, serverspec scripts,….etc….on multiple VMs at the same time. Can also be used to orchestrate puppet runs. There is a bit of an overlap on which tool to use, e.g. do a “passwd {username}” using Rundeck to change someones […]

Read More

Linux – rhn-channel and Spacewalk

The Spacewalk server is your custom rpm server which hosts all your rpm packages. If you want to connect to an Spacewalk server, you need to viers install the following package: $ yum install rhn-setup https://access.redhat.com/documentation/en-US/Red_Hat_Network_Satellite/5.5/html/Channel_Management_Guide/chap-Red_Hat_Network_Satellite-Channel_Management_Guide-Introduction_to_RHN_Channels.html http://www.spacewalkproject.org/ the following lists all channels a machine is subscribed to: # rhn-channel –list […]

Read More

Linux – Zip and unzip files

To zip a single file a in linux gzip filename To unzip a single file in linux gunzip filename To compress a directory the command is tar -cf filename.tar filename filename.tar will be the new name of zipped file for filename. -cf means creat a file When compressing a directory […]

Read More

Linux – Pluggable Authentication Modules (PAM)

The Linux-PAM System Administrators Guide http://linux.die.net/man/5/system-auth-ac http://linux.die.net/man/8/authconfig http://www.linuxgeek.net/documentation/authentication.phtml https://www.google.co.uk/search?q=authconfig+enablewinbindauth+&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-GB:official&client=firefox-a&channel=sb&gfe_rd=cr&ei=0XHwVKC5C4OP-wap0oCADA#safe=off&rls=org.mozilla:en-GB:official&channel=sb&q=edit+%2Fetc%2Fpam.d%2Fsystem-auth

Read More