coreBOS needs an operating system capable of running Apache, MySQL, and PHP. In principle Linux, Windows and Mac OS are capable of this and it works correctly in all three. It is true that as soon as you start using the program in your company and uploading information, you will need to optimize the use of these applications' resources in the operating system to get the most out of it. We strongly recommend Linux operating systems, because of this and how easy it is to obtain a Linux server from any hosting provider, we will explain the process mainly for Linux. Since Linux natively brings Apache, PHP, and MySQL, we recommend installing these programs through the mechanisms of your distribution.
Both the requirements and the values can be seen on the wiki: http://corebos.org/documentation/doku.php?id=en:install550
CURRENT REQUIREMENTS
WAMP / LAMP battery
In order to install coreBOS on a Linux server we will need the following services:
-
LAMP / WAMP software stack installation
-
Apache 2.0.40 or higher
-
MySQL 5.1.x
-
PHP version 5.3.x to 5.6.x
-
This is a typical battery / LAM P P WAM. All Linux distributions have this natively so we recommend that you install your distribution packages (make sure you have the correct versions). In the windows download XAMPP Apache friends stack. You can see the list of application versions at http://code.stephenmorley.org/articles/Xampp-version-historia-Apache-MySQL-PHP
Here are the installation and download instructions:
LAMP For Linux Ubuntu: https://help.ubuntu.com/community/ApacheMySQLPHP
WAMP For Windows: http://sourceforge.net/projects/wamp-server/
MYSQL Requirements
Check the MySQL configuration (my.cnf file or server boot parameters)
SQL_MODE | You must not have STRICT_TRANS_TABLE |
ENGINE=InnoDB | You must be available (Disable -skipinnodb) |
PHP extensions
Enable these extensions in PHP settings
GD | REQUIRED | Required for graphics generation |
IMAP | REQUIRED | The Webmail module depends on this library |
Zlib | REQUIRED | - |
DOM (php-xml) | REQUIRED | New dependency for coreBOS Updater |
OpenSSL | Optional | Imap with OpenSSL must be activated in case the mail server needs to be accessed via SSL |
Curl | Optional | - |
PHP settings
Make sure the PHP configuration has the following recommended values.
VARIABLE | VALUE |
---|---|
allow_call_time_pass_reference | on |
error_reporting | E_ERROR |
safe_mode | off |
display_errors | on |
file_uploads | on |
max_execution_time | 600 |
max_input_vars | 2000 |
post_max_size | 16M |
memory_limit | 512M |
log_errors | off |
output_buffering | on |
register_globals | off |
If you have the Suhosin extension installed, it adds restrictions to make PHP more secure, but some of these restrictions "break" coreBOS.
To solve this problem you must change two variables from the Suhosin configuration file: normally in /etc/php5/conf/suhosin.ini
suhosin.post.max_vars = 2000
suhosin.request.max_vars = 2000
After making this change, restart your Apache server
File Permissions
The following files and their folders (recursively; that is, down) you must have access in READ / WRITE mode.
-
Config.inc.php
-
tabdata.php
-
install.php
-
parent_tabdata.php
-
Cache
-
cache/images/
-
cache/import/
-
storage/
-
install/
-
user_privileges/
-
Smarty/cache/
-
Smarty/templates_c/
-
modules/Emails/templates/
-
modules/
-
cron/modules/
-
test/vtlib/
-
backup/
-
Smarty/templates/modules/
-
test/wordtemplatedownload/
-
test/product/
-
test/user/
-
test/contact/
-
test/logo/
-
logs/
-
modules/Webmails/tmp/
CHECK CORRECT REQUIREMENTS
In case this part is out of your knowledge, ask for help or support from an administrator who can verify all these requirements.
Also during the installation process, there is a previous step that will verify these conditions and inform you if you find any problems to be corrected before proceeding with the installation.