You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**READ THIS FIRST!**[HOW THIS WORKS & FAQ](https://www.reddit.com/r/linuxupskillchallenge/comments/qeymzb/please_read_this_first_how_this_works_faq/)
7
4
8
5
## INTRO
9
6
10
-
[Refer to Day 0 - Creating Your Own Server in the Cloud](https://github.com/livialima/linuxupskillchallenge/blob/master/00-VPS-big.md) for more.
7
+
[Refer to Day 0 - Creating Your Own Server in the Cloud](00-VPS-big.md) for more.
11
8
12
9
## AWS free-tier, is it always free?
13
10
The AWS Free Tier is designed to allow new users to explore and test various AWS services without incurring any costs for 12 months following the AWS sign-up date, subject to certain usage limits. When your 12 month free usage term expires or if your application use exceeds the tiers, you simply pay standard, pay-as-you-go service rates. You can extend that free usage with an Educate Pack, if you are eligible.
@@ -54,7 +51,7 @@ Your server instance should now launch, and you can login to it by:
54
51
55
52
You should see an "IPv4" entry for your server, this is its unique Internet IP address, and is how you'll connect to it via SSH (the Secure Shell protocol) - something we'll be covering in the first lesson.
56
53
57
-
This video, "How to Set Up AWS EC2 and Connect to Linux Instance with PuTTY" (<https://www.youtube.com/watch?v=kARWT4ETcCs>), gives a good overview of the process.
54
+
This video, [How to Set Up AWS EC2 and Connect to Linux Instance with PuTTY](https://www.youtube.com/watch?v=kARWT4ETcCs), gives a good overview of the process.
58
55
59
56
You will be logging in as the user *ubuntu*. It has been added to the 'adm' and 'sudo' groups, which on an Ubuntu system gives it access to read various logs - and to "become root" as required via the _sudo_ command.
**READ THIS FIRST!**[HOW THIS WORKS & FAQ](https://www.reddit.com/r/linuxupskillchallenge/comments/qeymzb/please_read_this_first_how_this_works_faq/)
7
4
8
5
## It's difficult to create a server in cloud without a credit card
9
6
@@ -35,9 +32,10 @@ Go to the Official [Ubuntu](https://ubuntu.com/download/server) page and downloa
35
32
36
33
## Create a Virtual Machine with VirtualBox
37
34
38
-
*[Create a local Linux server with VirtualBox](https://youtu.be/nKcfhI1B4mA)
35
+
*[Create a local Linux server with VirtualBox (video)](https://youtu.be/nKcfhI1B4mA)
39
36
40
37
Install [VirtualBox](https://www.virtualbox.org/), when ready:
38
+
41
39
* Click on *Machine > New*
42
40
* Give a name to your VM and select the *Type* Linux. Click *Next*.
43
41
* Adjust hardware: 1024MB memory and 1 CPU (this is the minimum, but you can reserve more if your host machine can provide it). Click *Next*
@@ -46,7 +44,7 @@ Install [VirtualBox](https://www.virtualbox.org/), when ready:
46
44
* The new VM should show up in a list of VMs, select it.
47
45
* Click on *Machine > Settings*
48
46
* Click on *Storage*. Right-click on Controllet IDE, click on *Optical Drive*.
49
-
* Select the ISO from the list if available, if not click *Add* and find it in your directories. Click *Choose*.
47
+
* Select the Linux ISO you downloaded from the list if available, if not click *Add* and find it in your directories. Click *Choose*.
50
48
* Click on *Network* and change the network adapter to **Bridged Adapter**.
51
49
* Click *OK*
52
50
* Click **Start** or *Machine > Start > Normal Start*.
@@ -81,19 +79,23 @@ If you need to find out the IP address for the VM, just type in the console:
81
79
82
80
`ip address`
83
81
84
-
That will give you the `inet`, i.e., the ip address.
82
+
That will give you the `inet`, i.e., the ip address. You will need that to connect with SSH.
85
83
86
84
## Remote access via SSH
87
85
88
-
If you are using windows download Putty and [follow the instructions to connect](https://blog.livialima.net/putty-basics).
86
+
If you are using Windows 10 or 11, follow the instructions to [connect using the native SSH client](https://youtu.be/Z46YbczqbiE). In older versions of Windows, you may need to install a 3rd party SSH client, like [PuTTY](https://youtu.be/pWDHUlvcAsg) and generate a [ssh key-pair](https://youtu.be/4jakCV5JYx0).
89
87
90
88
If you are on Linux or MacOS, open a terminal and run the command:
91
89
92
90
`ssh username@ip_address`
93
91
94
-
Enter your password
92
+
Or, using the SSH private key, `ssh -i private_key username@ip_address`
93
+
94
+
Enter your password (or a passphrase, if your SSH key is protected with one)
95
+
96
+
Voila! You have just accessed your server remotely.
95
97
96
-
Voila! You have just accessed your system inside your private network.
98
+
If in doubt, consult the [complementary video](https://youtube.com/live/_-6UYOjRIVQ) that covers a lot of possible setups (local server with VirtualBox, AWS, Digital Ocean, Azure, Linode, Google Cloud, Vultr and Oracle Cloud).
**READ THIS FIRST!**[HOW THIS WORKS & FAQ](https://www.reddit.com/r/linuxupskillchallenge/comments/qeymzb/please_read_this_first_how_this_works_faq/)
7
4
8
5
## INTRO
9
6
@@ -32,16 +29,16 @@ On a side note, avoid IBM Cloud as much as you can. They do not offer good deals
32
29
33
30
### Educational Packs
34
31
35
-
* AWS Educate at https://aws.amazon.com/education/awseducate/
36
-
* Azure for Students at https://azure.microsoft.com/en-gb/free/students/
32
+
* AWS Educate at [https://aws.amazon.com/education/awseducate/](https://aws.amazon.com/education/awseducate/)
33
+
* Azure for Students at [https://azure.microsoft.com/en-gb/free/students/](https://azure.microsoft.com/en-gb/free/students/)
37
34
38
35
## Create a Virtual Machine
39
36
40
37
The process is basically the same for all these VPS, but here some step-by-steps:
41
38
42
-
*[VM with AWS](https://github.com/livialima/linuxupskillchallenge/blob/master/docs/00-AWS-Free-Tier.md)
43
-
*[VM with Azure](https://github.com/livialima/linuxupskillchallenge/blob/master/docs/00-Azure-Free-Tier.md)
44
-
*[VM with GCP](https://github.com/livialima/linuxupskillchallenge/blob/master/docs/00-Google-Cloud.md)
39
+
*[VM with AWS](https://linuxupskillchallenge.org/00-AWS-Free-Tier.md)
40
+
*[VM with Azure](https://linuxupskillchallenge.org/00-Azure-Free-Tier.md)
41
+
*[VM with GCP](https://linuxupskillchallenge.org/00-Google-Cloud.md)
45
42
46
43
### VM with Oracle Cloud
47
44
@@ -62,7 +59,7 @@ Select your instance and click "ssh" it will open a new window console. To acces
62
59
63
60
You should see a "Public IPv4 address" (or similar) entry for your server in account's control panel, this is its unique Internet IP address, and it is how you'll connect to it via SSH (the Secure Shell protocol) - something we'll be covering in the first lesson.
64
61
65
-
If you are using windows download Putty and [follow the instructions to connect](https://blog.livialima.net/putty-basics). Alternatively, in newer Windows versions (10/11), you can use a built-in SSH client via the CLI (e.g. cmd.exe), as described below.
62
+
If you are using Windows 10 or 11, follow the instructions to [connect using the native SSH client](https://youtu.be/Z46YbczqbiE). In older versions of Windows, you may need to install a 3rd party SSH client, like [PuTTY](https://youtu.be/pWDHUlvcAsg) and generate a [ssh key-pair](https://youtu.be/4jakCV5JYx0).
66
63
67
64
If you are on Linux or MacOS, open a terminal and run the command:
68
65
@@ -74,7 +71,7 @@ Enter your password (or a passphrase, if your SSH key is protected with one)
74
71
75
72
Voila! You have just accessed your server remotely.
76
73
77
-
In doubt, consult the [complementary video](https://youtube.com/live/_-6UYOjRIVQ?feature=share)
74
+
If in doubt, consult the [complementary video](https://youtube.com/live/_-6UYOjRIVQ) that covers a lot of possible setups (local server with VirtualBox, AWS, Digital Ocean, Azure, Linode, Google Cloud, Vultr and Oracle Cloud).
*[Get started with Digital Ocean](https://docs.digitalocean.com/products/getting-started/)
29
27
*[Get started with Linode](https://www.linode.com/docs/products/platform/get-started/)
30
28
@@ -88,7 +86,7 @@ You should see a "Public IPv4 address" (or similar) entry for your server in acc
88
86
***Linode**: Click on *Network tab > IP Addresses > IPv4 - Public*
89
87
***Vultr**: Click on *Settings tab > Public Network > Address*
90
88
91
-
If you are using Windows, download Putty and [follow the instructions to connect](https://blog.livialima.net/putty-basics). Alternatively, in newer Windows versions (10/11), you can use a built-in SSH client via the CLI (e.g. cmd.exe), as described below.
89
+
If you are using Windows 10 or 11, follow the instructions to [connect using the native SSH client](https://youtu.be/Z46YbczqbiE). In older versions of Windows, you may need to install a 3rd party SSH client, like [PuTTY](https://youtu.be/pWDHUlvcAsg) and generate a [ssh key-pair](https://youtu.be/4jakCV5JYx0).
92
90
93
91
If you are on Linux or MacOS, open a terminal and run the command:
94
92
@@ -100,7 +98,7 @@ Enter your password (or a passphrase, if your SSH key is protected with one)
100
98
101
99
Voila! You have just accessed your server remotely.
102
100
103
-
If in doubt, consult the [complementary video](https://youtube.com/live/_-6UYOjRIVQ?feature=share)
101
+
If in doubt, consult the [complementary video](https://youtube.com/live/_-6UYOjRIVQ) that covers a lot of possible setups (local server with VirtualBox, AWS, Digital Ocean, Azure, Linode, Google Cloud, Vultr and Oracle Cloud).
@@ -103,4 +102,5 @@ If this is all too easy, then spend some time reading up on:
103
102
*[Comparing CENTOS and Ubuntu for servers](http://serverfault.com/questions/53954/centos-vs-ubuntu)
104
103
*[A Beginners Guide to SSH](https://www.youtube.com/watch?v=qWKK_PNHnnA)
105
104
106
-
*Copyright (c) 2012-2021 @snori74 (Steve Brorens) - Open Source since 2021 under the terms of the Creative Commons Attribution 4.0 International Licence (CC BY 4.0)*
*Copyright (c) 2012-2021 @snori74 (Steve Brorens) - Open Source since 2021 under the terms of the Creative Commons Attribution 4.0 International Licence (CC BY 4.0)*
@@ -82,4 +81,5 @@ Your server is protected by the fact that its security updates are up to date, a
82
81
*[How to use "sudo"](https://www.howtoforge.com/tutorial/sudo-beginners-guide/)
83
82
*[This is how password cracking is done](https://null-byte.wonderhowto.com/how-to/crack-shadow-hashes-after-getting-root-linux-system-0186386/)
84
83
85
-
*Copyright (c) 2012-2021 @snori74 (Steve Brorens) - Open Source since 2021 under the terms of the Creative Commons Attribution 4.0 International Licence (CC BY 4.0)*
@@ -69,4 +68,5 @@ Now use `apt search` to search for and install some more packages: Try searching
69
68
*[Midnight Commander vs Ranger](https://www.slant.co/versus/6822/7576/~midnight-commander_vs_ranger)
70
69
*[Linux directory system explained](https://www.howtogeek.com/117435/htg-explains-the-linux-directory-structure-explained/)
71
70
72
-
*Copyright (c) 2012-2021 @snori74 (Steve Brorens) - Open Source since 2021 under the terms of the Creative Commons Attribution 4.0 International Licence (CC BY 4.0)*
*Copyright (c) 2012-2021 @snori74 (Steve Brorens) - Open Source since 2021 under the terms of the Creative Commons Attribution 4.0 International Licence (CC BY 4.0)*
@@ -149,10 +148,6 @@ One last thing, you may see reference to is the [Vi vs. Emacs](https://en.wikipe
149
148
150
149
So, it makes sense if you're aiming to do Linux professionally, but if you're just working on your own systems then by all means choose `nano` or `pico` etc.
151
150
152
-
## POSTING YOUR PROGRESS
153
-
154
-
Let the [forum](https://www.reddit.com/r/linuxupskillchallenge/) know how it went for you.
155
-
156
151
## EXTENSION
157
152
158
153
If you're already familiar with `vi` / `vim` then use today's hour to research and test some customisation via your `~/.vimrc` file. The link below is specifically for sysadmins:
@@ -166,4 +161,5 @@ If you're already familiar with `vi` / `vim` then use today's hour to research a
166
161
*[Vi - Vim Tutorial](http://www.youtube.com/watch?v=71YTkxUNwmg) (video)
167
162
*[How to Copy, Cut and Paste in Vim / Vi](https://linuxize.com/post/how-to-copy-cut-paste-in-vim/)
168
163
169
-
*Copyright (c) 2012-2021 @snori74 (Steve Brorens) - Open Source since 2021 under the terms of the Creative Commons Attribution 4.0 International Licence (CC BY 4.0)*
*Copyright (c) 2012-2021 @snori74 (Steve Brorens) - Open Source since 2021 under the terms of the Creative Commons Attribution 4.0 International Licence (CC BY 4.0)*
*[Where GREP came from](https://www.youtube.com/watch?v=NTfOnGZUZDk)
46
45
47
-
*Copyright (c) 2012-2021 @snori74 (Steve Brorens) - Open Source since 2021 under the terms of the Creative Commons Attribution 4.0 International Licence (CC BY 4.0)*
0 commit comments