Bitrix Virtual Appliance: Parallels Virtuozzo Edition

Bitrix Virtual Appliance is a free of charge application that allows to run Bitrix software in pre-configured and fully-secured virtual environment. This way you can share same physical server with other applications, save on product installation and maintenance and improve system performance.

  • Easy to install, run and manage
  • Pre-configured for maximum security and performance
  • Cross-platform support
  • Suitable for other PHP applications
  • Free of charge


Parallels Virtuozzo Edition
Bitrix Virtual Appliance: Parallels Virtuozzo Edition v3.0 includes:


  • Fedora Core / CentOS based
  • NGINX + Zend Server CE 5.3 (Apache2+APC) two-level configuration
  • PHP 5.3.3
  • HTTPS support
  • MySQL5 with InnoDB support
  • MC file manager
  • Firewall, already configured
  • IP address acquired via DHCP, NAT VMware or manually configured
  • Adjustable mail server agent
  • A UNIX-like Control Menu with basic commands

Bitrix Virtual Appliance

Parallels Virtuozzo EZ Template
for Fedora Core 8 x86 (32-bit)

Template Page

Parallels Virtuozzo EZ Template
for Fedora Core 12 x86 (32-bit)

Template Page

Parallels Virtuozzo EZ Template
for CentOS 5 x86 (32-bit)

Template Page

Parallels Virtuozzo EZ Template
for CentOS 5 x86 (64-bit)

Template Page

Bitrix Environment EZ Template
for Fedora Core 8 x86 (32-bit)

Template Page

Bitrix Environment EZ Template
for CentOS 5 x86 (32-bit)

Template Page

Parallels Virtuozzo Application Template
for Fedora Core 8 x86 (32-bit)

Parallels Virtuozzo Application Template
for CentOS 5 x86 (32-bit)

Please read Bitrix Virtual Appliance: Parallels Virtuozzo Edition Installation Intructions.

If you have any questions or need assistance, please contact the Bitrix HelpDesk.


Installation Instructions

Installation Instructions

Creating Bitrix VPS for Fedora Core 8 x86 Template

1. Create a metafile with the following content:

# cat metafile.bitrix-env.fc8.x86
%osname
fedora-core

%osver
8

%osarch
x86

%appname
bitrix-env

%packages
bitrix-env

%repositories
http://dev.1c-bitrix.ru/yum/fedora/base/8/$basearch
http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/8/Everything/$basearch­/os/
http://repos.zend.com/zend-server/rpm/$basearch/
http://repos.zend.com/zend-server/rpm/noarch/

2. It is recomended to include msmtp into the package (esp. if you plan to use the built-in SMTP server for instant messages, widely used in Bitrix Intranet, instead of standard sendmail, postfix, etc.)

%packages
bitrix-env
msmtp

Otherwise, you should create a separate VZ Application Template for msmtp.

%osname
fedora-core

%osver
8

%osarch
x86

%appname
msmtp

%packages
msmtp

%repositories
http://dev.1c-bitrix.ru/yum/fedora/base/8/$basearch
http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/8/Everything/$basearch­/os/
http://repos.zend.com/zend-server/rpm/$basearch/
http://repos.zend.com/zend-server/rpm/noarch/

After that the bitrix-env and msmtp packages should be installed.

3. Create post-install file:

-- If you are planning to use the standard sendmail, then use

# cat post-install
#!/bin/bash
sed -i".bak" "s/^sendmail\_path.*/sendmail\_path \= sendmail \-t \-i/g" /etc/php.ini

-- If you are planning to deploy Bitrix Intranet with SMTP server + msmtp, then use

# cat post-install
#!/bin/bash
service sendmail stop
chkconfig sendmail off 

Also, you can remove sendmail from the installation package list using another method.

4. Standard installation and creating cache for OS template.

# wget http://downloads.swsoft.com/cgi-bin/getfile.pl/fedora-core/8/x86/fedora-core-8-x86-ez-4.0.0-6.swsoft.noarch.rpm
# vzpkg install template fedora-core-8-x86-ez-4.0.0-6.swsoft.noarch.rpm
# vzpkg create cache fedora-core-8-x86

5. Adjusting and installing Application Template for Bitrix product installation

# vzmktmpl metafile.bitrix-env.fc8.x86 --post-install post-install
# vzpkg install template bitrix-env-fedora-core-8-x86-ez-1.0-1.noarch.rpm

You can check if the bitrix-env template has been installed successfully, using the following command line:

# vzpkg list
fedora-core-8-x86                  2010-02-19 15:09:50
fedora-core-8-x86    bitrix-env

6. By default, a standard container on basis of fedora-core-8-x86 is created. Please note that it is important to set the bottom-line limits for proper performance of the Bitrix products:

vmguarpages >= 131072
privvmpages >= 131072
oomguarpages >= 131072
shmpages >= 131072 

7. Installing bitrix-env inside the container created on basis of fedora-core-8-x86

# vzpkg install 134 bitrix-env

Or using the graphical interface:



Creating Bitrix VPS for CentOS Template

Basically, the only difference is the content of the metafile:

# cat metafile.bitrix-env.centos-5.x86
%osname
centos

%osver
5

%osarch
x86


%appname
bitrix-env

%packages
bitrix-env

%repositories
http://dev.1c-bitrix.ru/yum/el/5/$basearch
http://repos.zend.com/zend-server/rpm/$basearch/
http://repos.zend.com/zend-server/rpm/noarch/
http://download.fedoraproject.org/pub/epel/5/$basearch
http://mirror.centos.org/centos/5/os/$basearch/

If you have any questions or need assistance, please contact the Bitrix HelpDesk.


Partner Program
Free Online Training
Subscribe to Bitrix News