...
コード ブロック | ||
---|---|---|
| ||
# This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - No SELinux policy is loaded. SELINUX=Permissive # SELINUXTYPE= can take one of these two values: # targeted - Targeted processes are protected, # mls - Multi Level Security protection. SELINUXTYPE=targeted |
The above setting allow you to boot the system as Permissive mode.
Please also change the current mode to be Permissive.
コード ブロック | ||
---|---|---|
| ||
sudosetenforce rebootPermissive |
Network connection is required in the following procedure.
Edit /etc/sysconfig/network-scripts/ ifcfg-eth0 to be ONBOOT=yes.
...
コード ブロック | ||
---|---|---|
| ||
sudo yum -y install dbus dbus-python sudo service messagebus start sudo checkconfig messagebus on sudo yum -y install system-config-firewall-tutui |
Then setup firewall
コード ブロック | ||
---|---|---|
| ||
sudo system-config-firewall-tui |
Go to "Customize" then check "Secure WWW (HTTPS)" and "WWW (HTTP)"
Middleware Installation
Web Server, MySQL and PHP
コード ブロック | ||
---|---|---|
| ||
sudo yum install -y httpd sudo yum install -y perl-DBD-MySQL sudo rpm -ivh http://vault.centos.org/6.5/updates/x86_64/Packages/mysql-libs-5.1.73-3.el6_5.x86_64.rpm sudo rpm -ivh http://vault.centos.org/6.5/updates/x86_64/Packages/mysql-server-5.1.73-3.el6_5.x86_64.rpm 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 |
At this moment, don't set the root password for MySQL
Full Text Search and MySQL
WEKO utilize Groonga for the full text search engine.
Since the MySQL version of the CentOs 6 is old, this installation uses Oracle MySQL.
You can find the official information about groonga and mroonga from...
http://groonga.org/ and http://mroonga.org/There are version dependency between MySQL and Mroonga.
Following instruction install the MySQL from the CentOS Vault.
Following instruction
コード ブロック | ||
---|---|---|
| ||
sudo rpm -ivh http://packages.groonga.org/centos/groonga-release-1.1.0-1.noarch.rpm sudo yum install -y http://repo.mysql.com/mysql-community-release-el6-7.noarch.rpm sudo yum makecache sudo yum install -y groongagroonga-4.1.0-1.el6 sudo yum install -y mysql-community-mroonga sudo yum install -y php-mysql |
Library for extract the text from PDF file.
...
# This file controls the state of SELinux on the system.# SELINUX= can take one of these three values:# enforcing - SELinux security policy is enforced.# permissive - SELinux prints warnings instead of enforcing.# disabled - No SELinux policy is loaded.SELINUX=Permissive# SELINUXTYPE= can take one of these two values:# targeted - Targeted processes are protected,# mls - Multi Level Security protection.SELINUXTYPE=targeted
sudo yum install mysql-server |
WEKO utilize