{"id":23009222,"url":"https://github.com/matveynator/sysadminscripts","last_synced_at":"2025-08-14T04:32:32.318Z","repository":{"id":57876907,"uuid":"302284801","full_name":"matveynator/sysadminscripts","owner":"matveynator","description":"UNIX sysadmin KUNG-FU.","archived":false,"fork":false,"pushed_at":"2024-11-22T08:34:01.000Z","size":126556,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-22T09:26:36.090Z","etag":null,"topics":["debian","docker","docker-swarm","golang","linux","lxc","mariadb","mysql","nomad","openbsd","pf","postgresql","reiserfs","strongswan","xfs"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matveynator.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-08T09:00:30.000Z","updated_at":"2024-11-22T08:34:05.000Z","dependencies_parsed_at":"2024-11-22T09:33:01.262Z","dependency_job_id":null,"html_url":"https://github.com/matveynator/sysadminscripts","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matveynator%2Fsysadminscripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matveynator%2Fsysadminscripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matveynator%2Fsysadminscripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matveynator%2Fsysadminscripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matveynator","download_url":"https://codeload.github.com/matveynator/sysadminscripts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229800422,"owners_count":18126028,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["debian","docker","docker-swarm","golang","linux","lxc","mariadb","mysql","nomad","openbsd","pf","postgresql","reiserfs","strongswan","xfs"],"created_at":"2024-12-15T09:13:07.348Z","updated_at":"2024-12-15T09:13:08.144Z","avatar_url":"https://github.com/matveynator.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# UNIX sysadmin KUNG-FU.\nDebian addicted.\n\n![#f03c15](https://via.placeholder.com/15/f03c15/000000?text=+) \n![#c5f015](https://via.placeholder.com/15/c5f015/000000?text=+)\n![#1589F0](https://via.placeholder.com/15/1589F0/000000?text=+)\n\n```\n\n             _      \n            (_)     \n _   _ _ __  ___  __\n| | | | '_ \\| \\ \\/ /\n| |_| | | | | |\u003e  \u003c \n \\__,_|_| |_|_/_/\\_\\  WHERE, THERE IS A SHELL, WHERE IS A WAY.\n\nHow to add new sysadmin kung-fu script or fix some problem?\n\n- Fork it\n- Create your feature branch (git checkout -b my-new-feature)\n- Commit your changes (git commit -am 'Added some feature')\n- Push to the branch (git push origin my-new-feature)\n- Create new Pull Request\n\n```\n\n### [WiKi](https://github.com/matveynator/sysadminscripts/wiki)\n\n### get gurl (golang version of curl with embedded SSL):\n```\ncurl -L 'http://files.zabiyaka.net/gurl/latest/linux/amd64/gurl' \u003e /usr/local/bin/gurl; chmod +x /usr/local/bin/gurl;\n```\n\n### minimal setup for debian or ubuntu etc (base scripts, monitoring, label):\n```\napt-get update; apt-get -y install curl bash; curl -sL 'https://raw.githubusercontent.com/matveynator/sysadminscripts/main/any-debian.sh' |bash;\n```\n\n### full setup any debian\n```\napt-get update; apt-get -y install curl bash; curl -sL 'https://raw.githubusercontent.com/matveynator/sysadminscripts/main/debian.sh' |bash;\n```\n\n### debian old (9,10,11):\n```\ngurl https://git.io/JWhaD | bash\n```\n\n### Install all tools:\n```\ngurl 'https://raw.githubusercontent.com/matveynator/sysadminscripts/refs/heads/main/install-plugins-and-tools' \u003e /tmp/tools; sh /tmp/tools; rm -f /tmp/tools; \n```\n\n### Info + label\n```\ngurl https://raw.githubusercontent.com/matveynator/sysadminscripts/main/label |bash\n```\n\n### Monitoring user setup:\n```\ngurl 'https://raw.githubusercontent.com/matveynator/sysadminscripts/main/r2d2' | bash\n```\n\n### Munin\n```\ngurl 'https://git.io/Jyi24' | bash\n```\n\n### PostgreSQL in docker: \n```\ngurl 'https://raw.githubusercontent.com/matveynator/sysadminscripts/main/docker-create-postgresql' \u003e /usr/local/bin/docker-create-postgresql; chmod +x /usr/local/bin/docker-create-postgresql; sudo /usr/local/bin/docker-create-postgresql;\n```\n\n### MySQL in docker:\n```\ngurl 'https://raw.githubusercontent.com/matveynator/sysadminscripts/main/docker-create-mysql' \u003e /usr/local/bin/docker-create-mysql; chmod +x /usr/local/bin/docker-create-mysql; sudo /usr/local/bin/docker-create-mysql\n```\n\n### MariaDB in docker:\n```\ngurl 'https://raw.githubusercontent.com/matveynator/sysadminscripts/main/docker-create-mariadb' \u003e /usr/local/bin/docker-create-mariadb; chmod +x /usr/local/bin/docker-create-mariadb; sudo /usr/local/bin/docker-create-mariadb\n```\n\n### Find large directories tool:\n```\ngurl 'https://raw.githubusercontent.com/matveynator/sysadminscripts/main/find-large-dirs' \u003e /usr/local/bin/find-large-dirs; chmod +x /usr/local/bin/find-large-dirs; sudo /usr/local/bin/find-large-dirs\n```\n\n### Wildcard acme.sh SSL cert via Hetzner DNS:\n\n```\ngurl 'https://raw.githubusercontent.com/matveynator/sysadminscripts/main/acme.sh-wildcard-hetzner-dns' \u003e /usr/local/bin/acme.sh-wildcard-hetzner-dns; chmod +x /usr/local/bin/acme.sh-wildcard-hetzner-dns; sudo /usr/local/bin/acme.sh-wildcard-hetzner-dns\n```\n\n### Change Let's encrypt to ZeroSSL with acme.sh:\n```\ngurl 'https://git.io/JaXBn' \u003e /usr/local/bin/certbot-to-acme.sh; chmod +x  /usr/local/bin/certbot-to-acme.sh; certbot-to-acme.sh\n```\n\n### LXC\n```\ngurl 'https://git.io/JM6Md' \u003e /usr/local/bin/lxc-create-new; chmod +x /usr/local/bin/lxc-create-new;\n```\n### Bitrix 24 in Docker:\n\n```\ngurl https://raw.githubusercontent.com/matveynator/bitrix24-docker/main/install.sh | bash\n```\n\n## Pritunl OpenVPN:\n```\ngurl https://raw.githubusercontent.com/matveynator/sysadminscripts/main/pritunl | bash\n```\n\n## IPTables\n```\ncurl https://raw.githubusercontent.com/matveynator/sysadminscripts/refs/heads/main/iptables-install-rules |bash\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatveynator%2Fsysadminscripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatveynator%2Fsysadminscripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatveynator%2Fsysadminscripts/lists"}