Linux - secure linux (SELinux)

About

SELinux is a kernel-level policy mechanisms.

How to

Disable secure linux

Alternatively, this can be done during the installation.

  • Manually: Disable secure linux by editing the /etc/selinux/config file, making sure the SELINUX flag is set as follows:
SELINUX=disabled

- name: Disable SELinux
  selinux:
    state: disabled

- name: Reboot required for selinux
  when: selinux is changed
  fail:
    - msg: "selinux has changed, you should reboot the server first"

then reboot

reboot

Enforce

With an ansible playbook

tasks:
  - name: enable selinux
    command: /sbin/setenforce 1





Discover More
Card Puncher Data Processing
Axon - Installation version 5.3

Disk: 200 GB Memory: 24 GB CPU Cores: 4 OS: RedHat Linux version 7.x Memory at least 16 GB memory available Applications: unzip, tar, RPM, In, setfacl, YUM, sed rpm package: apr-1.4.8 ...
Azure Firewall Public Ip Restriction
Azure - Oracle Database Manually Installation on Linux

The installation of the Oracle database on bare-bone Linux. For a quick an dirty installation, see Creation of a VM with Oracle Linux 7 Update 4 and a Standard_DS1_v2...
Welcome Axon Informatica Page
How to Install Axon version 5.1?

This page is a step by step installation of Axon. Disk 200 GB (The installer check for 5GB) Memory 16 GB CPU Cores 4 OS RedHat Linux version 7.x You cannot install Axon on the same server...
Dkim Record Text Format Ovh Dns Zone
How to configure DKIM with PostFix, a step by step guide

This article will show and explain you how to install DKIM with OpenDkim as a milter for Postix on CentOS
How to give the permission to an executable to take the port 80 on Linux?

On Unix-based systems, the default HTTP port 80 is only available to program (executable) started by the root user. For security reasons, it is not desirable to run the server as root (if the program...
Oracle Entreprise Linux Dvd X86 Edelivery
Linux - Installation of OEL 5 Update 5 on VMWare 32-bit (x86) machine

This article is a step-by-step manual to install Oracle Entreprise Linux 5 on a . Download the Oracle Entreprise Linux 5 : Go to...
Linux - Machine Configuration

network configuration Set correct TIMEZONE In the NTP network time protocol configuration file, set the server with the following name: OS Choose y for all See
Nginx - Build and add dynamic module (pagespeed, nginx-module-vts, )

This page will show you how to add module to an existent nginx installation If you want to add another module to an existing installation, you need to build it against the source as dynamic module (.so)...
Oracle Database Installationl Location 11gr2 Oel Linux X86 64
Oracle Database 11gR2 - Installation on Linux OEL 5 Update 5 (x86_64)

Installation of Oracle Database 11g Release 2 (11.2) x86_64 on Oracle Enterprise Linux 5 Update 5 on the file system (ie without ASM) or GRID. Linux OEL installation login as root ...



Share this page:
Follow us:
Task Runner