Let's say you want to host domains first.com and second.com.
Create folders for their files:
#MongoDB 3.2.x Security
##Network Ports The standard ports used by mongo are:
| Process | Role | Default Port |
|---|
| #!/bin/bash | |
| FILENAME="/tmp/random-lines.$$.tmp" | |
| NUMLINES=10000000 | |
| seq -f 'line %.0f' $NUMLINES > $FILENAME; | |
| echo "10 random lines with nl:" | |
| $(which time) -v nl -ba $filename | sort -r | sed 's/.*[0-9]\t//' | head > /dev/null | |
| echo "10 random lines with shuf:" | |
| $(which time) -v shuf $FILENAME -n10 | head > /dev/null |
| Section "InputClass" | |
| Identifier "touchpad" | |
| Driver "synaptics" | |
| MatchIsTouchpad "on" | |
| Option "TapButton1" "1" | |
| Option "TapButton2" "3" | |
| Option "TapButton3" "2" | |
| Option "VertEdgeScroll" "on" | |
| Option "VertTwoFingerScroll" "on" | |
| Option "HorizEdgeScroll" "on" |
| echo OFF | |
| :: Delayed Expansion causing variables to exanded at execution time rather than at parse time | |
| setlocal enabledelayedexpansion | |
| dir /ad /b > tel2.txt | |
| ::Entering in Day Folder | |
| for /F "tokens=*" %%j in (tel2.txt) do ( | |
| cd "%%j" | |
| echo "%%j" | |
| dir /ad /b > tel1.txt | |
| ::Entering in Event Folder |
| . | |
| ├── books | |
| │ ├── handlers.go | |
| │ └── models.go | |
| ├── config | |
| │ └── db.go | |
| └── main.go |
| - name: set swap_file variable | |
| set_fact: | |
| swap_file: /mnt/{{ swap_space }}.swap | |
| - name: check if swap file exists | |
| stat: | |
| path: "{{ swap_file }}" | |
| register: swap_file_check | |
| - name: create swap file |
| #!/bin/bash | |
| function test { | |
| MESSAGE=$1 | |
| RECEIVED=$2 | |
| EXPECTED=$3 | |
| if [ "$RECEIVED" = "$EXPECTED" ]; then | |
| echo -e "\033[32m✔︎ Tested $MESSAGE" | |
| else |