搜尋此網誌

2015年9月13日 星期日

32位元作業系統安裝Matlab R2008a編譯環境和執行環境

設定編譯環境(Windows 7 32-bit)
1.安裝Matlab R2008a
2.重啟
3.編譯原始碼
4.複製${MATLAB}\R2008a\toolbox\compiler\deploy\win32\MCRInstaller.exe出來


設定執行環境(Windows 7 32-bit)
1.安裝MCRInstaller.exe
2.執行${MATLAB}\R2008a\bin\win32\vcredist_x86.exe

2015年9月12日 星期六

MySQL Cluster架設 on CentOS

共同部分:
service iptables stop;service ip6tables stop;selinux disabled
刪除postfix, mysql-lib
yum update後reboot
reboot完關iptables,ip6tables

3台架法:
1號:Management Node:安裝management,tools
2號:Data Node+SQL Node:安裝storage,server,client
3號:Data Node+SQL Node:安裝storage,server,client


Matlab R2008a安裝編譯器

1.安裝Windows SDK
http://www.microsoft.com/en-us/download/details.aspx?id=8279

2.在Matlab的command window輸入mbuild -setup

2015年8月31日 星期一

JBoss 7.1.1 JSP自動更新

參考:https://developer.jboss.org/message/723945#723945#723945

This 7.1.1 specific bug (https://issues.jboss.org/browse/AS7-4187) could be resolved with the following steps easily.

1. Please make sure to add
            <configuration>
                <jsp-configuration development="true"/>
            </configuration>
    in standalone.xml under <subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" native="false">          

2. Go to jboss-as-7.1.1.Final/modules/org/jboss/as/web/main
   Place the jboss-as-web-7.1.1.Final-RECOMPILE.jar in there. You can download from http://www.datafilehost.com/download-2cb9ff04.html

3. Open module.xml (jboss-as-7.1.1.Final/modules/org/jboss/as/web/main) and add the following line
        <!--resource-root path="jboss-as-web-7.1.1.Final.jar"/-->
        <resource-root path="jboss-as-web-7.1.1.Final-RECOMPILE.jar"/>

4. You are done. Enjoy.

2015年8月12日 星期三

Linux MySQL設定

1.安裝
tar xvf MySQL-5.6.15-1.el6.x86_64.rpm-bundle.tar
rpm -Uvh MySQL*.rpm

2.啟動
service mysql start

3.改密碼
mysqladmin -u root password 密碼