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:
/*JSHint Options*/ | |
/*global _gaq */ | |
/* | |
Google Analytics Event Tracking - JSHint Checked | |
Written By Cheyne Wallace - 19th Nov 2012 | |
Click Usage: <a href="http://somewhere" | |
class="ga-track" | |
event_category="Event Category" | |
event_action="Specific Action" | |
event_label="Optional Message" |
/** | |
* 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"; | |
} |
// ---- | |
// 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: ( |
--- | |
# | |
# 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 }}' |
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]'` |
# 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. | |
# |
#!/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 |
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |