{"id":26770986,"url":"https://github.com/dnut/solana-server-setup","last_synced_at":"2025-03-28T23:18:47.387Z","repository":{"id":248770691,"uuid":"791016399","full_name":"dnut/solana-server-setup","owner":"dnut","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-19T03:17:36.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-19T03:26:38.547Z","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/dnut.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":"2024-04-24T00:09:47.000Z","updated_at":"2025-03-19T03:17:39.000Z","dependencies_parsed_at":"2024-07-17T02:52:46.601Z","dependency_job_id":null,"html_url":"https://github.com/dnut/solana-server-setup","commit_stats":null,"previous_names":["dnut/solana-server-setup"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnut%2Fsolana-server-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnut%2Fsolana-server-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnut%2Fsolana-server-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnut%2Fsolana-server-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dnut","download_url":"https://codeload.github.com/dnut/solana-server-setup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246112657,"owners_count":20725301,"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":"2025-03-28T23:18:46.867Z","updated_at":"2025-03-28T23:18:47.378Z","avatar_url":"https://github.com/dnut.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Go from zero to running a solana validator with a single turnkey script.\n\nThis automates the entire process of setting up a server from scratch to run agave or sig. It optionally launches an ec2 instance, then it configures your server to run the validator.\n\n## Launch and setup EC2 instance from scratch\n\nThis uses the aws cli to launch an ec2 instance, then automatically SSH in and set everything up. You'll need to have the aws cli locally installed and authenticated.\n\n```bash\ncp server.template.conf server.conf    # copy config template\nvim server.conf                        # populate missing configuration\n./create-and-setup-full-test-node.sh   # launch and setup instance\n```\n\nNormally the scripts expect to find `server.conf` in the working directory, but you can specify any arbitrary path with the `SERVER_CONF` variable:\n\n```bash\nSERVER_CONF=/path/to/mynode1.server.conf ./create-and-setup-full-test-node.sh\n```\n\n## Set up an existing server\n\nAlternatively, if you already have a running server, you can run this on the server to set up the server. The OS needs to be ubuntu, with two drives at /dev/nvme1n1 and /dev/nvme1n2 available for ledger and data.\n\n```bash\ncp server.template.conf server.conf    # copy config template (no changes needed)\n./setup-full-test-node.sh\n```\n\n\u003e *Note: If you already created your server with `create-and-setup-full-test-node.sh`, you do not need to execute `setup-full-test-node.sh`. It was already run by that script.*\n\n## Run the validator\n\n`agave-validator` is installed on the machine and you can call it with the CLI options of your choosing. If you just want to start up a basic node with sane defaults, run the script that was installed for this purpose:\n\n```\n/home/ubuntu/run-basic-validator.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnut%2Fsolana-server-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdnut%2Fsolana-server-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnut%2Fsolana-server-setup/lists"}