-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.conf
88 lines (58 loc) · 2.16 KB
/
setup.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
##### THE USER INFO, SCRIPT LOCATION, & DATE #####
SCRIPTLOCATION=`pwd`
UNIXTIMESTAMP=`date +%s`
DATE=`date +%Y-%m-%d`
YEAR=`date +%Y`
##### HOST INFO #####
HOSTNAME='www'
DOMAIN='rustbeltrebellion.com'
IPV4='45.33.112.226'
IPV6='2600:3c00::f03c:91ff:fe26:42cf'
TIMEZONE='Etc/UTC' # This is a server, UTC is the only appropriate timezone
DEV='TRUE' # The conditional below looks for 'TRUE', everything else is no, essentially
NTH_RUN='FALSE' # Set this to 'TRUE to skip over the things that should happen only once.'
##### SYSTEM USER RESPONSIBLE FOR DEFAULT DOMAIN #####
USER='default-web'
PASSWORD='dummypassword'
EMAIL="$USER@$DOMAIN"
##### TOP LEVEL HUMAN USER #####
USERID1001='bradchesney79'
USERID1001EMAIL='[email protected]'
USERID1001PASSWORD='password1001'
# There is an interesting dynamic that I just want to send myself mail.
# No fuss, no muss-- that means in many cases no DNS, SPF, DKIM, and/or DMARC.
# "Disposable Email Service", email launderers for hire essentially.
# (Free providers exist...)
# What equates to 'sketchy' emails from your unverified host to the service.
# From the service, a fully qualified & clean email out to your target inbox.
# 33mail.com is the service I use. Shameless plug for them in my example...
TARGETEMAIL='[email protected]'
##### WEB SITE PARTICULARS #####
WEBROOT='/var/www'
HTTPWEBROOT='/var/www/http'
HTTPSWEBROOT='/var/www/https'
LOGDIR='/var/www/logs'
##### SSL KEY PARTICULARS #####
KEYSIZE='2048'
ALGORITHM='-sha256'
##### DEFAULT DOMAIN INFO FOR SSL #####
COUNTRY='US'
STATE='Ohio'
LOCALITY='Eastlake'
ORGANIZATION='Rust Belt Rebellion'
ORGANIZATIONALUNIT='Web Development'
# start-ssl-free start-ssl-class2 lets-encrypt
SSLPROVIDER='start-ssl-class2'
##### DATABASE INFO #####
DBROOTUSER='datalord'
DBROOTPASSWORD='seconddummypassword'
DEFAULTSITEDBUSER='administrator'
DEFAULTSITEDBPASSWORD='dummypassword'
DBWEBUSER="$USERID1001"
DBWEBUSERPASSWORD="$USERID1001PASSWORD"
DBBACKUPUSERPASSWORD='thirddummypassword'
SENTINELDB='sentinel'
##### TROUBLESHOOTING #####
EXECUTIONLOG='/var/log/auto-install.log'
TROUBLESHOOTINGFILES="~/troubleshooting/$UNIXTIMESTAMP"
##### ADDITIONAL SITE ARRAYS #####