This time i will show you, how to install Aircrack-ng on CentOS 7. My CentOS 7 (CentOS Linux release 7.2.1511 x64) is a virtual maschine on VirtualBox (5.0). As wireless USB Adapter i use TP-Link TL-WN822N.
Before we start, if you don`t know what is profiling read this Wikipedia article! In my opinion profiling should be a part of every development/build process! Whether the responsibility lies with QA or development. Python profiler are supported only in PyCharm Professional Edition. This article show you the possibilities for the community edition.
Of course you can run Ansible within PyCharm via command-line, but it also works with the “Run” button.
PyCharm project created (maybe with virtualenv)
YAML/Ansible support Plugin installed (optional)
BashSupport Plugin installed
Open “Run/Debug Configurations” and add new Bash configuration. Give a name and Script value. The value should be the main Ansible playbook. As Interpreter path value select the ansible-playbook binary. For Interpreter option insert the Ansible inventory file. The last value is your current working directory. If you don’t set this value, the values for playbook and inventory need configured with absolute path!
Now you can create different configurations and run Ansible via “Run” button.
As a software tester you are using operating systems such as RHEL, CentOS and Fedora. It may happen that the hard disk space is running at the limit and a further update is no longer possible. An easy way to create free space is to delete the kernel(s) of older versions.
# check for old kernels
By default 5 kernels will be stored.
# change configuration
# limit value and save
Delete old kernels
# install yum-utils
$yum install yum-utils
# cleanup with value for old kernels you want left
If you use Python virtualenv, pylint and lxml together, you may see error messages in pylint test results. It`s because only trusted C extension resources (the standard library) should be used. Here is an opportunity to improve the pylint test results.
Generate a .pylintrc file
# generate .pylintrc file
Open the .pylintrc file for edit
# open for edit
Add lxml to extension-pkg-whitelist
# A comma-separated list of package or module names from where C extensions may
# be loaded. Extensions are loading into the active Python interpreter and may
# run arbitrary code
If you now perform the pylint test again, no error relating to lxml should appear.