This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Brick –> is basic storage (directory) on a server in the trusted storage pool. | |
| Volume –> is a logical collection of bricks. | |
| Cluster –> is a group of linked computers, working together as a single computer. | |
| Distributed File System –> A filesystem in which the data is spread across the multiple storage nodes and allows the clients to access it over a network. | |
| Client –> is a machine which mounts the volume. | |
| Server –> is a machine where the actual file system is hosted in which the data will be stored. | |
| Replicate –> Making multiple copies of data to achieve high redundancy. | |
| Fuse –> is a loadable kernel module that lets non-privileged users create their own file systems without editing kernel code. | |
| glusterd –> is a daemon that runs on all servers in the trusted storage pool. | |
| RAID –> Redundant Array of Inexpensive Disks (RAID) is a technology that provides increased storage reliability through redundancy |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Ansible playbook to setup HTTPS using Let's encrypt on nginx. | |
| The Ansible playbook installs everything needed to serve static files from a nginx server over HTTPS. | |
| The server pass A rating on [SSL Labs](https://www.ssllabs.com/). | |
| To use: | |
| 1. Install [Ansible](https://www.ansible.com/) | |
| 2. Setup an Ubuntu 16.04 server accessible over ssh | |
| 3. Create `/etc/ansible/hosts` according to template below and change example.com to your domain | |
| 4. Copy the rest of the files to an empty directory (`playbook.yml` in the root of that folder and the rest in the `templates` subfolder) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from django.db import models | |
| class Person(models.Model): | |
| _first_name = models.CharField(max_length=30, db_column='first_name') | |
| last_name = models.CharField(max_length=30) | |
| @property | |
| def first_name(self): | |
| """your logic here, return value""" | |
| return "foo" |