Code Snippet

Just another Code Snippet site

Uncategorized

[CentOS] Sudo

# Backup sudoers file and create tmp file add the following line in the sudoers.tmp (with %) or # Enable new sudoers file (tmp)

How To Install Linux, nginx, MySQL, PHP (LEMP) stack on CentOS 6

LEMP stack is a group of open source software to get web servers up and running. The acronym stands for Linux, nginx (pronounced Engine x), MySQL, and PHP. This tutorial explains how to install the required repos to download nginx and php-fpm, how to /etc/php.ini : /etc/nginx/nginx.conf : /etc/nginx/conf.d/default.conf : /etc/php-fpm.d/www.conf : Restart all services […]

, ,

[Ansible] Loop

Loop with index & length to debug variables : with : {{item.0}} is the index of the item {{item.1}} is the value of the item vars[item.1] is an “eval” version of the item Loop over files :

Previous Posts Next posts