Child pages
  • CentOS 7 with MariaDB

Versions Compared


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


Save as "wv-1.2.4.tar.gz" to get the source code from


Code Block
sudo yum -y install glib2-devel libgsf libgsf-devel gcc gcc-c++ elinks

sudo tar -zxvf wv-1.2.4.tar.gz
cd wv-1.2.4/
sudo ./configure
sudo make
sudo make install


Code Block
wget -c "" -O netcommons-


Uncompress the downloaded file.


Now you paste WEKO module on the top page. Here is the control panel page of WEKO.
In order to show the language select function, please click the "management" tab.Image Removed

Setting up for the External Commands

In the [Management] => [Server Setting] tab, you can find "Server Environment" menu.
Clicking the [Execute]  button automatically search the commands and change signal color to green if the system has.
In order to store the path to the commands, click the [Commit] button after this operation. 




Customization for Multilingual

Only English, Chinese and Japanese are available by the original NC2. Therefore, we need to apply patch for more multilingual function. First you need to checkout the patch and just copy it to the NC2 application directory.


cd nc2multilang
sudo cp -rp webapp /var/www/html/nc2/


MySQL DB also have to be modify for this customization.
In this SQL file database prefix for NC2 is assumed as "nc2" as has been instructed previously.
If you apply different prefix, please modify SQL file appropriately.


mysql -u nc2user -pnc2pass
mysql> use nc2db
mysql> source AddLanguageForNC2SQL.sql



Setting up for the Language Selection

In order to show the language select function, please click the "management" tab.
Image Added

In the [management] => [display setting] tab, you can find "language setting" menu.
In this menu, that is, [language setting] => [select language setting], please select "Display" (default is "Hide") from the drop down list.

 Image Added


Then click "commit" button at the bottom of the page.

 Image Added


You can exit from the control panel by clicking "Quit" link at the right hand side of the WEKO block header.

 Image Added


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.