December 27 2022

1c-bitrix how to install on the server

Installing CMS 1C Bitrix in LEMP (Linux, Nginx, MariaDB, PHP 7) for CentOS 7, Debian 9 Stretch, Ubuntu 18.04 Bionic

1C Bitrix is the most popular commercial website development platform in Russia. The niche of this CMS is the same as Drupal and Joomla. This system is mature and well maintained.

After reading this article, you will learn how to independently configure a minimalistic server for a website running CMS 1C Bitrix. Your site will be accessible via the secure HTTPS protocol with support for the free Let's Encrypt certificate.

To install CMS 1C Bitrix on a dedicated server or VPS, we will need to install a LEMP server (Linux, Nginx, MySQL, PHP 7), and then download and configure 1C Bitrix itself.

Why use a minimal LEMP server for hosting a 1C Bitrix site?
Although it is possible to use a shared hosting server with a panel for development purposes, it is better to use a dedicated server or VPS for the needs of the product environment. This will allow us to achieve the following positive results:

significantly higher protection from malicious activity of other user applications hosted on shared hosting;
guaranteed performance and availability of computing resources;
low risk of human error;
a separate IP address, which allows you to effectively protect the site from DDoS using CDN;
the ability to fine-tune PHP, Nginx and MySQL and other applications for optimal performance;
maximum simplicity of the server without unnecessary points of failure.


Installing and configuring 1C Bitrix
To successfully install 1C Bitrix, you need to make a number of changes to the PHP settings that are required by the installer.

CentOS 7
Add the following variables to the end of the /etc/opt/remi/php72/php.ini file:

short_open_tag = On
mbstring.func_overload = 2
opcache.revalidate_freq = 0
date.timezone = Asia/Novosibirsk
display_errors = On
Restart PHP-FPM:

sudo systemctl restart php72-php-fpm
Debian 9
Add the following variables to the end of the /etc/php/7.0/fpm/php.ini file:

short_open_tag = On
mbstring.func_overload = 2
opcache.revalidate_freq = 0
date.timezone = Asia/Novosibirsk
display_errors = On
Restart PHP-FPM:

sudo service php7.0-fpm restart
Ubuntu 18.04
Add the following variables to the end of the /etc/php/7.2/fpm/php.ini file:

short_open_tag = On
mbstring.func_overload = 2
opcache.revalidate_freq = 0
date.timezone = Asia/Novosibirsk
display_errors = On
Restart PHP-FPM:

sudo service php7.2-fpm restart
Download and unpack the archive of the site. At the time of writing, 1C Bitrix 18.1.5 is considered stable:

cd/var/www/$WEBSITE_NAME
# 1C Bitrix supply types
# start_encode.zip
# standard_encode.zip
# small_business_encode.zip
# business_encode.zip
sudo wget https://www.1c-bitrix.ru/download/start_encode.zip
sudo unzip start_encode.zip
Let's set the rights so that the user under whom Nginx is running can make changes to the files:

# for Ubuntu / Debian
sudo chown www-dаta: -R /var/www/$WEBSITE_NAME
# for CentOS
sudo chown nginx: -R /var/www/$WEBSITE_NAME
Now open the installation script https://$WEBSITE_NAME/ in the browser and continue the installation:


This completes the installation and you can start working on the site.

What else to do after installation?
After installation, we recommend that you follow these steps:

improve server security by fine-tuning firewall:
Ubuntu/Debian,
CentOS;
install a website under CloudFlare protection;
configure the mail server if you plan to send mail locally from the server, and not via SMTP:
Ubuntu/Debian,
CentOS.











Information

Visitors who are in the group Guests they can't download files.
Log in to the site under your login and password or if you are a new user go through the process registrations on the website.

Comments:

This publication has no comments yet. You can be the first!

Information the publication:

Related News

27 December 2022
General questions 1c-bitrix
Which hosting should I

Which hosting should I choose? 1С-Bitrix

Read more
26 December 2022
General questions 1c-bitrix
What is Bitrix

What is Bitrix

Read more
14 December 2022
DataLife Engine
How to install DLE on

Before you start installing DLE on hosting, let's get acquainted with the very concept of DLE. DataLife Engine

Read more
27 December 2022
General questions 1c-bitrix
I need a certified

I need a certified version.

Read more

Information

Users of 🆅🅸🆂🅸🆃🅾🆁 are not allowed to comment this publication.

Site Search

Site Menu


☑ Websites Scripts

Calendar

«    December 2024    »
MonTueWedThuFriSatSun
 1
2345678
9101112131415
16171819202122
23242526272829
3031 

Advertisement

Survey on the website

Evaluate the work of the site
 

Statistics

  • +8 Total articles 6749
  • +12 Comments 4224
  • +30 Users : 6033