Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
James Coyle
cockroach-deploy
Commits
2c26cd76
Commit
2c26cd76
authored
Apr 12, 2018
by
tomogoma
Browse files
Improve readme; add notes for v2.0 upgrade
parent
273bc9cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
2c26cd76
...
...
@@ -5,14 +5,49 @@ An auto-installer of cockroach DB Beta as a service in linux systems
## Install ##
Currently only systemd is supported
Currently only systemd is supported
.
First download the cockroachdb tarball from https://binaries.cockroachdb.com or search for it in the website: https://www.cockroachlabs.com
***Note**
*
If upgrading from
`v < 2.0`
make sure you
[
log in to the SQL
](
https://www.cockroachlabs.com/docs/stable/secure-a-cluster.html#step-4-test-the-cluster
)
console
```
bash
cockroach sql
--certs-dir
=
/etc/cockroachdb/certs
```
...and run the below command as documented
[
here
](
https://www.cockroachlabs.com/docs/v1.1/upgrade-cockroach-version.html#finalize-the-upgrade
)
:
```
sql
SET
CLUSTER
SETTING
version
=
'1.1'
;
```
$ git clone https://github.com/tomogoma/cockroach-installer
$ cd roach-installer
$ ./systemdInstaller.sh /path/to/downloaded/cockroach-tarbal.tz
***Install**
*
First download the cockroachdb tarball from https://binaries.cockroachdb.com or search for it
in the website: https://www.cockroachlabs.com
Then run the following commands.
```
bash
git clone https://github.com/tomogoma/cockroach-installer
cd
cockroach-installer
./systemdInstaller.sh /path/to/downloaded/cockroach-tarbal.tz
[
username]
```
`username`
is optional.
Providing it allows
`@username`
to quickly access the SQL console using the
`cconnect`
utility command:
```
bash
cconnect
```
which is equivalent to:
```
bash
cockroach sql
--certs-dir
=
/etc/cockroachdb/certs
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment