Skip to content

Instantly share code, notes, and snippets.

@ayende
Created June 12, 2019 20:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ayende/990f0b7c870d9168cef8a6618cc97da3 to your computer and use it in GitHub Desktop.
Save ayende/990f0b7c870d9168cef8a6618cc97da3 to your computer and use it in GitHub Desktop.
# setup the /data drive (512 GB)
$ sudo mkfs -t ext4 /dev/nvme1n1
$ sudo mkdir /data
$ sudo mount /dev/nvme1n1 /data
$ sudo chown -R $USER /data
# setup RavenDB (on home drive)
$ wget https://daily-builds.s3.amazonaws.com/RavenDB-4.2.0-linux-x64.tar.bz2
$ tar xjf RavenDB-4.2.0-linux-x64.tar.bz2
# setup RavenDB (in UNSECURE mode, don't do this for real!)
# I had a firewall covering me while this was running
$ cat > ./RavenDB/Server/settings.json <<EOF
{
"ServerUrl": "http://0.0.0.0:8080",
"Setup.Mode": "None",
"Security.UnsecuredAccessAllowed": "PublicNetwork",
"DataDir": "RavenData",
"License.Eula.Accepted": true
}
EOF
# now let's run RavenDB
$ ./RavenDB/Server/Raven.Server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment