Skip to content

Commit bdda5af

Browse files
authored
Merge pull request #83 from giuliazanchi/multipass-linux-tutorial-fix
Punctuation fixes as suggested in PR 61
2 parents ce4bfa5 + 8e7a5c9 commit bdda5af

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

multipass/Linux.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,18 @@ The easiest way to use Multipass is with the primary instance.
2828
Linux,
2929
The primary instance is a Multipass virtual machine that is configured to be useful for generic purposes out of the box.
3030
31-
The primary instance automatically mounts the $HOME directory (files in this directory are shared between the host and the instance), and it comes with Multipasss default specs: 1GB of RAM, 5GB of disk, and 1 CPU.
31+
The primary instance automatically mounts the $HOME directory (files in this directory are shared between the host and the instance), and it comes with Multipass's default specs: 1GB of RAM, 5GB of disk, and 1 CPU.
3232
-->
3333

3434
From the application launcher, let's start Multipass. In Ubuntu, press the super key and type Multipass, or find Multipass in the Applications panel in the lower left of the desktop.
3535

3636
![|800x450](https://assets.ubuntu.com/v1/949aa05e-mp-linux-1.png)
3737

38-
Once weve launched the application, we should see the Multipass tray icon in the upper right section of the screen:
38+
Once we've launched the application, we should see the Multipass tray icon in the upper right section of the screen:
3939

4040
![|688x52](https://assets.ubuntu.com/v1/5ec546da-mp-linux-2.png)
4141

42-
Let's click on the icon, then on Open Shell.
42+
Let's click on the icon, then on "Open Shell".
4343

4444
![|286x274](https://assets.ubuntu.com/v1/3ecc5e7d-mp-linux-2a.png)
4545

@@ -75,7 +75,7 @@ To check for new updates run: sudo apt update
7575
ubuntu@primary:~$
7676
```
7777

78-
Let's test it out! As we just learned, the previous step automatically mounted our $HOME directory in the instance. Let's use this to share data with our instance. More concretely, lets create a new folder in our $HOME directory called Multipass_Files:
78+
Let's test it out! As we just learned, the previous step automatically mounted our $HOME directory in the instance. Let's use this to share data with our instance. More concretely, let's create a new folder in our $HOME directory called Multipass_Files:
7979

8080
![|720x405](https://assets.ubuntu.com/v1/fbfc8304-mp-linux-3.png)
8181

@@ -93,7 +93,7 @@ ubuntu@primary:~/Home/Multipass_Files$
9393

9494
Congratulations, you've got your first instance!
9595

96-
This instance is great for when we just need a quick Ubuntu VM, but lets say we want a more customised instance. Multipass has us covered there too!
96+
This instance is great for when we just need a quick Ubuntu VM, but let's say we want a more customised instance. Multipass has us covered there too!
9797

9898
[details = "Optional Exercises"]
9999
Exercise 1:
@@ -105,7 +105,7 @@ In Multipass, an instance with the name `primary` is privileged. For example, it
105105

106106
<a href="#heading--create-a-customised-instance"><h2 id="heading--create-a-customised-instance">Create a customised instance</h3></a>
107107

108-
Multipass has a great feature to help us get started creating customised instances. Lets open a terminal and run the command `multipass find`. This shows us a list of all of the images we can launch through Multipass currently.
108+
Multipass has a great feature to help us get started creating customised instances. Let's open a terminal and run the command `multipass find`. This shows us a list of all of the images we can launch through Multipass currently.
109109

110110
```plain
111111
$ multipass find
@@ -135,9 +135,9 @@ jellyfin latest Jellyfin is a Fre
135135
minikube latest minikube is local Kubernetes
136136
```
137137

138-
Lets launch an instance running Ubuntu 22.10 (Kinetic Kudu) by typing the command `multipass launch kinetic`
138+
Let's launch an instance running Ubuntu 22.10 ("Kinetic Kudu") by typing the command `multipass launch kinetic`
139139

140-
Now we have an instance running which has been named randomly by Multipass, in my case it is called coherent-trumpetfish.
140+
Now we have an instance running which has been named randomly by Multipass, in my case it is called "coherent-trumpetfish".
141141

142142
```plain
143143
$ multipass launch kinetic
@@ -148,7 +148,7 @@ We can check some basic info about our new instance by running the following:
148148

149149
`multipass exec coherent-trumpetfish -- lsb_release -a`
150150

151-
This tells multipass to execute the command `lsb_release -a` on the coherent-trumpetfish instance.
151+
This tells multipass to execute the command `lsb_release -a` on the "coherent-trumpetfish" instance.
152152

153153
```plain
154154
$ multipass exec coherent-trumpetfish -- lsb_release -a
@@ -159,17 +159,17 @@ Release: 22.10
159159
Codename: kinetic
160160
```
161161

162-
Perhaps after using this instance for a while, we decide what we really need is the latest LTS version of Ubuntu, with a more informative name and a little more memory and disk. We can delete the coherent-trumpetfish instance by running
162+
Perhaps after using this instance for a while, we decide what we really need is the latest LTS version of Ubuntu, with a more informative name and a little more memory and disk. We can delete the "coherent-trumpetfish" instance by running
163163

164164
`multipass delete coherent-trumpetfish`
165165

166-
Lets now launch the type of instance were looking for by running this:
166+
Let's now launch the type of instance we're looking for by running this:
167167

168168
`multipass launch lts --name ltsInstance --memory 2G --disk 10G --cpus 2`
169169

170170
<a href="#heading--manage-instances"><h2 id="heading--manage-instances">Manage instances</h3></a>
171171

172-
Now lets confirm this new instance has the specs were looking for by running `multipass info ltsInstance`
172+
Now let's confirm this new instance has the specs we're looking for by running `multipass info ltsInstance`
173173

174174
```plain
175175
$ multipass info ltsInstance
@@ -185,7 +185,7 @@ Memory usage: 170.4MiB out of 1.9GiB
185185
Mounts: --
186186
```
187187

188-
Weve created and deleted quite a few instances now. Lets run multipass list to see what instances we currently have.
188+
We've created and deleted quite a few instances now. Let's run multipass list to see what instances we currently have.
189189

190190
```plain
191191
$ multipass list
@@ -195,7 +195,7 @@ coherent-trumpetfish Deleted -- Not Available
195195
ltsInstance Running 10.110.66.139 Ubuntu 22.04 LTS
196196
```
197197

198-
We have two instances currently running, the primary instance and our LTS machine with customised specs. Our coherent-trumpetfish instance is still listed, but its state is Deleted. We can recover this instance by running `multipass recover coherent-trumpetfish`, but for right now lets delete the instance permanently by running `multipass purge`. Running `multipass list` again confirms the instance is now permanently deleted:
198+
We have two instances currently running, the primary instance and our LTS machine with customised specs. Our "coherent-trumpetfish" instance is still listed, but its state is "Deleted". We can recover this instance by running `multipass recover coherent-trumpetfish`, but for right now let's delete the instance permanently by running `multipass purge`. Running `multipass list` again confirms the instance is now permanently deleted:
199199

200200
```plain
201201
$ multipass list
@@ -204,13 +204,13 @@ primary Running 10.110.66.242 Ubuntu 22.04 LTS
204204
ltsInstance Running 10.110.66.139 Ubuntu 22.04 LTS
205205
```
206206

207-
Weve now seen a few ways to create, customise, and delete an instance. Now lets put those instances to work!
207+
We've now seen a few ways to create, customise, and delete an instance. Now let's put those instances to work!
208208

209209
<a href="#heading--put-your-instances-to-use"><h2 id="heading--put-your-instances-to-use">Put your instances to use</h2></a>
210210

211211
<a href="#heading--run-a-simple-web-server"><h3 id="heading--run-a-simple-web-server">Run a simple web server</h3></a>
212212

213-
Lets go back to that customised LTS instance we created. Take note of its IP address revealed by `multipass list` in the previous step, then run `multipass shell ltsInstance` to open a shell in the instance.
213+
Let's go back to that customised LTS instance we created. Take note of its IP address revealed by `multipass list` in the previous step, then run `multipass shell ltsInstance` to open a shell in the instance.
214214

215215
From the shell, we can now run:
216216

@@ -220,19 +220,19 @@ sudo apt update
220220
sudo apt install apache2
221221
```
222222

223-
Now, lets open a browser and type in the IP address of the instance into the address bar. We should now see the default Apache homepage.
223+
Now, let's open a browser and type in the IP address of the instance into the address bar. We should now see the default Apache homepage.
224224

225225
![|720x545](https://assets.ubuntu.com/v1/e106f7f9-mp-linux-4.png)
226226

227-
Just like that, weve got a web server running in a Multipass instance!
227+
Just like that, we've got a web server running in a Multipass instance!
228228

229229
We can use this web server locally for any kind of local development or testing we like. If however, we want to access this web server from the internet (e.g. from a different computer), we need an instance that is exposed to the external network.
230230

231231
<a href="#heading--launch-from-a-blueprint-to-run-docker-containers"><h3 id="heading--launch-from-a-blueprint-to-run-docker-containers">Launch from a Blueprint to run Docker containers</h3></a>
232232

233233
Some environments require a lot of configuration and setup. Multipass Blueprints are instances with a deep level of customization. The Docker Blueprint, for example, is a pre-configured Docker environment with a Portainer container already running. We can launch an instance using the Docker Blueprint by running `multipass launch docker --name docker-dev`
234234

235-
Once thats finished, lets run `multipass info docker-dev` to note down the IP of the new instance.
235+
Once that's finished, let's run `multipass info docker-dev` to note down the IP of the new instance.
236236

237237
```plain
238238
$ multipass launch docker --name docker-dev
@@ -251,15 +251,15 @@ Memory usage: 259.7MiB out of 3.8GiB
251251
Mounts: --
252252
```
253253

254-
Lets take the IP address starting with “10” and paste it into our browser, then add a colon and the portainer default port, 9000, like this: 10.115.5.235:9000. This will take us to the Portainer login page, where we can set a username and password.
254+
Let's take the IP address starting with "10" and paste it into our browser, then add a colon and the portainer default port, 9000, like this: 10.115.5.235:9000. This will take us to the Portainer login page, where we can set a username and password.
255255

256256
![|720x543](https://assets.ubuntu.com/v1/75a164a1-mp-linux-5.png)
257257

258-
From there, lets select a local docker environment.
258+
From there, let's select a local docker environment.
259259

260260
![|720x601](https://assets.ubuntu.com/v1/ee3ff308-mp-linux-6.png)
261261

262-
From there, we can click into the newly created local docker endpoint, navigate to the app templates page, and select NGINX
262+
From there, we can click into the newly created "local" docker endpoint, navigate to the app templates page, and select NGINX
263263

264264
![|720x460](https://assets.ubuntu.com/v1/86be3eae-mp-linux-7.png)
265265

@@ -269,9 +269,9 @@ From the Portainer dashboard, we can see the ports that nginx has available. We
269269

270270
<a href="#heading--next-steps"><h2 id="heading--next-steps">Next steps</h2></a>
271271

272-
Congratulations! You now have the skills you need to use Multipass proficiently. Theres more to learn about Multipass and its capabilities - check out our [how-to guides](https://multipass.run/docs/how-to-guides) for ideas and for help with your project. Our [reference page](https://multipass.run/docs/reference) contains definitions of key concepts, a complete CLI command reference, settings options and more.
272+
Congratulations! You now have the skills you need to use Multipass proficiently. There's more to learn about Multipass and its capabilities - check out our [how-to guides](https://multipass.run/docs/how-to-guides) for ideas and for help with your project. Our [reference page](https://multipass.run/docs/reference) contains definitions of key concepts, a complete CLI command reference, settings options and more.
273273

274-
Let us know what youre able to get done with Multipass!
274+
Let us know what you're able to get done with Multipass!
275275

276276
-------------------------
277277

0 commit comments

Comments
 (0)