Compare commits

...

2 Commits

Author SHA1 Message Date
Asif Bacchus 9fcf61420b updated and proofed all other readme files 2019-03-06 18:37:51 -07:00
Asif Bacchus d47fa4cfdd updated main readme and added gitattributes 2019-03-06 18:27:38 -07:00
4 changed files with 69 additions and 12 deletions

51
.gitattributes vendored Normal file
View File

@ -0,0 +1,51 @@
# Common settings that generally should always be used with your language specific settings
# Auto detect text files and perform LF normalization
# http://davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/
* text=auto
#
# The above will handle all files NOT found below
#
# Documents
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
*.md text
*.tex text
*.adoc text
*.textile text
*.mustache text
*.csv text
*.tab text
*.tsv text
*.sql text
# Graphics
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.tif binary
*.tiff binary
*.ico binary
# SVG treated as an asset (binary) by default. If you want to treat it as text,
# comment-out the following line and uncomment the line after.
*.svg binary
#*.svg text
*.eps binary
#
# Exclude files from exporting
#
.gitattributes export-ignore
.gitignore export-ignore

View File

@ -15,14 +15,20 @@ Techie-Thoughts](https://mytechiethoughts.com/<post_address>)
Please refer to the `readme.md` in each subdirectory for a list and description of
each included file.
Presently, configurations are included for:
- BASH profiles (including aliases and custom prompt)
- SSHd (OpenSSH server)
- timesyncd (systemd-timesyncd configuration)
## The script file (customize.sh)
The included script file copies all the files in this archive to the proper
locations on a default Debian Stretch system. It makes backups of your existing
files in-place with the extension *.original*. This simply saves you time and
possible errors copying the files manually. The structure of this archive
exactly mirrors a default Debian installation, so you can use that as a guide if
you choose not to use the script.
locations on a **default** Debian Stretch system. It makes backups of your
existing files in-place with the extension *.original*. This simply saves you
time and possible errors copying the files manually. The structure of this
archive exactly mirrors a default Debian installation, so you can use that as a
guide if you choose not to use the script.
### Running the script
@ -78,7 +84,7 @@ and will NOT update your actual system!
## Final thoughts
Hopefully this saves you some time and helps you standard your new system setups
Hopefully this saves you some time and helps you standardize your new system setups
with a few useful defaults. As always, if you have suggestions or want to leave
feedback for me, please do so on my [blog
post](https://mytechiethoughts.com/<post_address>) related to this script!

View File

@ -1,17 +1,17 @@
# /etc: Included files
Three files are updated in the */etc* folder.
The following are updated in the */etc* folder.
## BASH default profile (profile)
This is the Debian Stretch default *profile* and is copied to */etc/profile* to
return accounts to a baseline configuration. Again, this is done to ensure that
only */etc/bash.bashrc* is providing initial customizations to users.
only */etc/bash.bashrc* is providing initial customization to users.
## Default BASH settings (bash.bashrc)
Of the bash customization files, this is the only one that is NOT in a default
configuration. I have added the following customizations I find useful
configuration. I have added the following which I find useful
especially for new users and system admins:
- colourized directory listings with built-in automatic colour settings
@ -40,7 +40,7 @@ and new users/admins.
- always display line numbers
- constantly display cursor position at the bottom of the screen
- set vim lock-files
- autoindent ON
- auto-indent ON
- tab-size of 4 spaces
- convert tabs to spaces
- turn off hard line wrapping

View File

@ -19,7 +19,7 @@ The commented lines indicate the *recommended settings* and appear directly
before the setting currently enabled that should be changed (i.e. line removed
and replaced with the commented line above it).
Please see my post at [My Techie-Thoughts](https://mytechiethoughts.com/<post_address) for detailed
Please see my post at [My Techie-Thoughts](https://mytechiethoughts.com/setting-up-ssh-with-ed25519-user-and-host-keys-for-easy-secure-access/) for detailed
instructions on setting up a secure SSH server.
## Banner file (banner)
@ -33,6 +33,6 @@ used. You can delete/change/replace it freely. It is referenced in the
#Banner /etc/ssh/banner
```
If you want to use the banner file, edit it as desired then uncomment this line
If you want to use the banner file, edit it as desired then un-comment this line
in your *sshd_config*. If you do not want a banner displayed, simply leave this
line commented (as-is) in your configuration.