{"id":19767316,"url":"https://github.com/tolgaerok/debian-tolga","last_synced_at":"2026-05-14T17:06:56.828Z","repository":{"id":178583200,"uuid":"662076923","full_name":"tolgaerok/Debian-tolga","owner":"tolgaerok","description":"My personal debian 12 installer","archived":false,"fork":false,"pushed_at":"2024-01-05T11:51:51.000Z","size":6609,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-11T00:24:55.639Z","etag":null,"topics":["change","nvidia","samba","samba-share","sudoers","vscode"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tolgaerok.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":"2023-07-04T09:57:09.000Z","updated_at":"2024-01-31T01:13:28.000Z","dependencies_parsed_at":"2024-01-05T12:42:05.829Z","dependency_job_id":"8e14376d-e59f-446e-98cf-70e135bd8728","html_url":"https://github.com/tolgaerok/Debian-tolga","commit_stats":null,"previous_names":["tolgaerok/debian-tolga"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tolgaerok%2FDebian-tolga","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tolgaerok%2FDebian-tolga/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tolgaerok%2FDebian-tolga/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tolgaerok%2FDebian-tolga/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tolgaerok","download_url":"https://codeload.github.com/tolgaerok/Debian-tolga/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241100010,"owners_count":19909635,"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":["change","nvidia","samba","samba-share","sudoers","vscode"],"created_at":"2024-11-12T04:29:01.608Z","updated_at":"2026-05-14T17:06:51.810Z","avatar_url":"https://github.com/tolgaerok.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# *`My debian environment`*\n```sh\nTolga Erok\n2/7/2023\n```\n\u003cdiv align=\"left\"\u003e\n  \u003ctable style=\"border-collapse: collapse; width: 100%; border: none;\"\u003e\n    \u003ctd align=\"center\" style=\"border: none;\"\u003e\n        \u003ca href=\"https://www.debian.org\"\u003e\n          \u003cimg src=\"https://flathub.org/img/distro/debian.svg\" alt=\"Debian\" style=\"width: 100%;\"\u003e\n          \u003cbr\u003eDebian\n        \u003c/a\u003e\n      \u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/table\u003e\n\u003c/div\u003e\n\nThe provided script is a Bash script intended to be used as a Debian 12 installer. It automates various tasks related to system setup and configuration. Here is a breakdown of the script:\n\n- The script starts by checking if it is `run` with root privileges. If not, it displays an error message and exits.\n- It defines some variables for storing file paths and directories.\n- The script updates the package list and upgrades the system using the `apt` package manager.\n- It installs several software packages and dependencies using `apt`. These packages include various utilities and applications such as:\n   ```sh\n   Nala, GDebi, Flatpak, firmware drivers, media codecs, Samba, Synaptic, and more.\n   ```\n- The script sets up Flatpak and installs a specific application called \"Caprine\" from Flathub.\n- It downloads the TeamViewer package from a specified URL and installs it using `dpkg`.\n- The script cleans up by removing the downloaded TeamViewer package.\n- Next, it downloads and installs Visual Studio Code using similar steps as above.\n- The script installs PowerShell by adding the Microsoft repository GPG keys and registering the Microsoft product feed. It then updates the package list and installs PowerShell.\n- The script adds Debian Bookworm repositories to the system's `/etc/apt/sources.list` file.\n- It performs an update and upgrade again to ensure all packages are up to date.\n- The script checks the GPU information and installs the necessary drivers accordingly. If an NVIDIA GPU is detected, it installs `NVIDIA` drivers; otherwise, it installs video acceleration drivers for `Intel i965`.\n- The script handles Samba configuration by copying files and directories. It prompts the user to confirm the copying process.\n- It creates samba user and group, sets up custom samba folders, and configures user shares.\n- The script modifies the `/etc/fstab` file to add mount entries for network shares.\n- It creates mount points and sets permissions for various directories.\n- The script mounts the shares and starts the SMB and NMB services.\n- It performs a test to ensure the mount entries are working correctly.\n- The script copies wallpaper files to the user's home directory.\n- Finally, it displays messages indicating the completion of different tasks.\n\n# *Summary*\nOverall, the script automates the installation of various software packages, configuration of Samba shares, and setting up system components, providing a streamlined process for setting up a Debian 12 system.\n\n## *`How to run?`*\n\n1. Make sure `git` is usable. If not, *install it:*\n\n```sh\nsudo apt-get install git -y\n```\n\n2. Open Terminal, type:\n\n```sh\ngit clone https://github.com/tolgaerok/Debian-tolga.git\ncd ./Debian-tolga\n```\n\n3. Run it:\n\n```sh\nchmod u+x ./install.sh\n./install.sh\n\nor run my online debian updater:\nbash -c \"$(curl -fsSL https://raw.githubusercontent.com/tolgaerok/Debian-tolga/main/SCRIPTS/DEBIAN-UPDATER.sh)\"\n\n```\n\n## *Other repositories in my git hub:*\n\n\u003cdiv align=\"center\"\u003e\n  \u003ctable style=\"border-collapse: collapse; width: 100%; border: none;\"\u003e\n    \u003ctr\u003e\n     \u003ctd align=\"center\" style=\"border: none;\"\u003e\n        \u003ca href=\"https://github.com/tolgaerok/fedora-tolga\"\u003e\n          \u003cimg src=\"https://flathub.org/img/distro/fedora.svg\" alt=\"Fedora\" style=\"width: 100%;\"\u003e\n          \u003cbr\u003eFedora\n        \u003c/a\u003e\n      \u003c/td\u003e\n      \u003ctd align=\"center\" style=\"border: none;\"\u003e\n        \u003ca href=\"https://github.com/tolgaerok/NixOS-tolga\"\u003e\n          \u003cimg src=\"https://flathub.org/img/distro/nixos.svg\" alt=\"NixOs\" style=\"width: 100%;\"\u003e\n          \u003cbr\u003eNixOs 23.05\n        \u003c/a\u003e\n      \u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/table\u003e\n\u003c/div\u003e\n\n## *My Stats:*\n\n\u003cdiv align=\"center\"\u003e\n\n\u003cdiv style=\"text-align: center;\"\u003e\n  \u003ca href=\"https://git.io/streak-stats\" target=\"_blank\"\u003e\n    \u003cimg src=\"http://github-readme-streak-stats.herokuapp.com?user=tolgaerok\u0026theme=dark\u0026background=000000\" alt=\"GitHub Streak\" style=\"display: block; margin: 0 auto;\"\u003e\n  \u003c/a\u003e\n  \u003cdiv style=\"text-align: center;\"\u003e\n    \u003ca href=\"https://github.com/anuraghazra/github-readme-stats\" target=\"_blank\"\u003e\n      \u003cimg src=\"https://github-readme-stats.vercel.app/api/top-langs/?username=tolgaerok\u0026layout=compact\u0026theme=vision-friendly-dark\" alt=\"Top Languages\" style=\"display: block; margin: 0 auto;\"\u003e\n    \u003c/a\u003e\n  \u003c/div\u003e\n\u003c/div\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftolgaerok%2Fdebian-tolga","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftolgaerok%2Fdebian-tolga","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftolgaerok%2Fdebian-tolga/lists"}