{"id":18689677,"url":"https://github.com/mrseanryan/ubuntu-scripts","last_synced_at":"2025-07-24T12:11:19.663Z","repository":{"id":96810116,"uuid":"163827887","full_name":"mrseanryan/ubuntu-scripts","owner":"mrseanryan","description":":scroll: Simple bash scripts to setup a basic dev environment in Ubuntu ","archived":false,"fork":false,"pushed_at":"2023-08-09T16:44:52.000Z","size":2928,"stargazers_count":7,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T05:53:40.486Z","etag":null,"topics":["nodejs","nvm","ubuntu","ubuntu-scripts","visual-studio-code"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrseanryan.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":"2019-01-02T10:38:22.000Z","updated_at":"2024-01-27T17:32:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"3f84d20a-398c-45e9-952a-74ef4009ac6b","html_url":"https://github.com/mrseanryan/ubuntu-scripts","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/mrseanryan%2Fubuntu-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrseanryan%2Fubuntu-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrseanryan%2Fubuntu-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrseanryan%2Fubuntu-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrseanryan","download_url":"https://codeload.github.com/mrseanryan/ubuntu-scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248525156,"owners_count":21118616,"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":["nodejs","nvm","ubuntu","ubuntu-scripts","visual-studio-code"],"created_at":"2024-11-07T10:44:36.557Z","updated_at":"2025-04-12T05:53:50.520Z","avatar_url":"https://github.com/mrseanryan.png","language":"Shell","funding_links":["https://paypal.me/mrseanryan"],"categories":[],"sub_categories":[],"readme":"# :scroll: ubuntu-scripts readme\n\nA few simple scripts to setup a basic dev environment on Ubuntu.\n\n## status - stable\n\nTested on Ubuntu 18.04, 22.04 LTS\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n[![Donate](https://img.shields.io/badge/donate-paypal-blue.svg)](https://paypal.me/mrseanryan)\n\n## features\n\nInstalls the following:\n\n- docker and docker-compose\n- git and git lfs\n- git aliases and credential caching\n- graphviz\n- network tools like: curl, ifconfig\n- npm, yarn\n- nvm, node 8 (latest)\n- Visual Code\n\nExtras can also be installed:\n\n- ftp server to easily transfer files (SCP port 22 - needs ssh login to be setup)\n- xrdp (for remote desktop)\n- chrome, chrome driver\n- useful user scripts\n\n_note: probably NOT suitable for a production box!_\n\n## usage\n\nThe 'clever' way:\n\n```\nsudo apt install curl\n\ncurl -o- https://raw.githubusercontent.com/mrseanryan/ubuntu-scripts/master/install.sh | bash\n```\n\n_note: if you also want docker installed, instead use `install-with-docker.sh`_\n\nOR if that fails:\n\n```\nsudo apt-get update\n\nsudo apt install git\n\ngit clone https://github.com/mrseanryan/ubuntu-scripts.git\n\ncd ubuntu-scripts\n\n./go.sh\n```\n\n_note: if you also want docker installed, instead use `go.sh --docker`_\n\n## extras\n\nTo install XRDP to allow Remote Desktop from Windows:\n\n```\ncd ubuntu-scripts\n./extra-install-xrdp.sh\n```\n\n### setting up ssh login (needed for ftp over scp)\n\n`./extra-install-ssh-server.sh`\n\n`sudo ./extra-configure-ssh-server.sh` (only run this once!)\n\n- then setup client side, and test from the client:\n\nhttps://help.ubuntu.com/community/SSH/OpenSSH/Configuring\nhttps://help.ubuntu.com/community/SSH/OpenSSH/Keys\n\n### tips about ssh\n\n- test login:\n\n`ssh -v user@hostname`\n\n- to use a hostname for a VM: for VM hosted on Windows, edit Windows hosts file to map IP to host\n\n- this line or similar may need to be disabled in `/etc/ssh/sshd_config`\n\n`Subsystem        sftp    /usr/lib/openssh/sftp-server`\n\n- client side can specify identity file, if more than one key on client:\n\n`ssh user@host -i path-to-rsa`\n\n### setting up ftp (scp)\n\n`./extra-install-ftp-server-NOT-secure.sh`\n\n`extra-install-ftp-secure-the-ftp-server.sh`\n\nAnonymous and plain ftp are disabled, since they are not secure.\n\nFTP over SCP (using ssh) is enabled for local users.\n\nThis requires setting up login via ssh (previous section).\n\nUnless you add user name to `/etc/vsftpd.chroot_list` (not recommended)\n\n#### references about ssh, ftp\n\nhttps://help.ubuntu.com/community/SSH/OpenSSH/Configuring\nhttp://xmodulo.com/secure-ftp-service-vsftpd-linux.html\nhttps://www.krizna.com/ubuntu/setup-ftp-server-on-ubuntu-14-04-vsftpd/\nhttps://www.linode.com/community/questions/485/ssh-service-is-failing-to-start\n\n### Visual Code - remote development\n\nWith `ssh` set up, it is possible to use Visual Code remotely:\n\nhttps://code.visualstudio.com/docs/remote/remote-overview\n\n## known issues\n\n### Visual Code is not installed\n\nThe Visual Code install script involves some prompts which fail to show when installed via `curl`.\n\nTo fix, run the script:\n\n```\ncd ubuntu-scripts\n./install-visual-code.sh\n```\n\n### docker-compose version is hard-coded in script\n\nThe scripts will install the latest `docker` but not the latest `docker-compose`.\n\nYou may need to edit the version of `docker-compose` in this script, and then run it again:\n\n`install-docker-compose.sh`\n\n## authors\n\nOriginal work by Sean Ryan - mr.sean.ryan(at gmail.com)\n\n## licence = MIT\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrseanryan%2Fubuntu-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrseanryan%2Fubuntu-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrseanryan%2Fubuntu-scripts/lists"}