Debian 10 initial server setup on a VPS such as Vultr



Debian 10 Buster initial server setup on a VPS such as Vultr.

Debian 10 Setup Post : https://bizanosa.com/debian-10-initial-server-setup-vps-vultr/

Vultr Tutorial: https://youtu.be/uCZe2lqppvk

Timestamp:
0. Introduction : 00:12
1. Deploy your server on your VPS platform
: 03:29
2. How to log into your Server using putty : 06:53 ,Log in on Mac or Linux : 9:00
3. Create a new sudo user : 10:56
4. Setup a firewall : 15:16
5. Setup SSH Key authentication for Debian 10 : 17:52
6. Disable Root user login / Pass auth : 29:14
7. Add Swap File : 35:36
8. Bonus – Install Virtualmin – LEMP stack : 40:40

Cyberpanel Tutorial: https://bizanosa.com/how-to-run-wordpress-on-a-vps/

In this post let’s see how to go about Debian 10 Initial Server setup on a VPS. I will be using Vultr VPS in this setup. However you can use any VPS to follow along. Debian 10 is code-named Buster. On a VPS the version you will get will be the minimal version.

Here is a free Vultr Tutorial for beginners. And, here is a free Digital Ocean Tutorial for beginners.

What this Debian 10 Server setup will cover
This initial Server setup for Debian 10 / Buster will cover the following:

Deploy your server on your VPS platform.
How to log into your Server using putty.
Create a new sudo user.
Setup a firewall
Setup SSH Key authentication for Debian 10
Disable Root user login
Add Swap File
Bonus – Install Virtualmin – LEMP stack
1. Deploy Server
This part depends on your VPS provider. For this Debian 10 initial server setup, I will use Vultr. Signup on Vultr and get $100 credit in your new account.

Watch this YouTube video tutorial for a step by step guide on how to install Debian 10 Server on Vultr VPS.

Deploy your server and then follow along with the next steps.

2. Log into your Linux server using putty
Download and install putty from the official putty website. Install one of the Package files with all Putty utilities (often listed at the very top) .

If you are following along on a Mac or Linux, this is how to log in via terminal.

To log in, you will need your IP address, user and password. All these details are available in your Admin dashboard.

The following part about logging in via Putty is taken from this previous Centos 7 server setup post.

Now we can go ahead and log in. To login you will need:

Putty – Already installed.
Username – Username for the new Debian Buster server is root.
Password – Copy it from your Admin dashboard .
IP address – Copy it from your Admin dashboard or the email sent to you after the server was created.
Open Putty . If you are on Windows 8 and above, just search ( Windows Key + W) for Putty and open it.

Then Add your IP address under Hostname (or IP ).

Save the session so that you don’t have to type your IP every time. To do that, give the session a name under saved sessions.

Then click save. To save the session.

Do all the above as marked in the screenshot below.

Using putty to ssh into server
Now every time you want to login you will just double click on the session you stored. Then put in your username and password on the putty command window.

Double click on your newly stored session now. A prompt will appear as shown below. Click yes.

Putty prompt on first log in
Then enter username of root. (Login as : root)

Then copy your password from your dashboard. Then right click once to paste it into Putty. While inputting the password, you will not see any output. Just press enter to log in.

Tip: To paste anything into putty, just right click once.

Congratulations you are now logged into your server and we can begin setting things up.

Now logged into server via putty
3. Create a new sudo user.
The default admin user in your new server is root. The root user is available on every linux system, so everybody knows about it.

For security reasons we will create a new user and give them sudo / admin privileges. Later on, we’ll disable the root login so that no one can log in as root on this Debian server.

Step 1 : Create the new user . Give them a unique secure name.

adduser n3wus3r19
Step 2: Add the user above to the sudo group. Users with sudo privileges can execute root level commands. To do so you must add sudo before every command. Add the user to the sudo group as follows ;

usermod -aG sudo n3wus3r19

.

If this video was helpful to you, please consider supporting my channel : https://paypal.me/rwahowa
.
GET SOCIAL WITH ME:
FACEBOOK: https://www.facebook.com/rwahowa/
INSTAGRAM: https://www.instagram.com/rwahowa/
TWITTER: https://twitter.com/rwahowa/
VIMEO: https://vimeo.com/bizanosa/
WEBSITE : http://rwahowa.com

source

Leave a Comment

Item added to cart.
0 items - KSh0.00