> For the complete documentation index, see [llms.txt](https://spacecore.gitbook.io/wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://spacecore.gitbook.io/wiki/en/minecraft/how-to-install-minecraft-bedrock-server.md).

# Installing the Minecraft Bedrock/PE server

Previously, we published an article on the topic of creating a Minecraft Java server. This time we will look at the installation process of the Minecraft Bedrock/Pocket Edition server.

## Initial information

The installation will be carried out on **Ubuntu 20.04 LTS OS,** so the instructions are suitable for both **VDS** and **Dedicated Server**.

The **Screen** utility will also help us in working with the server; we recommend reading the article: [**Screen** Installation](https://wiki.spacecore.pro/vds-dedicated/install-screen)

In turn, **Minecraft Bedrock** does not require **Java** installation on both the server and the client side. This is all because this version of the game is entirely written in **C++.**

## Uploading server files

We update the lists of packages and system repositories:

```
sudo apt-get -y update && sudo apt-get -y dist-upgrade
```

We will show two methods on how to download server files entirely through the **Linux** system console, as well as manually through **FileZilla software**.

### Linux console

First, we need to create a folder for the future server. Go to any directory of interest (**standard - root**) and use the command:

```
mkdir minecraftbedrock
```

{% hint style="info" %}
**minecraft bedrock** - is the name of the directory to be created, here you can specify any value.
{% endhint %}

We can use a special command to check all the files in a directory, thereby making sure that the folder is created.

```
ls
```

<figure><img src="/files/1wIeqFqgA9QP2t5tGZqy" alt=""><figcaption></figcaption></figure>

We see the created directory. We switch to it using the command

```
cd minecraftbedrock
```

<figure><img src="/files/kKZzOb0hR7mIiVtAUHIo" alt=""><figcaption></figcaption></figure>

Next, we will use the **wget** utility to download server files.

```
wget https://minecraft.azureedge.net/bin-linux/bedrock-server-1.16.221.01.zip
```

That's it, the archive with the files has been uploaded.

<figure><img src="/files/s6wht1ChO7Z3VVnuL1U4" alt=""><figcaption></figcaption></figure>

Now we need to unpack it. Install the **zip** utility:

```
apt-get install zip
```

<figure><img src="/files/IC3jNOzsT6fdE0F23B3p" alt=""><figcaption></figcaption></figure>

Use the command to unpack the archive:

```
unzip bedrock-server-1.16.221.01.zip
```

{% hint style="info" %}
**Where bedrock-server** is **1.16.221.01.zip** is the name of our archive.
{% endhint %}

<figure><img src="/files/82rI7GAFeo0RU6LrnYVs" alt=""><figcaption></figcaption></figure>

### FileZilla

We connect to the server and create a directory in any folder **(PCM — Create a directory**).

You can use any name.

Go to the created directory. Download the archive from the **Mojang** website to your computer:

{% embed url="<https://minecraft.azureedge.net/bin-linux/bedrock-server-1.16.221.01.zip>" %}

We are sending the downloaded file to our server.<br>

The archive has been uploaded successfully.

Log in to the **Linux** console (**SSH**), then use the command to go to our directory:

```
cd bedrock
```

{% hint style="info" %}
**bedrock** -  is the catalog name.
{% endhint %}

<figure><img src="/files/ubIpsJ6DRZ6YT2khFmgb" alt="" width="271"><figcaption></figcaption></figure>

Next, use the command to unpack the archive:

```
unzip bedrock-server-1.16.221.01.zip
```

{% hint style="info" %}
Where **bedrock-server-1.16.221.01.zip** is the name of our archive.
{% endhint %}

<figure><img src="/files/rZCPfrUyQiJr1s9gsTYZ" alt=""><figcaption></figcaption></figure>

## Starting the server

For round-the-clock operation of the server, we create a **Screen** window with the command

```
screen -S bedrock
```

{% hint style="info" %}
**bedrock** is the name of the screen window.
{% endhint %}

<figure><img src="/files/g5A03PYC94K4dfcdWrYh" alt=""><figcaption></figcaption></figure>

Still in the directory of our server we use command

```
chmod 777 bedrock_server
```

Thus, we grant full rights to write, read and execute the file.

<figure><img src="/files/eE0vuWRvSXmIGUZvJVm9" alt=""><figcaption></figcaption></figure>

Next we go to the start of the server itself. We use the command

```
./bedrock_server
```

{% hint style="info" %}
**bedrock\_server**  - is the name of the server startup file.
{% endhint %}

<figure><img src="/files/nkzNRQjbRPrxXLK7prhq" alt=""><figcaption></figcaption></figure>

Great! Our server has been successfully launched.

Use the **Ctrl + A + D** key combination to exit the **Screen** window.

## Connecting to the server

Let's try to log in from both versions of the game.

### Windows 10 Edition

We add the server, specifying the name, **IP address** and standard port.

We have successfully connected to the server.

<figure><img src="/files/aK8P3OxKt2h5tbnZYgVm" alt=""><figcaption></figcaption></figure>

The console also displays information about the connection and exit of players from the server:

<figure><img src="/files/ZgNCvDDB0EM02jij7LkG" alt="" width="224"><figcaption></figcaption></figure>

### Pocket Edition

We re-enter the data for the connection.

The server is still running in the pocket version.

<figure><img src="/files/NF4xJy4JeDfvLkdgeW1s" alt=""><figcaption></figcaption></figure>
