When mount is returning:
STDERR: mount: block device /srv/database-data/postgres is write-protected, mounting read-only
mount: cannot mount block device /srv/database-data/postgres read-only
and dmesg shows:
| #!/usr/bin/perl | |
| ############################################################################### | |
| # Copyright 2006-2015, Way to the Web Limited | |
| # URL: http://www.configserver.com | |
| # Email: sales@waytotheweb.com | |
| ############################################################################### | |
| sub custom_line { | |
| my $line = shift; | |
| my $lgfile = shift; |
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
| #!/bin/bash | |
| # | |
| # This script configures WordPress file permissions based on recommendations | |
| # from http://codex.wordpress.org/Hardening_WordPress#File_permissions | |
| # | |
| # Author: Michael Conigliaro <mike [at] conigliaro [dot] org> | |
| # modified by Jose Luis Moya - alsur.es | |
| # | |
| WP_OWNER=www-data # <-- wordpress owner | |
| WP_GROUP=www-data # <-- wordpress group |
| # This is a template .gitignore file for git-managed WordPress projects. | |
| # This is my own implementation based on various files | |
| # | |
| # Fact: you don't want WordPress core files, or your server-specific | |
| # configuration files etc., in your project's repository. You just don't. | |
| # | |
| # Solution: stick this file up your repository root (which it assumes is | |
| # also the WordPress root directory) and add exceptions for any plugins, | |
| # themes, and other directories that should be under version control. | |
| # |
| SED=`which sed` | |
| CURRENT_DIR=`dirname $0` | |
| echo "Dominio?" | |
| read DOMAIN | |
| # check the domain is valid! | |
| PATTERN="^(([a-zA-Z]|[a-zA-Z][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z]|[A-Za-z][A-Za-z0-9\-]*[A-Za-z0-9])$"; | |
| if [[ "$DOMAIN" =~ $PATTERN ]]; then | |
| DOMAIN=`echo $DOMAIN | tr '[A-Z]' '[a-z]'` |
| --- | |
| # | |
| # Ansible playbook: Webmin for Ubuntu v201501302302 | |
| # Louis T. Getterman IV (@LTGIV) | |
| # www.GotGetLLC.com / www.opensour.cc | |
| # | |
| # Example Usage: | |
| # [user@host ~$] ansible-playbook /etc/ansible/playbooks/webmin.yml --extra-vars 'target=nameFromHostsFile' | |
| # | |
| #- hosts: '{{ target }}' |
| // ---- | |
| // Sass (v3.3.9) | |
| // Compass (v1.0.0.alpha.20) | |
| // Scut (v0.10.4) | |
| // ---- | |
| @import "scut"; | |
| @mixin typeset( $type: body-copy ) { | |
| $types: ( |
| // ---- | |
| // Sass (v3.3.9) | |
| // Compass (v1.0.0.alpha.20) | |
| // Scut (v0.10.4) | |
| // ---- | |
| @import "scut"; | |
| @mixin typeset( $type: body-copy ) { | |
| $types: ( |
| /** | |
| * output from sass-maps-index-iterator.scss | |
| */ | |
| li:nth-of-type(1):before { | |
| content: "english - hello"; | |
| } | |
| li:nth-of-type(2):before { | |
| content: "spanish - hola"; | |
| } |