Views: 8010
Last Modified: 04.09.2024
Attention!
-
For operations, described in this chapter, knowledge of *nix-systems administration is required. Prior to start of these operations, it is recommended to perform full backup of Bitrix Virtual Appliance.
- Provided settings are listed outside the scope of the Virtual Appliance menu. This means that the details below are provided for informational purposes only and should be used with clear understanding of your actions and under your own liability. Bitrix24 technical support reviews the questions related to Virtual Appliance menu items only.
Bitrix Virtual Appliance is supplied with 256MB Swap partition, and it is not connected in the ami image by default. That is why, during operation, there could be a necessity to expand the swap partition.
As in the case with expansion of free space, the simplest - is to add an additional disk and create swap partition on it, or is to create a swap file.
For this:
- connect the disk to the Virtual Appliance or create a swap file:
dd if=/dev/zero of=/swapfile bs=1M count=1024
- create swap partition on disk:
mkswap /dev/sdb1
or in a file:
mkswap /swapfile
- Connect swap partition:
swapon /dev/sdb1
or swap file:
swapon /swapfile
- and finally, add the record about a new swap partition in
/ets/fstab
, to avoid manual enabling after each reloading:
/dev/sdb1 none swap sw 0 0
or add the record about the swap file:
/swapfile none swap sw 0 0