Skip to content

Commit 4c3cba5

Browse files
PS-9110 Update instructions in Install section (8.2) (#289)
modified: docs/apt-download-deb.md modified: docs/binary-tarball-install.md modified: docs/docker.md modified: docs/source-tarball.md modified: docs/upgrade-standalone-packages.md modified: docs/yum-download-rpm.md
1 parent 8032e41 commit 4c3cba5

6 files changed

+31
-25
lines changed

docs/apt-download-deb.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
Download the packages from [Percona Product Downloads](https://www.percona.com/downloads). If needed, [Instructions for the Percona Product Download](download-instructions.md) are available.
44

5-
The following example downloads Percona Server for MySQL {{release}} release packages for Debian 10:
5+
The following example downloads Percona Server for MySQL {{release}} release packages for Ubuntu 22.04:
66

77
```{.bash data-prompt="$"}
8-
$ wget https://downloads.percona.com/downloads/Percona-Server-{{vers}}/Percona-Server-{{release}}/binary/debian/buster/x86_64/Percona-Server-{{release}}-r71449379-buster-x86_64-bundle.tar
8+
$ wget https://downloads.percona.com/downloads/Percona-Server-innovative-release/Percona-Server-{{release}}/binary/debian/jammy/x86_64/Percona-Server-{{release}}-r582ebeef-jammy-x86_64-bundle.tar
99
```
1010

1111
Unpack the download to get the packages:

docs/binary-tarball-install.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ See the list of the [binary tarball available based on the Percona Server for My
66

77
You can download the binary tarballs from the `Linux - Generic` [section] on the download page.
88

9-
Fetch and extract the correct binary tarball. For example for *Debian 10*:
9+
Fetch and extract the correct binary tarball. For example for Ubuntu 22.04:
1010

1111
```{.bash data-prompt="$"}
12-
$ wget https://downloads.percona.com/downloads/Percona-Server-{{vers}}/Percona-Server-{{release}}/binary/tarball/Percona-Server-{{release}}-Linux.x86_64.glibc2.12.tar.gz
12+
$ wget https://downloads.percona.com/downloads/Percona-Server-innovative-release/Percona-Server-{{release}}/binary/tarball/Percona-Server-{{release}}-Linux.x86_64.glibc2.35.tar.gz
1313
```
1414

15-
[section]: https://www.percona.com/downloads/Percona-Server-{{vers}}/LATEST/binary/tarball/
15+
[section]: https://www.percona.com/downloads/Percona-Server-{{vers}}/LATEST/binary/tarball/
16+

docs/docker.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ available locally.
3131

3232
To view the container's logs, use the following command:
3333

34-
```shell
35-
docker logs ps --follow
34+
```{.bash data-prompt="$"}
35+
$ docker logs ps --follow
3636
```
3737
??? example "Expected output"
3838

@@ -53,8 +53,8 @@ You can access the server when you see the `ready for connections` information i
5353

5454
You can pass options with the `docker run` command. For example, the following command uses UTF-8 as the default setting for character set and collation for all databases:
5555

56-
```shell
57-
[root@docker-host] $ docker run -d \
56+
```{.bash data-prompt="$"}
57+
$ docker run -d \
5858
--name ps \
5959
-e MYSQL_ROOT_PASSWORD=root \
6060
percona/percona-server:{{vers}} \
@@ -68,8 +68,8 @@ The `docker exec` command lets you have a shell inside the container. This comma
6868

6969
An example of accessing the detached container:
7070

71-
```shell
72-
[root@docker-host] $ docker exec -it ps /bin/bash
71+
```{.bash data-prompt="$"}
72+
$ docker exec -it ps /bin/bash
7373
```
7474

7575
If you need to troubleshoot, the error log is found in `/var/log/` or `/var/log/mysql/`. The file name may be error.log or mysqld.log.
@@ -147,8 +147,8 @@ To link a container running your application
147147
with the Percona Server container,
148148
run it with the following command:
149149

150-
```shell
151-
[root@docker-host] $ docker run -d \
150+
```{.bash data-prompt="$"}
151+
$ docker run -d \
152152
--name app \
153153
--link ps \
154154
app/image:latest
@@ -176,8 +176,8 @@ For example, if you create a data directory on a suitable volume
176176
on your host system named `/local/datadir`,
177177
you run the container with the following command:
178178

179-
```shell
180-
[root@docker-host] $ docker run -d \
179+
```{.bash data-prompt="$"}
180+
$ docker run -d \
181181
--name ps \
182182
-e MYSQL_ROOT_PASSWORD=root \
183183
-v /local/datadir:/var/lib/mysql \
@@ -195,8 +195,8 @@ Do not add MYSQL_ROOT_PASSWORD to the `docker run` command if the data directory
195195

196196
If you have SELinux enabled, assign the relevant policy type to the new data directory so that the container will be allowed to access it:
197197

198-
```
199-
[root@docker-host] $ chcon -Rt svirt_sandbox_file_t /local/datadir
198+
```{.bash data-prompt="$"}
199+
$ chcon -Rt svirt_sandbox_file_t /local/datadir
200200
```
201201

202202
## Port forwarding
@@ -210,8 +210,8 @@ This ability simplifies consolidating instances to a single host.
210210

211211
To map the standard MySQL port 3306 to port 6603 on the host:
212212

213-
```shell
214-
[root@docker-host] $ docker run -d \
213+
```{.bash data-prompt="$"}
214+
$ docker run -d \
215215
--name ps \
216216
-e MYSQL_ROOT_PASSWORD=root \
217217
-p 6603:3306 \

docs/source-tarball.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,13 @@
33
Fetch and extract the source tarball. For example:
44

55
```{.bash data-prompt="$"}
6-
$ wget https://downloads.percona.com/downloads/Percona-Server-{{vers}}/Percona-Server-{{release}}/binary/tarball/Percona-Server-{{release}}-Linux.x86_64.glibc2.12.tar.gz
7-
$ tar xfz Percona-Server-{{release}}-Linux.x86_64.glibc2.12.tar.gz
6+
$ wget https://downloads.percona.com/downloads/Percona-Server-innovative-release/Percona-Server-{{release}}/binary/tarball/Percona-Server-{{release}}-Linux.x86_64.glibc2.35.tar.gz
7+
```
8+
9+
Unpack the download to get the packages:
10+
11+
```{.bash data-prompt="$"}
12+
$ tar xfz Percona-Server-{{release}}-Linux.x86_64.glibc2.35.tar.gz
813
```
914

1015
To complete the installation, follow the instructions in [Compile Percona Server for MySQL from Source](compile-percona-server.md).

docs/upgrade-standalone-packages.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Make a full backup (or dump if possible) of your database. Move the database con
2222
The following example downloads Percona Server for MySQL {{release}} packages for Debian 11.0:
2323

2424
```{.bash data-prompt="$"}
25-
$ wget https://downloads.percona.com/downloads/Percona-Server-LATEST/Percona-Server-{{release}}/binary/debian/bullseye/x86_64/Percona-Server-8.1.0-1-bullseye-x86_64-bundle.tar
25+
$ wget https://downloads.percona.com/downloads/Percona-Server-innovative-release/Percona-Server-{{release}}/binary/debian/bullseye/x86_64/Percona-Server-{{release}}-r582ebeef-bullseye-x86_64-bundle.tar
2626
```
2727

2828
4. Unpack the bundle to get the packages: `tar xvf Percona-Server-{{release}}-x86_64-bundle.tar`.
@@ -108,13 +108,13 @@ Make a full backup (or dump if possible) of your database. Move the database con
108108
3. Download the packages of the desired series for your architecture from the [download page](https://www.percona.com/downloads). The easiest way is to download the bundle which contains all the packages. The following example downloads Percona Server for MySQL {{release}} packages for CentOS 9:
109109

110110
```{.bash data-prompt="$"}
111-
$ wget https://downloads.percona.com/downloads/Percona-Server-LATEST/Percona-Server-{{release}}/binary/redhat/9/x86_64/Percona-Server-{{release}}-el9-x86_64-bundle.tar
111+
$ wget https://downloads.percona.com/downloads/Percona-Server-innovative-release/Percona-Server-{{release}}/binary/redhat/9/x86_64/Percona-Server-{{release}}-r582ebeef-el9-x86_64-bundle.tar
112112
```
113113

114114
4. Unpack the bundle to get the packages
115115

116116
```{.bash data-prompt="$"}
117-
$ tar xvf Percona-Server-{{release}}-el9-x86_64-bundle.tar
117+
$ tar xvf Percona-Server-{{release}}-r582ebeef-el9-x86_64-bundle.tar
118118
```
119119

120120
After you unpack the bundle, you should see the following packages: `ls \*.rpm`

docs/yum-download-rpm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The following example downloads *Percona Server for MySQL* {{release}} release p
88
1. Use `wget` to download the tar file.
99

1010
```{.bash data-prompt="$"}
11-
$ wget https://downloads.percona.com/downloads/Percona-Server-LATEST/Percona-Server-{{release}}/binary/redhat/8/x86_64/Percona-Server-{{release}}-rc59f87d2854-el8-x86_64-bundle.tar
11+
$ wget https://downloads.percona.com/downloads/Percona-Server-innovative-release/Percona-Server-{{release}}/binary/redhat/8/x86_64/Percona-Server-{{release}}-r582ebeef-el8-x86_64-bundle.tar
1212
```
1313

1414
2. Unpack the bundle to get the packages: `tar xvf Percona-Server-{{release}}-rc59f87d2854-el8-x86_64-bundle.tar`

0 commit comments

Comments
 (0)