How to install Corebos


(Youssef) #1

How to install corebos

Server Requirements:

Apache 2.x or above.
MySQL 5.x
PHP from 5.4.x to 7.0.x. PHP 7.x is recommended.
Nethserver 7.x

Install the packages

MySql:yum install nethserver-mysql
PHP EXTENSIONS:yum install php-gd.x86_64 php-imap.x86_64 php-xml php-mysql
Git : yum install git

Install

git clone https://github.com/tsolucio/corebos /var/www/html/corebos

Edit the php paramters

config setprop php MaxExecutionTime 600
signal-event nethserver-php-update

Creating MySql User

The following commands will create a database called corebos70 and a user called corebosdb
with a password corebosdb

/usr/bin/mysql --defaults-file=/root/.my.cnf -e "CREATE DATABASE IF NOT EXISTS corebos70;"
/usr/bin/mysql --defaults-file=/root/.my.cnf -e "grant all on corebos70.* to 'corebosdb'@'localhost' identified by 'corebosdb';"
/usr/bin/mysql --defaults-file=/root/.my.cnf -e "FLUSH PRIVILEGES"

File Permissions

Provide read-write access to the following files and folder (recursively):

chown  apache:apache /var/www/html/corebos/{config.inc.php,tabdata.php,install.php,cache}
chown  -R apache:apache /var/www/html/corebos/{storage/,user_privileges,/Smarty/cache/,Smarty/templates_c/,modules/,cron/modules/,test/vtlib/,backup/,Smarty/templates/modules/,test/,logs/,modules/Webmails/tmp/,install/,cache/images/,cache/import/}

Restart apache

systemctl restart httpd

ACCESS TO COREBOS

http://FQDN/corebos
At the first access corebos will run the configuration wizard just follow the instruction
But you have to pay attention to:
Database hostname, should be set to "localhost"
Don’t chech the checkbox “Create Database (Will drop if the database exists)”


(Rob Bosch) #2

I never heard of corebos, and went over to have a look at the features: http://corebos.org/page/feature-list
This is quite amazing, but I wonder what impact it has on already implemented NethServer features that overlap these features?
@Youssef, did you already try corebos on NethServer and what are your findings? Why should anyone use corebos? Is corebos instead of NethServer modules? or extending NethServer modules?

/edit: after reading some docs on corebos, it looks like it is derived from vtiger crm… We also have a topic about installing vtiger…


(Giacomo Sanchietti) #3

@Youssef is a new young intern at Nethesis :slight_smile: few days ago, @nethcman was looking for a CRM, and I asked Youssef to publish an how to.

I also hope that someone from the Corebos team will join this effort :wink:


(Joe Bordes) #4

Speaking for the coreBOS community we are more than happy to help, so give it a try and ask whatever you need.


(Rob Bosch) #5

Welcome to Nethserver community @joebordes. We will certainly give corebos a try. I can imagine that a small business server like NethServer and an application like corebos can be a great match.
I hope you can give us some hands on advice when questions arise with installing, configuring and using corebos on Nethserver.


(Alessio Fattorini) #6

Great to see coreboss here, power of open source communitties :wink: what do you need @Youssef in order to improve the Integration?


(Kapsule) #7

Hi, everybody. I am a user / developer of coreBOS CRM since the beginning. It is a system that I have implemented in a company with about 200 users.

Any questions you may have can be asked :slight_smile:


(Alessio Fattorini) #8

Thanks for your help man and welcome to the NethServer Community :slight_smile:
I’d like to involve here also @a4rgl and @ns_nirosh what do you think about integrating corebos?


(Kapsule) #9

Hi @alefattorini. Integration with coreBOS is very good. I currently have coreBOS integrated with different platforms such as SAP, Google and Alisys.

Now, I’m working “when I can” with new integrations with Telegram and TomTom :slight_smile:

As for platform integration, you can find libraries of different languages in the following url.


(Alessio Fattorini) #10

Sounds great but we love simplicity,for us a good integration is installing Corebos with one-click :slight_smile:


(Markus Neuberger) #11

Corebos looks really interesting as regards integration with roundcube or asterisk so I tested it.

How to change the language? I was just able to select English for the admin user. I changed default language in config.inc.php but it just affects the login page.

To install it without missing php values errors at installation I had to do the following:

cat << EOF > /etc/php.d/corebos.ini
max_input_vars = 9000
error_reporting = E_ERROR
EOF

To use UTF8 database:

mysql
DROP DATABASE corebos70;
CREATE DATABASE corebos70 character set utf8mb4 collate utf8mb4_bin;
grant all on corebos70.* to 'corebosdb'@'localhost' identified by 'corebosdb';
exit;