Skip to content

Commit 1bd2c37

Browse files
committed
# suggested changes migrate2rocky.md
* remove some of the more playful language as this is not necessarily a beginners document * retain the author's voice as much as possible * remove conjunctions in place of words * ensure all headings use sentence style capitalization * replace passive voice phrases
1 parent 4b53626 commit 1bd2c37

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

docs/guides/migrate2rocky.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -5,56 +5,56 @@ contributors: tianci li, Steven Spencer
55
update: 11-23-2021
66
---
77

8-
# How to Migrate to Rocky Linux from CentOS Stream, CentOS, Alma Linux, RHEL, or Oracle Linux
8+
# How to migrate to Rocky Linux from CentOS Stream, CentOS, Alma Linux, RHEL, or Oracle Linux
99

10-
## Prerequisites & Assumptions
10+
## Prerequisites and assumptions
1111

1212
* CentOS Stream, CentOS, Alma Linux, RHEL, or Oracle Linux running well on a hardware server or VPS. The current supported version for each of these is 8.8 or 9.2.
13-
* A working knowledge of the command line.
14-
* A working knowledge of SSH for remote machines.
15-
* A mildly risk-taking attitude.
16-
* All commands should be run as root. Either log in as root, or get ready to type "sudo" a lot.
13+
* A working knowledge of the command line
14+
* A working knowledge of SSH for remote machines
15+
* A mildly risk-taking attitude
16+
* Run commands as root. Either log in as root, or have the ability to elevate privileges with `sudo`.
1717

1818
## Introduction
1919

20-
In this guide, you'll learn how to convert all of the OSes listed above to fully functional Rocky Linux installs. This is probably one of the most roundabout ways of installing Rocky Linux, but it'll come in handy for people in a variety of situations.
20+
In this guide, you will learn how to convert all the above OSes to fully functional Rocky Linux installs. This is probably one of the most roundabout ways of installing Rocky Linux, but it will come in handy for people in a variety of situations.
2121

22-
For example, some server providers won't support Rocky Linux by default for a while. Or you may have a production server that you want to convert to Rocky Linux without reinstalling everything.
22+
For example, some server providers will not support Rocky Linux by default for a while. Or you may have a production server that you want to convert to Rocky Linux without reinstalling everything.
2323

