1C-Bitrix: virtual machine VMBitrix and VMBitrix.CRM


Bitrix virtual machine is a free solution that allows you to get a virtual server configured, tested and adapted to work with 1C-Bitrix products and PHP applications.

VMBitrix.CRM is a Bitrix virtual machine-based solution designed for CRM deployment. Inside the machine is the same as inside VMBitrix, but some items are removed from the menu – for example, there is no management of hosts, MySQL and replication, no advanced site management.

The WRP company provides services for the development of sites and the transfer of existing projects to CMS Bitrix using the Bitrix virtual machine. The professionalism and experience of our employees allows us to implement the most complex solutions in the shortest possible time.

Installing VMBitrix virtual machine

Installing the Bitrix virtual machine is done in two ways:

  1. Automatic installation when ordering a new server from Bitrix. Such a solution is offered, for example, by Timeweb Cloud.

  2. Manual software deployment on a server with a “clean” CentOS version 6 or 7 system using BitrixEnv.

Difference between BitrixVM and BitrixEnv

BitrixVM is a CentOS image on which all the necessary software for deploying sites on 1C-Bitrix is ​​installed. It is prepared by 1C developers. High performance is achieved due to optimization of server settings for work with CMS.

BitrixEnv is a shell script with which you can independently install a set of software necessary for the operation of sites on 1C-Bitrix. It is suitable for situations where setting up a Bitrix server from scratch is not possible. For example, you have an ordered server. With the help of a virtual environment, you can adjust the Bitrix configuration on it as required for your project.

Manual VM installation

With automatic installation, everything is clear – it is enough to order a server with the necessary configuration. Let’s analyze the manual installation.

Connect to the SSH server.

Get the installation file:


Change the access rights so that you can run the downloaded distribution:

chmod +x bitrix-env.sh

Run the installation file:


This completes the installation.

VM settings

In BitrixVM, all parameters are configured through the environment management menu. To go to it, execute the command:


During the first use, the system will offer to change the password. Enter a new password for root and confirm the changes.

To be able to host sites on the server, you need to create a pool.

  1. Select the first item in the control menu – Create management pool. To do this, press 1 on the keyboard.

  2. Specify the hostname. You can leave the default name by pressing Enter.

  3. Press Enter again to create the pool.

A full menu will appear on the screen, which lists the basic settings of the Bitrix virtual machine.

Creation of the first site

As an example, let’s create the first site. To start, select item 6 in the menu – Configure pool sites.

Then select 1 – Create a site. The setup wizard will start, which will guide you through the main steps in dialog mode.

  1. Specify the domain.

  2. Select a type kernel. This is required in order to connect to the Bitrix database.

  3. Specify the encoding of the site – usually it is UTF-8.

  4. Enable cron if there is a job for a new project on the transfer host.

The following steps help you connect to the database on Bitrix. The dialog asks if you want to customize the name and password from the database. Type ‘y’ to install them manually.

  1. Specify the name of the database.

  2. Enter a username. It can match the name of the database.

  3. Enter the password from the database and confirm it by re-entering it.

The site will appear in the list in some time. Press Enter to refresh the list.

Next, you can customize the resource at your own discretion. For example, install phpMyAdmin with the command:

yum install -y phpmyadmin

Then you need to create a link to the phpMyAdmin directory in the main site folder:

ln -s /usr/share/phpMyAdmin /home/bitrix/www/phpmyadmin

To configure Apache, open the file:

vim /etc/httpd/bx/conf/default.conf

Before ‘ErrorLog logs/error_log’ add the lines:

<Directory /home/bitrix/www/phpmyadmin>

php_admin_value mbstring.func_overload 0


Save the file and restart the web server:

systemctl restart httpd

You need to install SSL to secure your website. Using the Bitrix menu, you can get a free Let’s Encrypt certificate. To release and install it:

  1. Go to the menu on the way: ‘8. Manage pool web servers -> 3. Configure certificates -> 1. Configure Let’s encrypt certificate’.

  2. Specify the sites for which you are ordering a certificate, their domain names and contact email for notifications.

  3. Type ‘y’ to confirm release and installation.

You can also install other free and paid certificates manually. To do this, you need to edit the configuration file for the site’s SSL zone.


We looked at how to create a website database and connect to it on BitrixVM. SSL installation and phpMyAdmin settings were also analyzed. Another important point – now you know exactly how BitrixVM differs from BitrixEnv and which solution is more suitable in which situations.

If you need help managing your server, order an administration service from Timeweb Cloud. You can also delegate individual tasks to Timeweb specialists – for example, site migration, backup organization or configuration of additional modules.

Do you want to abandon self-written CMS and CRM, as well as platforms developed by foreign companies? Make the website work more efficiently and reduce the costs of its maintenance? Get help from WRP experts. We will carry out the transfer in the shortest possible time and without stopping the operation of the company’s IT infrastructure.

You can get additional consultations and complete an application by calling +7 (495) 230-20-53 or using the feedback form on the website.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

© 2022 ZoNa365.ru - Theme by WPEnjoy · Powered by WordPress