Skip to content

Commit 7016e5d

Browse files
authored
Update apt.md
remove $ character which breaks copy-paste
1 parent 00fda35 commit 7016e5d

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

docs/install/apt.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,27 +31,27 @@ Percona provides the [`percona-release`](https://docs.percona.com/percona-softwa
3131
1. Fetch `percona-release` packages from Percona web:
3232

3333
```{.bash data-prompt="$"}
34-
$ wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb
34+
wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb
3535
```
3636

3737
2. Install the downloaded package with **dpkg**:
3838

3939
```{.bash data-prompt="$"}
40-
$ sudo dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb
40+
sudo dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb
4141
```
4242

4343
After you install this package, you have the access to Percona repositories. You can check the repository setup in the `/etc/apt/sources.list.d/percona-release.list` file.
4444

4545
3. Enable the repository:
4646

4747
```{.bash data-prompt="$"}
48-
$ sudo percona-release enable psmdb-80 release
48+
sudo percona-release enable psmdb-80 release
4949
```
5050

5151
4. Remember to update the local cache:
5252

5353
```{.bash data-prompt="$"}
54-
$ sudo apt update
54+
sudo apt update
5555
```
5656

5757
### Install Percona Server for MongoDB
@@ -61,7 +61,7 @@ Percona provides the [`percona-release`](https://docs.percona.com/percona-softwa
6161
Run the following command to install the latest version of Percona Server for MongoDB:
6262

6363
```{.bash data-prompt="$"}
64-
$ sudo apt install percona-server-mongodb
64+
sudo apt install percona-server-mongodb
6565
```
6666

6767
=== ":octicons-number-16: Install a specific version"
@@ -73,7 +73,7 @@ Percona provides the [`percona-release`](https://docs.percona.com/percona-softwa
7373
1. List available versions:
7474

7575
```{.bash data-prompt="$"}
76-
$ sudo apt-cache madison percona-server-mongodb
76+
sudo apt-cache madison percona-server-mongodb
7777
```
7878

7979
Sample output:
@@ -85,7 +85,7 @@ Percona provides the [`percona-release`](https://docs.percona.com/percona-softwa
8585
2. Install a specific version packages. You must specify each package with the version number. For example, to install Percona Server for MongoDB {{release}}, run the following command:
8686

8787
```{.bash data-prompt="$"}
88-
$ sudo apt install percona-server-mongodb={{release}}.bullseye percona-server-mongodb-mongos={{release}}.bullseye percona-server-mongodb-shell={{release}}.bullseye percona-server-mongodb-server={{release}}.bullseye percona-server-mongodb-tools={{release}}.bullseye
88+
sudo apt install percona-server-mongodb={{release}}.bullseye percona-server-mongodb-mongos={{release}}.bullseye percona-server-mongodb-shell={{release}}.bullseye percona-server-mongodb-server={{release}}.bullseye percona-server-mongodb-tools={{release}}.bullseye
8989
```
9090

9191
By default, Percona Server for MongoDB stores data files in `/var/lib/mongodb/`
@@ -104,31 +104,31 @@ Percona Server for MongoDB is started automatically after installation unless it
104104
You can also manually start it using the following command:
105105

106106
```{.bash data-prompt="$"}
107-
$ sudo systemctl start mongod
107+
sudo systemctl start mongod
108108
```
109109

110110
**Confirm that the service is running**
111111

112112
Check the service status using the following command:
113113

114114
```{.bash data-prompt="$"}
115-
$ sudo systemctl status mongod
115+
sudo systemctl status mongod
116116
```
117117

118118
**Stop the service**
119119

120120
Stop the service using the following command:
121121

122122
```{.bash data-prompt="$"}
123-
$ sudo systemctl stop mongod
123+
sudo systemctl stop mongod
124124
```
125125

126126
**Restart the service**
127127

128128
Restart the service using the following command:
129129

130130
```{.bash data-prompt="$"}
131-
$ sudo systemctl restart mongod
131+
sudo systemctl restart mongod
132132
```
133133

134134
Congratulations! Your Percona Server for MongoDB is up and running.

0 commit comments

Comments
 (0)