{"id":19423277,"url":"https://github.com/atomjoy/vps-debian","last_synced_at":"2025-04-14T15:35:30.642Z","repository":{"id":65454794,"uuid":"592658463","full_name":"atomjoy/vps-debian","owner":"atomjoy","description":"Konfiguracja serwera VPS Debian 11 z ovh (de) LEMP, SMTP, SSH, UFW, FAIL2BAN.","archived":false,"fork":false,"pushed_at":"2023-03-01T10:26:19.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T04:29:07.364Z","etag":null,"topics":["deban-vps","debian","debian-certbot","debian-php8","ovh-vps-debian","vps-certbot","vps-debian","vps-installation","vps-lemp","vps-ovh","vps-postfix-send-only","vps-security","vps-sendonly-smtp","vps-server","vps-setup","vps-smtp","vps-sshkeys","vps-ssl","vps-ufw-firewall"],"latest_commit_sha":null,"homepage":"https://github.com/atomjoy/vps-debian","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atomjoy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-01-24T08:35:12.000Z","updated_at":"2024-03-18T23:38:35.000Z","dependencies_parsed_at":"2024-11-10T13:37:46.206Z","dependency_job_id":"c1e64c84-8032-4915-be65-56f1f6be56b7","html_url":"https://github.com/atomjoy/vps-debian","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomjoy%2Fvps-debian","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomjoy%2Fvps-debian/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomjoy%2Fvps-debian/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomjoy%2Fvps-debian/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atomjoy","download_url":"https://codeload.github.com/atomjoy/vps-debian/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248906916,"owners_count":21181243,"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":["deban-vps","debian","debian-certbot","debian-php8","ovh-vps-debian","vps-certbot","vps-debian","vps-installation","vps-lemp","vps-ovh","vps-postfix-send-only","vps-security","vps-sendonly-smtp","vps-server","vps-setup","vps-smtp","vps-sshkeys","vps-ssl","vps-ufw-firewall"],"created_at":"2024-11-10T13:37:39.932Z","updated_at":"2025-04-14T15:35:30.620Z","avatar_url":"https://github.com/atomjoy.png","language":"Shell","readme":"# Vps Debian 11\r\n\r\nKonfiguracja serwera VPS Debian 11 z ovh (de) LEMP, SMTP, SSH, UFW, FAIL2BAN.\r\n\r\n## Utwórz i dodaj klucz ssh\r\nUtwórz i dodaj w panelu ovh klucz ssh a następnie przeinstaluj server vps z kluczem ssh.\r\n```sh\r\nssh-keygen -t ed25519\r\n```\r\n\r\n### Zaloguj sie do vps z ssh i pobierz repo\r\n```sh\r\nsudo apt install git\r\ngit clone https://github.com/atomjoy/vps-debian.git\r\n```\r\n\r\n### Dodaj rekordy A do strefy DNS dla subdomeny/domeny oraz rekord SPF dla ip serwera\r\n```\r\n# Rekord A dla domeny\r\nexample.com\r\nwww.example.com\r\n\r\n# Rekord A dla subdomeny fqdn\r\nhello.example.com\r\nwww.hello.example.com\r\n\r\n# Rekord SPF TXT\r\nv=spf1 a mx ip4:1.2.3.4 include:mx.ovh.com -all\r\n\r\n# Vps IP revers dns\r\nhello.example.com\r\n```\r\n\r\n### Zaloguj się jako root\r\nUruchom wszystkie skrypty jako użytkownik root.\r\n```sh\r\nsu root\r\n```\r\n\r\n### Konfiguracja vps\r\n\r\nZmień parametry przed uruchomieniem.\r\n\r\n```sh\r\nsudo bash run.sh\r\n```\r\n\r\n### Serwer http dla domeny z ssl\r\n\r\nZmień parametry przed uruchomieniem.\r\n\r\n```sh\r\n# Dla domeny\r\nsudo bash ssl.sh\r\nsudo bash vhost.sh\r\n\r\n# Dla subdomeny\r\nsudo bash ssl-hello.sh\r\nsudo bash vhost-hello.sh\r\n```\r\n\r\n### Usuń użytkownika debian z sudo\r\n\r\n```sh\r\nsudo bash sudo-remove.sh\r\n```\r\n\r\n### Dodaj użytkownika debian do sudo (bez podawania hasła)\r\n\r\n```sh\r\nsudo bash sudo-add.sh\r\n```\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomjoy%2Fvps-debian","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatomjoy%2Fvps-debian","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomjoy%2Fvps-debian/lists"}