24-
Well, we've got the tool for you: [migrate2rocky](https://github.com/rocky-linux/rocky-tools/tree/main/migrate2rocky).
24+
Well, we have the tool for you: [migrate2rocky](https://github.com/rocky-linux/rocky-tools/tree/main/migrate2rocky).
2525

26-
It's a script that, when executed, will change out all of your repositories to those of Rocky Linux. Packages will be installed and upgraded/downgraded as necessary, and all of your OS' branding will change too.
26+
It is a script that, when run, will change out all of your repositories to those of Rocky Linux. Packages will install and upgrade or down-grade as necessary, and your OS's branding will also change.
2727

28-
Don't worry, if you're new to systems administration, I'll be keeping this as user-friendly as possible. Well, as user friendly as the command line gets.
28+
Do not worry, if you are new to systems administration, I will be keeping this as user friendly as possible. Well, as user friendly as the command line gets.
2929

3030
### Caveats and warnings
3131

32-
1. Do check out migrate2rocky's README page (linked above), because there is a known clash between the script and Katello's repositories. In time, it's probable that we'll discover (and eventually patch) more clashes and incompatibilities, so you'll want to know about those, especially for production servers.
33-
2. This script is most likely to work without incident on completely fresh installs. _If you want to convert a production server, for the love of all that is holy and good, **make a data backup and system snapshot, or do it in a staging environment first.**_
32+
1. Do check out migrate2rocky's README page (linked above), because known clashes between the script and Katello's repositories exist. In time, we will probably discover (and eventually patch) more clashes and incompatibilities, so you will want to know about those, especially for production servers.
33+
2. This script is most likely to work without incident on completely fresh installs. _If you want to convert a production server, **make a data backup and system snapshot, or do it in a staging environment first.**_
3434

35-
Okay? We ready? Let's do this.
35+
Are you ready?
3636

3737
## Prepare your server
3838

39-
You'll need to grab the actual script file from the repository. This can be done in a number of ways.
39+
You will need to grab the actual script file from the repository. You can do this several ways.
4040

4141
### The manual way
4242

43-
Download the compressed files from GitHub and extract the one you need (That'd be *migrate2rocky.sh*). You can find zip files for any GitHub repo on the right-ish side of the repo's main page:
43+
Download the compressed files from GitHub and extract the one you need (That will be *migrate2rocky.sh*). You can find zip files for any GitHub repository on the right-ish side of the repositorie's main page:
4444

4545
![The "Download Zip" button](images/migrate2rocky-github-zip.png)
4646

47-
Then, upload the executable to your server with ssh by running this command on your local machine:
47+
Then, upload the executable to your server with SSH by running this command on your local machine:
4848

4949
```
5050
scp PATH/TO/FILE/migrate2rocky.sh [email protected]:/home/
5151
```
5252

53-
Just, you know, adjust all the file paths and server domains or IP addresses as needed.
53+
Adjust all the file paths and server domains or IP addresses as needed.
5454

55-
### The git way
55+
### The `git` way
5656

57-
Install git on your server with:
57+
Install `git` on your server with:
5858

5959
```
6060
dnf install git
@@ -70,42 +70,42 @@ Note: this method will download all of the scripts and files in the rocky-tools
7070

7171
### The easy way
7272

73-
This is probably the easiest way to obtain the script. You only need a suitable HTTP client (curl, wget, lynx and so on) installed on the server.
73+
This is probably the easiest way to obtain the script. You only need a suitable HTTP client (`curl`, `wget`, `lynx` and so on) installed on the server.
7474

75-
Assuming you have the `curl` utility installed, run this command to download the script into whatever directory you're using:
75+
Assuming you have the `curl` utility installed, run this command to download the script into whatever directory you are using:
7676

7777
```
7878
curl https://raw.githubusercontent.com/rocky-linux/rocky-tools/main/migrate2rocky/migrate2rocky.sh -o migrate2rocky.sh
7979
```
8080

81-
That command will download the file straight to your server, and *only* the file you want. But again, there are security concerns that suggest this isn't necessarily the best practice, so keep that in mind.
81+
That command will download the file straight to your server, and *only* the file you want. But again, security concerns suggest this is not necessarily the best practice, so keep that in mind.
8282

83-
## Execution scripts and installation
83+
## Running the script and installation
8484

85-
Use the `cd` command to switch to the directory where the script is located, make sure the file is executable and give the owner of the script file x permissions.
85+
Use the `cd` command to switch to the directory where the script is, ensure the file is executable, and give the owner of the script file x permissions.
8686

8787
```
8888
chmod u+x migrate2rocky.sh
8989
```
9090

91-
And now, at long last, execute the script:
91+
And now, at long last, run the script:
9292

9393
```
9494
./migrate2rocky.sh -r
9595
```
9696

9797
That "-r" option tells the script to just go ahead and install everything.
9898

99-
If you've done everything right, your terminal window should look a bit like this:
99+
If you have done everything right, your terminal window will look a bit like this:
100100

101101
![a successful script startup](images/migrate2rocky-convert-01.png)
102102

103-
Now, it'll take the script a while to convert everything, depending on the actual machine/server, and the connection it has to the wider internet.
103+
Now, it will take the script a while to convert everything, depending on the actual machine, and the connection it has to the wider internet.
104104

105105
If you see a **Complete!** message at the end, then everything is fine and you can restart the server.
106106

107107
![a successful OS migration message](images/migrate2rocky-convert-02.png)
108108

109-
Give it some time, log back in, and you should have a fancy schmancy new Rocky Linux server to play wi... I mean do very serious work on. Run the `hostnamectl` command to check that your OS was migrated properly, and you're good to go.
109+
Give it some time, log back in, and you should have a new Rocky Linux server. Run the `hostnamectl` command to check that your OS migrated properly, and you are good.
110110

111111
![The results of the hostnamectl command](images/migrate2rocky-convert-03.png)

0 commit comments

Comments
 (0)