How to install BCMS on Ubuntu Server

By Branislav Vajagić
Read time 1 min
Posted on October 13, 2022
Updated on August 24, 2023
Share it on:
BCMS on Ubuntu Server

Requirements to self-host BCMS

BCMS requires a server to run. Below is the list of recommended and minimum hardware specifications to successfully run the BCMS.

  • Recommended

    • CPU: 2 cores/threads

    • RAM: 4GB

    • Storage: 50GB

  • Minimum

    • CPU: 1 core/thread

    • RAM: 1GB

    • Storage: 25GB

If you are going to use the BCMS for reading and writing data, minimum requirements are enough. Otherwise, if you are going to use BCMS' server-side image processing or CPU and RAM-intensive plugins - recommended configuration is, well - recommended :)

I already have a server. Can I use it for the BCMS?

Even though it is technically possible, we highly recommend running BCMS in its server instance because:

  • It is more secure - Having only the BCMS on the server ensures that the application is isolated and more secure. If you are running the BCMS on the server with other applications, those applications can compromise the BCMS, and if the BCMS is compromised, it can compromise other applications.

  • It is more stable - If the BCMS is the only application running on the server, other applications cannot impact the performance or crash the server.

  • It is easier - We provide tools that update and configure your server to run BCMS smoothly. This includes File System, proxy, database, and security. All default configuration options can be used if the server is dedicated to the BCMS.

In the next sections, we will show you how to set up BCMS on its own server provided by your favorite provider.

Running the BCMS on DigitalOcean

DigitalOcean is a user-friendly cloud hosting provider with a transparent and predictable pricing model. It is an excellent option for businesses of different sizes, and we always recommend it first :)

Creating a Droplet (server) for the BCMS

First, go to DigitalOcean and log in to your account. After that, you can go to Create Droplet screen.

Create a Droplet screen.
Figure 1 - Create a Droplet screen.
  • In Choose an image section, select Ubuntu.

Select a Droplet image.
Figure 2 - Select a Droplet image.
  • In Choose a plan section, you should select a Basic plan with Regular SSD and recommended hardware specification, which, at the time of writing these instructions, is a $20 /month plan. Please keep in mind that this is a recommended setup, and you can select any plan you like.

Selection a plan.
Figure 3 - Selection a plan.
  • You can skip Add block storage section.

  • In Choose a datacenter region section, you can select any region. We recommend selecting a region that is physically close to your location.

Selecting a Droplet region.
Figure 4 - Selecting a Droplet region.
  • The next section is a VPC Network. If you don't know what this is, leave the default settings.

  • In the Authorization section, you have the option to use the SSH Key or Password to login into a server. If you don't know the SSH Key, select a password login and type a strong password.

Server login authorization method.
Figure 5 - Server login authorization method.
  • In Finalize and create a section, create only 1 Droplet and set its name to anything you like.

Setting a Droplet name.
Figure 6 - Setting a Droplet name.
  • With all of this done, you can click on Create Droplet button.

Once your Droplet is created and ready, it will appear on the Droplet screen of the DigitalOcean Dashboard.

Droplet screen.
Figure 7 - Droplet screen.
  • In the sidebar, click on Networking, and then click on the Edit button in the Firewalls section.

Droplet networking screen.
Figure 8 - Droplet networking screen.
  • You will be redirected to the network configuration settings screen, and here you can click on Create Firewall button. After this, you will be redirected to the Firewall configuration screen.

Create new firewall screen.
Figure 9 - Create new firewall screen.
  • First, you will need to enter the firewall name. We recommend using bcms-firewall as a name so you can know what it is for.

Setting the firewall name.
Figure 10 - Setting the firewall name.
  • After that, set the incoming connection rules as shown in figure 11. Remember that for SSH connections, you can set a specific IP address that can use it, but if you do not know what this is or if you do not have a static IP address, leave it as shown in figure 11.

Setting the firewall incoming connection rules.
Figure 11 - Setting the firewall incoming connection rules.
  • Outgoing connection rules can be left without changing them, as shown in figure 12.

Setting the firewall outgoing connection rules.
Figure 12 - Setting the firewall outgoing connection rules.
  • The only thing left is to apply the firewall to the BCMS Droplet. This can be done by typing a Droplet name (in our case, it is my-bcms-server) in Apply to Droplets section.

Apply the firewall to a Droplet.
Figure 13 - Apply the firewall to a Droplet.
  • You can now click on Create Firewall button at the end of the page.

  • If you go back to the Droplet screen and navigate the networking tab, you will see that the firewall we just created is applied to the Droplet.

Applied firewall to the Droplet section.
Figure 14 - Applied firewall to the Droplet section.

Now we are ready to login into our server.

Login into the Droplet

  • The first step is to get the IP address of the server. You can find this information on the Droplet screen, as shown in figure 15.

Public IP address of the Droplet.
Figure 15 - Public IP address of the Droplet.
  • After this, open a terminal of the command line and type ssh root@IP_ADDRESS but make sure to replace IP_ADDRESS with numbers you have copied from the DigitalOcean dashboard. In our case, this command will look like this: ssh [email protected].

Execute SSH command.
Figure 16 - Execute SSH command.
  • If you have selected password authentication (the one we created for the Droplet), you will be prompted to enter the password.

  • After successful login, you will see a message shown in figure 17.

Ubuntu Server login message.
Figure 17 - Ubuntu Server login message.

Installing the BCMS on the Droplet

  • The BCMS is installed using a single command. Go to your BCMS Cloud Dashboard and open an Instance your would like to install. For instance, page click on More Info which will open a modal. Here you can see the installation command, as shown in figure 18.

Open instance install instructions.
Figure 18 - Open instance install instructions.
  • Copy the command and return to the terminal/cmd where you are logged in to the server. Paste the command and run it.

  • This command will install all necessary tools, update your server and install the BCMS.

Aaaaaand, that's it. You now have a fully working BCMS instance! 👏