Ben Chuanlong Du's Blog

It is never too late to learn.

Cluster Management Made Easy with Ansible

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Installation

sudo pip3 install ansible

Configuration

Ansible looks for configuration file in the following order.

  1. ansible.cfg in the current directory.

  2. ~/.ansible.cfg

  3. /etc/ansible.cfg

Examples

Copy a file to …

Cluster Management Made Easy with the Python Package Fabric

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Ansible is a better alternative to Fabric. It is suggested that you use Ansible instead.

  1. Docstring will be displayed when you type the command fab -l.

  2. Invoke is for local use …

User Access Control on Linux

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Login Access Control

The /etc/security/access.conf file specifies (user/group, host), (user/group, network/netmask) or (user/group, tty) combinations for which a login will be either accepted or …

Tips on Samba

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

SAMBA File System is a great way to share files among computers in local network (e.g., office or home). You do NOT need a synchronization software. However, if you use …

Tips on Arch Linux

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. Manjaro is a good Arch Linux based distribution.

  2. You can use pacman to manage packages on Arch Linux.

Use pacman to Manage Packages on Arch Linux

Install a package.

pacman -S …