Views: 8990 (Data available since 06.02.2017)
Installation of Bitrix Environment (BitrixEnv) for Linux will be helpful for:
- Users and developers who previously used Bitrix Virtual Appliance product for site preparation and experienced problems when migrating the configuration to host or non-virtual hardware with loss of performance.
- For hosting-partners specialists planning to create different VPS templates for Bitrix products.
- For system administrators requiring fast preparation of high-performance framework for the installation or migration of sites based on Bitrix.
- For programmers and system administrators requiring the fast deployment of a cluster, based on Bitrix.
Bitrix Virtual Environment for Linux provides fast deployment of Bitrix products and solutions to operate with minimal expenses in an optimal environment of CentOS 6/7 (i386, x86_64) Linux-based platform:
- mysql-server 5.*
- web-server (Apache 2.2.*)
- php 5.6/7.0.x
- nginx 1.10.2
Below you can find the review of Bitrix Virtual Environment for Linux installation on the equipment with pre-installed CentOS 7 (Minimal) (x86_64).
- Get authorized on the server with root administrative account.
- Download the Bitrix Virtual Environment for Linux script and run it via the following commands:
chmod +x bitrix-env.sh
Note: If there is no utility software on the server to upload wget files, it can be installed via the
yum install wget command
- Then, it is necessary to accept the disabling of SElinux (if SElinux is enabled in the system) and reboot the system via
After the server is rebooted, continue the BitrixEnv installation:
Percona yum repository error
- When entering the server with root login you will be prompted to change Bitrix user password:
- Then, it will be necessary to create the pool (1. Create Management pool of server) and the work can be started:
In Bitrix Virtual Environment for Linux version 7.x+
the pool should be mandatorily created (
1. Create Management pool of server). Pool configuration manager opens all the necessary ports in CentOS for the Bitrix24 product services to operate correctly.
- Server is ready for further use.
- After all server Settings are configured, don't forget to exit the root account for security purposes:
- To go console, select 0. Exit in the menu (or press Ctrl+C)
- And then, run the
«Silent» BitrixEnv installation (silent mode)
Starting from Version 7.1, there is an available option to create a pool in silent mode: after BitrixEnv is installed, the pool creation is immediately initiated with the required host name and MySQL root password.
./bitrix-env.sh [-s] [-p [-H hostname]] [-M mysql_root_password]
-s - Silent mode for installation. Don't ask any questions.
-p - Create pool after Bitrix Environment is installed.
-H - Host name for pool creation procedure).
-M - MySQL root password (Mysql password for root user).
Launch the Bitrix Environment installation in silent mode, create the pool with the 'server1' host name and set the MySQL root password - 111111.
./bitrix-env.sh -s -p -H server1 -M '111111'
How to manage BitrixEnv
To proceed to execution of any action in Virtual Appliance, please input the number and press Enter. For example, to configure virtual server, input 2 in the line (Manage localhost) and press Enter.
To return from the command line (if you have pressed 0. Exit) back to the BitrixEnv menu, input the following command in the console: