initial commit

This commit is contained in:
2021-09-04 02:33:44 +02:00
parent 229f86d94b
commit 1e7341007a
9 changed files with 27 additions and 19 deletions

View File

@ -8,7 +8,7 @@
## sudo chmod +x ~/bin/*;su -l $USER
#### USAGE
# bash -c "$(wget -qLO - https://git.sthope.dev/sthope/sthope_website_examples/raw/branch/master/custom-cmds-in-ubuntu/bin_examples/createnewuserns)" go Username Password
# bash -c "$(wget -qLO - https://git.sthope.dev/sthope/sthope-examples/src/branch/master/custom-cmds-in-ubuntu/bin_examples/createnewuserns)" go Username Password
# Type "createnewuserns USERNAME PASSWORD" it will create new user without asking all the questions
adduser ${0} --gecos "${0},69,69,69" --disabled-password

View File

@ -0,0 +1,8 @@
mkdir -p /etc/systemd/system/docker.service.d/
cat << EOF > /etc/systemd/system/docker.service.d/startup_options.conf
# /etc/systemd/system/docker.service.d/override.conf
[Service]
ExecStart=
ExecStart=/usr/bin/dockerd -H fd:// -H tcp://0.0.0.0:2376
EOF

View File

@ -8,7 +8,7 @@
## sudo chmod +x ~/bin/*;su -l $USER
#### USAGE
# bash -c "$(wget -qLO - https://git.sthope.dev/sthope/sthope_website_examples/raw/branch/master/custom-cmds-in-ubuntu/bin_examples/proxmox_addnewuser)" Username Password
# bash -c "$(wget -qLO - https://git.sthope.dev/sthope/sthope-examples/src/branch/master/custom-cmds-in-ubuntu/bin_examples/proxmox_addnewuser)" Username Password
#
apt-get update