# Delete all containers
docker rm $(docker ps -a -q)
# Delete all images
docker rmi $(docker images -q)
docker rmi $(docker images -q --filter "dangling=true")
sudo sed -i 's/enforcing/disabled/g' /etc/selinux/config /etc/selinux/config
sestatus (mode from config file should now be disabled)
md5deep -r -l . > filelist.txt
sort < filelist.txt > filelist_sorted.txt
First command will render all hashes for all files
Second will sort the list so as you scroll you will easily spot duplicates with their paths.
m5deep is in most apt-get and yum repos.
LDAPTLS_CACERT=/etc/ipa/ca.crt ldappasswd \
-ZZ -D 'cn=directory manager' -W \
Authenticating as principal admin/admin@EXAMPLE.COM with password.
kadmin.local: change_password admin@EXAMPLE.COM
Enter password for principal "admin@EXAMPLE.COM":
Re-enter password for principal "admin@EXAMPLE.COM":
To compare two files ignoring differences in the case of the letters and blank spaces:
diff -iw file1 file2
===== Add User =====
===== Add Roles for User =====
Note: nano line cut (CTRL-K) nano paste (CTRL-U)
Network interface probably changed the name when you cloned as original version guid and mac are stored in a different file. To verify run:
ip a l
If its hiding under eth1 or some other name then you’re in luck.
Remove the kernel’s networking interface rules file so that it can be regenerated
rm -f /etc/udev/rules.d/70-persistant-net.rules
Now set your eth0 info in /etc/sysconfig/network-scripts/ifcfg-eth0. Remove mac and guid from the file and reboot. For static IP setup you may want to try this
Jenkins is an award-winning application that monitors executions of repeated jobs, such as building a software project or jobs run by cron. Among those things, current Jenkins focuses on the following two jobs:
Building/testing software projects continuously, just like CruiseControl or DamageControl. In a nutshell, Jenkins provides an easy-to-use so-called continuous integration system, making it easier for developers to integrate changes to the project, and making it easier for users to obtain a fresh build. The automated, continuous build increases the productivity.
Monitoring executions of externally-run jobs, such as cron jobs and procmail jobs, even those that are run on a remote machine. For example, with cron, all you receive is regular e-mails that capture the output, and it is up to you to look at them diligently and notice when it broke. Jenkins keeps those outputs and makes it easy for you to notice when something is wrong.
C# NUnit Testing
HTML Website Testing
Installing Jenkins on CentOS
Cluster Setup. Discussion
Cacti is a complete network graphing solution designed to harness the power of RRDTool’s data storage and graphing functionality. Cacti provides a fast poller, advanced graph templating, multiple data acquisition methods, and user management features out of the box. All of this is wrapped in an intuitive, easy to use interface that makes sense for LAN-sized installations up to complex networks with hundreds of devices.
Install procedure on Fedora / Centos
CentOS 6 / RHEL 6 [Updated: 2013.10.01]
# rpm -ivh http://mirror.karneval.cz/pub/linux/fedora/epel/6/i386/epel-release-6-8.noarch.rpm --test
warning: /var/tmp/rpm-tmp.Hrps3E: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Now copy and import a key (.txt file with key ID as name of the file. Upper Case)
# cd ~
# wget --no-check-certificate https://fedoraproject.org/static/0608B895.txt
# mv 0608B895.txt /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
# rpm -qa gpg*
Install EPEL Repo
# rpm -Uvh http://mirror.karneval.cz/pub/linux/fedora/epel/6/i386/epel-release-6-8.noarch.rpm
CentOS 6.3 – i386 – 32-bit
CentOS 6.3 – x86_64 – 64-bit