Glossary:
- md: multiple devices
command | description |
---|---|
cat /proc/mdstat |
show status of all raids |
mdadm --detail /dev/md0 |
detailed status of raid md0 |
user nginx; | |
worker_processes 1; | |
error_log /var/log/nginx/error.log warn; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 1024; |
<!DOCTYPE html> | |
<!-- | |
Google HTML5 slide template | |
Authors: Luke Mahé (code) | |
Marcin Wichary (code and design) | |
Dominic Mazzoni (browser compatibility) | |
Charles Chen (ChromeVox support) |
map $http_origin $cors_header { | |
default ""; | |
"~^http?://[^/]+\.sundi3yansyah\.id(:[0-9]+)?$" "$http_origin"; | |
} | |
server { | |
listen 80; | |
server_name node.sundi3yansyah.id; | |
location / { |
#!/bin/bash | |
# | |
# Display usage info | |
vhost-usage() { | |
cat <<"USAGE" | |
Usage: vhost [OPTIONS] <name> | |
-h|--help this screen | |
-pub to create the webhost root in ~/www/name/public/ | |
-url to specify a local address, default is http://name.local |
#!/bin/bash | |
# This script will help you to set Hiawatha Server. | |
# Tested on Devuan 8 32/64bit. Debian Jessie supported as well. | |
# Script author ZEROF <zerof at backbox dot org> | |
# If you like Linux and security join http://backbox.org | |
# Script version 0.6c | |
# This script is distributed under a DO WHAT THE F*** YOU WANT TO PUBLIC LICENSE. | |
# http://www.wtfpl.net/txt/copying/ | |
clear | |
function banner () |