Jason Hee
6fc75796a3
Add support for 22.04 ( #16 )
...
* Add Vagrantfile for Jammy
* Fix configuration of NTP for Jammy
* Update setup text to be more accurate
* Update README
2022-04-18 04:57:03 +08:00
Jason Hee and BreakSecurity
7beaeed0cd
Enables one to run setup without creating a new user by using a second non-root account ( #15 )
...
* Enable one to choose to use an existing second non-root account for configuring the server.
* Current user by def
* Changed default TimeZone and added a more secure ssh key derivation
method according to https://blog.peterruppel.de/ed25519-for-ssh/
* Refactor setup scripts
Co-authored-by: BreakSecurity <[email protected] >
2022-04-18 04:49:00 +08:00
Jason Hee
8c4f801e10
Install UFW if it's not installed ( #13 )
...
Resolves issue #10
2021-08-15 22:52:17 +08:00
Jason Hee
153087929c
Remove the need for prompting the user for a password ( #12 )
...
Relates to issue #9
2021-08-15 21:47:26 +08:00
Jason Hee
ce73240765
Use xenial for travis ( #11 )
...
* Use Ubuntu Xenial for Travis CI
* Fix CI tests
* Ensure NTP time is synced
https://askubuntu.com/a/1049810
2021-08-15 21:28:49 +08:00
Jason Hee
d8eb1c23b9
Update scripts for Ubuntu 20.04 ( #7 )
...
* Modify time sync for 20.04
* Add Vagrantfile for 20.04
* Update documentation
2020-04-24 12:12:01 +08:00
Jason Hee
3e02daa942
Add support for 18.04 ( #4 )
2018-05-03 19:24:13 +08:00
Jason Hee
79ccba4ac2
Update tests ( #2 )
...
* Update testing library
* Refactored tests to use new testing library
* Add travis
* Modify travis to use https for git submodules
* Add shellcheck
* Remove shellcheck
* Add debian apt sources
* Add shellcheck
* Add travis status image
2018-04-18 15:12:52 +08:00
Jason Hee
65eb29e4fe
Modified execAsUser to use bash instead of Bourne shell
2016-12-07 18:28:55 +08:00
Jason Hee
febdd604b5
Fixed bug with saving swap settings
2016-12-07 16:49:42 +08:00
Jason Hee
803b2ce2eb
Fixes Issue #1
2016-12-07 16:09:19 +08:00
Jason Hee
ca73a74b18
Updated Testing Library
2016-12-07 15:49:51 +08:00
Jason Hee
64ae3dad6f
Updated Readme
2016-12-06 14:17:10 +08:00
Jason Hee
d8ea90d967
Merge branch 'master' into dev
2016-12-06 14:06:46 +08:00
Jason Hee
120d9f9ae1
Refactored setup script
...
- Put main logic into a main function
- Password prompting from user is isolated into the promptForPassword function
2016-12-06 14:05:40 +08:00
Jason Hee
b1cddca7ed
Refactored setup script
...
- Put main logic into the main function
- Password prompting from user is isolated into the promptForPassword function
2016-12-06 14:03:11 +08:00
Jason Hee
1e31d3f823
Added prompting of server timezone
...
- User can now specify the timezone of the server rather than needing to set it via editing the bash script
2016-12-05 20:10:53 +08:00
Jason Hee
69b536300d
Refactored code based on shellcheck
2016-12-05 15:28:09 +08:00
Jason Hee
b9b66c711f
Added .gitattributes
2016-12-01 20:02:10 +08:00
Jason Hee
422568da89
Added README and LICENSE
2016-12-01 19:56:12 +08:00
Jason Hee
13927cd311
Modified logging function
2016-12-01 19:15:12 +08:00
Jason Hee
81d5636078
Redirect setup output to log file
2016-12-01 17:48:40 +08:00
Jason Hee
8e0678930c
Updated gitignore
2016-12-01 16:40:37 +08:00
Jason Hee
0c80eb4811
Added setup cleanup functions
2016-12-01 13:00:35 +08:00
Jason Hee
244e4db9d9
Modified testing Vagrantfiles
2016-11-29 20:13:12 +08:00
Jason Hee
94cca4dcf6
Refactored Unit Tests
2016-11-29 20:10:08 +08:00
Jason Hee
f759b39cd0
Added NTP configuration
2016-11-29 01:37:19 +08:00
Jason Hee
a82bf4ff21
Added swap settings
2016-11-29 00:06:11 +08:00
Jason Hee
02e48fe201
Added function to add swap file
2016-11-28 02:09:14 +08:00
Jason Hee
9ef673594e
Added sshd_config modifications
2016-11-27 23:36:01 +08:00
Jason Hee
2779c7f3ee
Added test for adding of SSH key
2016-11-25 01:16:33 +08:00
Jason Hee
841312963c
Added functionality to add ssh key
2016-11-24 01:26:46 +08:00
Jason Hee
003357b848
Initial Commit
2016-11-24 00:05:36 +08:00