summaryrefslogtreecommitdiff
path: root/packaging.txt
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2016-10-20 16:15:23 -0400
committerB Stack <bgstack15@gmail.com>2016-10-20 16:15:23 -0400
commitd60ed67fa4eeeba312646358316e49c0a6cbc6f6 (patch)
tree7cec285c82c1e15cc021086899165afb7bed2385 /packaging.txt
downloaddeployscripts-d60ed67fa4eeeba312646358316e49c0a6cbc6f6.tar.gz
deployscripts-d60ed67fa4eeeba312646358316e49c0a6cbc6f6.tar.bz2
deployscripts-d60ed67fa4eeeba312646358316e49c0a6cbc6f6.zip
initial commit
Diffstat (limited to 'packaging.txt')
-rw-r--r--packaging.txt30
1 files changed, 30 insertions, 0 deletions
diff --git a/packaging.txt b/packaging.txt
new file mode 100644
index 0000000..e7ba0d4
--- /dev/null
+++ b/packaging.txt
@@ -0,0 +1,30 @@
+File: /root/packaging.txt
+Package: deployscripts.tgz
+Author: bgstack15
+Startdate: 2016-10-20
+Title: Packaging information for deployscripts.tgz
+Purpose: To describe how these scripts are stored, packaged, and deployed
+History: 2014 I wrote shell scripts (adapting from a previous person's source scripts) that automate hard-coded information for a server
+Usage:
+Reference: bgscripts README.txt
+ "Building the Centos 7 Template.docx"
+Improve:
+Document: Below this line
+
+### PACKAGING the deployscripts in a tgz
+( cd /mnt/scripts/template && rm -rf deployscripts.tgz && tar -zcf deployscripts.tgz .makecert.exp updateval.sh s*sh; )
+
+### DEPLOYING from nfs hosted tgz
+tar -zxC /root -f /mnt/scripts/template/deployscripts.tgz
+
+### DEPLOYING from scp tgz
+scp -pr norite:/mnt/scripts/template/deployscripts.tgz /root
+
+tar -zxC /root -f /root/deployscripts.tgz
+
+### PACKAGING in a MASTER tgz
+# This includes the git information and auxiliary info
+mtgz=/mnt/scripts/template/deployscripts.master.tgz
+rm "${mtgz}"
+( cd $( dirname ${mtgz} );
+tar -X /mnt/scripts/template/.gitignore --no-recursion -zc -f "${mtgz}" * .makecert.exp )
bgstack15