Child pages
  • CentOS 7 with MariaDB

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagetext
sudo yum -y install firewalld
systemctl enable firewalld.service
systemctl start firewalld.service
sudo firewall-cmd --permanent --add-service=https
sudo firewall-cmd --permanent --add-service=http
sudo firewall-cmd --reload


Middleware Installation

Web Server,

...

MariaDB, Full Text Search Engine and PHP

There are version dependency between MySQL and Mroonga which will be installed in the next section.
In order to solve the dependency, MySQL have to be installed from the CentOS Vault.

WEKO utilize Groonga and Mroonga for the full text search engine.
Groonga: http://groonga.org/, Mroonga: http://mroonga.org/
Following instruction refers http://mroonga.org/docs/install/centos.html#centos-7-with-the-official-mariadb-package

Code Block
languagetext
sudo yum install -y httpd
sudo yumsystemctl removeenable -y mysql-libs
sudo rpm -ivhmariadb
sudo systemctl start mariadb
sudo yum install -y http://vaultpackages.centosgroonga.org/6.5/updates/x86_64/Packages/mysql-libs-5centos/groonga-release-1.1.730-31.el6_5.x86_64.noarch.rpm
sudo yum makecache
sudo yum install -y perlmariadb-DBD-MySQLserver
sudo rpmsystemctl -ivh http://vault.centos.org/6.5/updates/x86_64/Packages/mysql-5.1.73-3.el6_5.x86_64.rpmenable mariadb
sudo rpmsystemctl -ivh http://vault.centos.org/6.5/updates/x86_64/Packages/mysql-server-5.1.73-3.el6_5.x86_64.rpmstart mariadb
sudo yum install -y php php-mbstring php-gd php-xml php-mysql
sudo chkconfig httpd on
sudo chkconfig mysqld on
sudo service httpd start
sudo service mysqld start

...

sudo yum install mysql-server

 

WEKO utilize 

sudo systemctl enable httpd