{"id":21374852,"url":"https://github.com/banool/server-setup-old","last_synced_at":"2025-10-30T17:38:04.559Z","repository":{"id":90881410,"uuid":"112981841","full_name":"banool/server-setup-old","owner":"banool","description":"Finally automate setting up my personal server","archived":false,"fork":false,"pushed_at":"2018-11-10T21:57:00.000Z","size":39,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-14T23:43:25.198Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/banool.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":"2017-12-04T01:53:27.000Z","updated_at":"2020-02-09T19:35:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"06eae827-b174-4ece-ac13-a0df22c84947","html_url":"https://github.com/banool/server-setup-old","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/banool%2Fserver-setup-old","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/banool%2Fserver-setup-old/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/banool%2Fserver-setup-old/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/banool%2Fserver-setup-old/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/banool","download_url":"https://codeload.github.com/banool/server-setup-old/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243848060,"owners_count":20357487,"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":[],"created_at":"2024-11-22T08:45:47.672Z","updated_at":"2025-10-30T17:37:59.530Z","avatar_url":"https://github.com/banool.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Server Setup\nThis repo contains a whole bunch of scripts for setting my personal server.\nThe scripts are tailored for Ubuntu 16.04 and probably won't fully work on\nanything else.\n\n## How to use\nAny of the scripts can be run individually, with dependencies (as in other\nscripts) indicated at the top of the file. All of them can be run in an\nappropriate order by using `main.sh`.\n\n### Before using\n- Make sure to change the values in `variables.sh` appropriately.\n- Make sure that the domain you specify in `variables.sh` points to the server.\n\n### After using\n1. Add certificate renewal to the root crontab: `0 0 1 * * certbot renew`.\n\n## Note\nThese scripts work a bit weirdly with sudo. You shouldn't run the\nscripts with sudo as it might make the permissions all weird, but if you don't\nrun them with root privileges then the commands inside that use sudo won't work.\nI know it's bad practice to use sudo inside a script, but it made it much\neasier. On my fresh Ubuntu 16.04 instance I was able to run the scripts as my\nown user (`daniel`) but have all the internal `sudo` commands run without\nprompting me for the password, it was quite strange. The permissions in the\nscripts might need a rework in the future.\n\n## Other useful stuff\nSee the `/sys/` related answer [at this link](https://askubuntu.com/questions/149054)\nto decrease the brightness / turn off the screen.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbanool%2Fserver-setup-old","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbanool%2Fserver-setup-old","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbanool%2Fserver-setup-old/lists"}