FreeIPA stands for Free Identity Policy Audit.
FreeIPA is a solution for managing users, groups, hosts, services, and much, much more. It uses open source solutions with some Python glue to make things work. Identity Management made easy for the Linux administrator.
Inside FreeIPA are some common pieces; The Apache Web Server, BIND, 389DS, and MIT Kerberos. Additionally, Dogtag is used for certificate management, and sssd for client side configurations. Put that all together with some python glue, and you have FreeIPA. Read More
Month: June 2015
How To Install MySQL / MariaDB on CentOS 7
MariaDB is a drop-in replacement for MySQL. It is easy to install, offers many speed and performance improvements, and is easy to integrate into most MySQL deployments. Answers for compatibility questions can be found at: MariaDB versus MySQL – Compatibility. MariaDB offers more storage engines than MySQL, including Cassandra (NoSQL, in MariaDB Version 10), XtraDB (drop-in replacement for InnoDB), and OQGRAPH (in MariaDB Version 10).
- These instructions are intended for installing MariaDB on a single CentOS 7 node.
- I’ll be working from a Liquid Web Self Managed CentOS 7 server, and I’ll be logged in as root.
How to Extend/Reduce LVM
When do we need to reduce volume?
May be we need to create a separate partition for any other use or we need to expand the size of any low space partition, if so we can reduce the large size partition and we can expand the low space partition very easily by the following simple easy steps. Read More
CentOS 7 reset mysql password
Set / change / reset the MySQL root password on Linux. Enter the following lines in your terminal.
Step # 1 : Stop mysql service
systemctl stop mariadb
Step # 2: Start to MySQL server w/o password:
mysqld_safe –skip-grant-tables &
Step # 3: Connect to mysql server using mysql client:
mysql -u root Read More
How to install OTRS 4 on CentOS 7
In this post I’m going to walk you through installing OTRS 4 on CentOS 7. The procedure will be very similar for Red Hat Enterprise Linux (RHEL) version 7 as this is binary compatible.
Please note that there are some differences between CentOS 6 and CentOS 7: it now ships with systemd and with firewalld so the instructions to install OTRS are pretty different.
Setting up your production server or migrating from one is something you don’t want to do every day. This means you better take a distribution that will receive security upgrades for a long time. This is why I would recommend CentOS version 7 over version 6 at this point in time. Read More
Manual installation of openSCAP and SCAP Security Guide
Step 1. Log into your server running CentOS 6.x. If a command does not work, run with sudo
Step 2. Add epel RPM repository CentOS 6
su -c 'rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm'
Postfix Queue Management
If emails are getting delayed, its better to inspect postfix mail queues, coupled with postfix mail log.
Status/Shape of Mail Queue
Postfix maintains different queues for different purpose.active
and deferred
queues are of our interest.
Ideally, we should never have a mail in deferred queue.
qshape
command will show shape of active mail queue by default. Ideally it should be as close as to empty since postfix sends email instantly!
qshape
Remove all special characters and case from string in bash
Pure bash solution:
$ filename='Some_randoM data1-A'
$ f=${filename//[^[:alnum:]]/}
$ echo "$f"
SomerandoMdata1A
$ echo "${f,,}"
somerandomdata1a
Apache – Disable HTTP TRACE / TRACK Methods
Plugin Name: HTTP TRACE / TRACK Methods Allowed
To turn off track and trace methods globally on the server add the following line:
vim /etc/httpd/conf/httpd.conf
TraceEnable Off
Read More
How to create hotkeys for Windows sleep and shutdown
Your computer has one, and maybe two, special buttons that you can configure for just these purposes. In addition, you can create shortcuts for these tasks, and assign hotkeys to the shortcuts.
Let’s start with the special buttons that already exist.
In Windows 7, click Start, or in Windows 8, go to the Search charm. Once there, type power
, and select Power Options. In the resulting Control Panel window’s left pane, select Choose what the power buttons do. Read More