{"id":20767802,"url":"https://github.com/decaded/install-script","last_synced_at":"2026-01-28T17:03:18.911Z","repository":{"id":183114090,"uuid":"426034881","full_name":"Decaded/install-script","owner":"Decaded","description":"Server Configuration Script. This script provides a menu-driven interface to perform various server configuration tasks. It allows users to install essential apps, set up NGINX and PHP, configure NVM, enable passwordless sudo, set up SSH key-based authentication and more.","archived":false,"fork":false,"pushed_at":"2025-11-21T21:08:40.000Z","size":261,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-21T21:21:22.304Z","etag":null,"topics":["automation","bash","bash-script","devops","linux","server-configuration","shell","shell-script","ssh","ubuntu"],"latest_commit_sha":null,"homepage":"","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/Decaded.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"Decaded","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2021-11-09T00:12:00.000Z","updated_at":"2024-11-26T23:00:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"cd6d351d-cbdb-4b2c-8774-e0b96efd9820","html_url":"https://github.com/Decaded/install-script","commit_stats":null,"previous_names":["decaded/install-script"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Decaded/install-script","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Decaded%2Finstall-script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Decaded%2Finstall-script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Decaded%2Finstall-script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Decaded%2Finstall-script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Decaded","download_url":"https://codeload.github.com/Decaded/install-script/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Decaded%2Finstall-script/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28847055,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T15:15:36.453Z","status":"ssl_error","status_checked_at":"2026-01-28T15:15:13.020Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["automation","bash","bash-script","devops","linux","server-configuration","shell","shell-script","ssh","ubuntu"],"created_at":"2024-11-17T11:33:27.889Z","updated_at":"2026-01-28T17:03:18.899Z","avatar_url":"https://github.com/Decaded.png","language":"Shell","readme":"# Hello There, internet traveler\n\n### Overview\n\nThis script is a modular server utility tool for Debian-based and Ubuntu-based systems. It helps automate common setup tasks without forcing a specific stack. You choose exactly\nwhat gets installed: essential tools, Nginx, PHP, NVM, static IP profiles, and more.\n\nUbuntu is the primary target environment. Other Debian derivatives should work, but if you encounter issues, feel free to open an\n[issue](https://github.com/Decaded/install-script/issues) and describe your setup.\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/Decaded/install-script\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/languages/code-size/Decaded/install-script\" alt=\"Code Size\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/Decaded/install-script/issues\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/issues/Decaded/install-script\" alt=\"Open Issues\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/Decaded/install-script/pulls\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/issues-pr/Decaded/install-script\" alt=\"Open PRs\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/Decaded/install-script/commits\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/last-commit/Decaded/install-script\" alt=\"Last Commit\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n---\n\n## Installation and Usage\n\n1. Download the script:\n\n   ```bash\n   wget https://raw.githubusercontent.com/Decaded/install-script/main/install.sh\n   ```\n\n2. Make it executable:\n\n   ```bash\n   sudo chmod +x install.sh\n   ```\n\n3. Run it:\n\n   ```bash\n   ./install.sh\n   ```\n\nA menu will appear with all available options.\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"images/main_menu.png\" alt=\"Script Menu Preview\"\u003e\n\u003c/div\u003e\n\n---\n\n## Features\n\n### Essential Tools\n\nInstall a curated pack of common system utilities:\n\n1. **[htop](https://htop.dev/)** – process viewer\n2. **[screen](https://www.gnu.org/software/screen/)** – terminal multiplexer\n3. **[nload](https://github.com/rolandriegel/nload)** – network traffic monitor\n4. **[nano](https://www.nano-editor.org/)** – simple text editor\n5. **[firewalld](https://firewalld.org/)** – firewall management\n\n   - Automatically opens SSH\n   - Migrates from UFW if needed\n\n6. **[fail2ban](https://github.com/fail2ban/fail2ban)** – intrusion prevention\n\n   - Default configuration or custom rules\n\n7. **[git](https://git-scm.com/)** – version control\n\n   - Optional first-time setup\n\n8. **[unattended-upgrades](https://wiki.debian.org/UnattendedUpgrades)** – automatic security updates\n\n### SSH Configuration\n\nSwitch to secure, key-only SSH authentication. The script:\n\n- Disables password-based logins\n- Creates a backup of your SSH config\n- Provides a restore option\n\nBackup file location:\n\n``` bash\n/etc/ssh/sshd_config_decoscript.backup\n```\n\nRe-running the script replaces the old backup, so rename it if you want to keep multiple versions.\n\n### Passwordless Sudo\n\nEnables password-free sudo access if desired. If your system already uses this configuration, the script leaves it unchanged.\n\n### Web Server Setup\n\n- Automatic cleanup of Apache2 if present\n- Firewall rules for HTTP(S) when using firewalld\n\nInstalls the full **LEMP** stack:\n\n- **[Nginx](https://nginx.org/)** installation and configuration\n- **[MySQL](https://www.mysql.com/)** installation and secure setup\n- **[PHP](https://www.php.net/)** installation with commonly used modules\n\n  - Configures **php-fpm** to work with Nginx\n  - Installs modules:\n    - **php-cli**\n    - **php-fpm**\n    - **php-mbstring**\n    - **php-curl**\n    - **php-xml**\n    - **php-zip**\n    - **php-gd**\n    - **php-mysql**\n\n- **OR** install Nginx and PHP only,\n- **OR** install only Nginx.\n\n### Node.js via NVM\n\nInstalls the latest **[NVM](https://github.com/nvm-sh/nvm)** version and lets you manage Node.js installations cleanly:\n\n- Install or remove Node.js versions\n- Switch between versions\n\n### Static IP Configuration\n\nConfigure a static IP address using **Netplan** when available.\n\nSupports:\n\n- IP address\n- Subnet\n- Gateway\n- DNS servers\n\nIf Netplan isn’t present, the script chooses the best available method.\n\n---\n\n## Contributing and Issues\n\nIf you notice unexpected behavior or have a suggestion, [open an issue](https://github.com/Decaded/install-script/issues).\n\nPull requests are welcome.\n\n---\n\n## License\n\nThis project is available under the [MIT License](LICENSE).\n\n---\n\n## Disclaimer\n\nThis script performs operations that modify system configuration. Use it responsibly, review options before applying them, and keep backups of important files.\n\n\u003e This script comes as is, without any guarantees. It's your adventure, so be mindful.\n","funding_links":["https://ko-fi.com/Decaded"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdecaded%2Finstall-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdecaded%2Finstall-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdecaded%2Finstall-script/lists"}