Skip to content

Commit f7eaf62

Browse files
authored
Offer the RC1 container in the blog and run the installer with sudo (#204)
* Offer the RC1 container in the blog and run the installer with sudo The installer's interactive sudo -v asks for a password on cloud users that only have NOPASSWD sudo, so every documented run now starts it with sudo. Signed-off-by: Guanzhou Song <26541184+GuanzhouSong@users.noreply.github.com> * Mention the RC1 container next to the installer flag Signed-off-by: Guanzhou Song <26541184+GuanzhouSong@users.noreply.github.com> * Shorten the blog's RC1 install section Signed-off-by: Guanzhou Song <26541184+GuanzhouSong@users.noreply.github.com> --------- Signed-off-by: Guanzhou Song <26541184+GuanzhouSong@users.noreply.github.com> Co-authored-by: Guanzhou Song <26541184+GuanzhouSong@users.noreply.github.com>
1 parent 3ffeaa9 commit f7eaf62

3 files changed

Lines changed: 16 additions & 9 deletions

File tree

‎PACKAGE-INSTALL.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ On a clean Ubuntu 24.04 or EL9 host, download and run the installer:
1212

1313
```sh
1414
curl -fsSLo documentdb-install.sh https://documentdb.io/install.sh &&
15-
sh documentdb-install.sh
15+
sudo sh documentdb-install.sh
1616
```
1717

1818
This installs v0.117-0 from this repository on PostgreSQL 18; add `--pg-major 17`
19-
for 17. For disposable RC1 testing, add `--version v1.0-RC1`. The installer then
19+
for 17. To try RC1, add `--version v1.0-RC1`, or use the `pgNN-1.0-rc1` container image. The installer then
2020
downloads this host's packages from the
2121
[v1.0-RC1 release](https://github.com/documentdb/documentdb/releases/tag/v1.0-RC1),
2222
verifies them against its `SHA256SUMS`, and doesn't use this repository. See the

‎app/services/articleService.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,13 +201,13 @@ On a fresh Ubuntu 24.04 or EL9 host, download and run the installer:
201201
202202
\`\`\`sh
203203
curl -fsSLo documentdb-install.sh https://documentdb.io/install.sh &&
204-
sh documentdb-install.sh
204+
sudo sh documentdb-install.sh
205205
\`\`\`
206206
207207
This installs v0.117-0 from the package repository on PostgreSQL 18; add \`--pg-major 17\` for 17.
208-
For disposable RC1 testing, run \`sh documentdb-install.sh --version v1.0-RC1\` instead.
208+
To try RC1, run \`sudo sh documentdb-install.sh --version v1.0-RC1\` instead, or use the \`pgNN-1.0-rc1\` container image.
209209
It downloads this host's packages from the [v1.0-RC1 release](https://github.com/documentdb/documentdb/releases/tag/v1.0-RC1), verifies them against its \`SHA256SUMS\` and doesn't use the package repository. See the [RC guide](/docs/getting-started/release-candidate).
210-
RC1 has no maintenance or supported upgrades, so use a disposable host.
210+
RC1 gets no fixes and has no upgrade path, so use a clean host.
211211
212212
## Install
213213

‎blogs/_posts/2026-10-01-versioning.md‎

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,23 @@ These experimental versions are not intended for long-term use, nor will they be
2727

2828
### Release candidate installation
2929

30-
For installation instructions, see our [README.md](https://github.com/documentdb/documentdb/blob/v1.0-RC1/packaging/README.md#clean-host-installer)
31-
or use the command below.
30+
With Docker:
31+
32+
```bash
33+
docker run -dt --name docdb-rc1 -p 127.0.0.1:10260:10260 \
34+
ghcr.io/documentdb/documentdb/documentdb-local:pg17-1.0-rc1 \
35+
--username '<YOUR_USERNAME>' --password '<YOUR_PASSWORD>'
36+
```
37+
38+
Or on Ubuntu 24.04 or RHEL 9:
3239

3340
```bash
3441
curl -fsSLo documentdb-install.sh \
3542
https://documentdb.io/install.sh &&
36-
sh documentdb-install.sh --version v1.0-RC1
43+
sudo sh documentdb-install.sh --version v1.0-RC1
3744
```
3845

39-
For container images, known issues and what RC1 does and doesn't support, see [Try the 1.0 release candidate](https://documentdb.io/docs/getting-started/release-candidate/).
46+
See [Try the 1.0 release candidate](https://documentdb.io/docs/getting-started/release-candidate/) for details.
4047

4148
If you find any problems with the RC, please [create an issue on GitHub](https://github.com/documentdb/documentdb/issues).
4249

0 commit comments

Comments
 (0)