...
コード ブロック | ||
---|---|---|
| ||
sudo yum install -y httpd
sudo yum remove -y mysql-libs
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 yum install -y perl-DBD-MySQL
sudo rpm -ivh http://vault.centos.org/6.5/updates/x86_64/Packages/mysql-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 |
...
コード ブロック | ||
---|---|---|
| ||
sudo rpm -ivh http://packages.groonga.org/centos/groonga-release-1.1.0-1.noarch.rpm sudo yum makecache sudo yum install -y groonga-4.1.0-1.el6 sudo yum install -y groonga-tokenizer-mecab-4.1.0-1.el6 sudo yum install -y mysql-mroonga |
Library for extract the text from PDF file.
...
コード ブロック | ||
---|---|---|
| ||
sudo /etc/init.d/mysqld startrestart /usr/bin/mysqladmin -u root password 'root-no-password' |
...
Congratulations! Installation of NetCommons2 has been completed.
If the following warning appear after installing the NetCommons2, please apply the patch as follow.
In order to fix this bug. Please download the patched file from
Then replace it to the /var/www/html/nc2/maple/nccore/db/DbObjectAdodb.class.php
...
WEKO
Checkout WEKO module
In order to download the latest WEKO module from the source code repository, install the svn first
コード ブロック | ||
---|---|---|
| ||
sudo yum install -y subversion |
Checkout multilingual WEKO from the SVN site, then copy it to the NC2 module directory.
The current instruction is to utilize the trunk source code but we will prepare the stable one soon.
...
Checkout WEKO module
In order to download the latest WEKO module from the source code repository, install the svn first
コード ブロック | ||
---|---|---|
| ||
sudosvn yum install -y subversion |
Checkout multilingual WEKO from the SVN site, then copy it to the NC2 module directory.
The current instruction is to utilize the trunk source code but we will prepare the stable one soon.
コード ブロック | ||
---|---|---|
| ||
svn co http://co http://forge.at.nii.ac.jp/svn/nc/repository/trunk repository sudo cp -rp repository /var/www/html/nc2/webapp/modules/ |
...
For multilingual, web page for each language have to be prepared by the following procedure.
1. As same as showing the WEKO block, go to Setting Mode and show language and menu module.
2. In the language module, select the language which can to be selected in your page.
3. After selecting an language, create a new page under the public space by using the menu module.
4. In the page created in 2, show WEKO block.
5. Same procedure have to be repeated for other language.
# 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 |
...