added sconfig.sh and moved clone_vm.sh to a subfolder
This commit is contained in:
parent
6d0d1e87a0
commit
2a296f0ab8
|
@ -0,0 +1,56 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
|
||||||
|
## name: sconfig.sh
|
||||||
|
## author: david@socialnerds.org
|
||||||
|
## version: 0.1
|
||||||
|
##
|
||||||
|
## decription: This is a script to help you configure
|
||||||
|
## various aspects of a linux server.
|
||||||
|
##
|
||||||
|
## features: manage user accounts and their keys
|
||||||
|
## update operating system packages
|
||||||
|
## install admin tools
|
||||||
|
## harden sshd
|
||||||
|
## enable ufw
|
||||||
|
## setup docker
|
||||||
|
## setup nginx & acme.sh
|
||||||
|
## setup duplicity
|
||||||
|
## setup snmpd
|
||||||
|
##
|
||||||
|
## usage: sconfig
|
||||||
|
|
||||||
|
#TODO: merge content of prep_ubuntu_server.sh in here
|
||||||
|
|
||||||
|
# **** start of script ****
|
||||||
|
|
||||||
|
## functions
|
||||||
|
|
||||||
|
get-users()
|
||||||
|
{
|
||||||
|
pass
|
||||||
|
}
|
||||||
|
|
||||||
|
add-user()
|
||||||
|
{
|
||||||
|
pass
|
||||||
|
}
|
||||||
|
|
||||||
|
dis-user()
|
||||||
|
{
|
||||||
|
pass
|
||||||
|
}
|
||||||
|
|
||||||
|
print-screen()
|
||||||
|
{
|
||||||
|
clear
|
||||||
|
echo "============================================"
|
||||||
|
echo " sconfig"
|
||||||
|
echo "============================================"
|
||||||
|
}
|
||||||
|
|
||||||
|
## run script
|
||||||
|
print-screen
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
# **** end of script ****
|
Loading…
Reference in New Issue