tiptop WEB搭建

 

.请用 root 登入, 执行下列步骤                                                

 Step 1) #cp ed.top /usr/bin/ed.top;chmod 755 /usr/bin/ed.top                  
 Step 2) #cp env.top /etc/env.top;chmod 755 /etc/env.top                       
 Step 3) #将 profile.top 的内容 append to /etc/profile 档尾                   
                                                                               
.使用web方式(搭配apache web server)执行TIPTOP GP 须执行以下几个步骤          
                                                                               
 1.依照实际安装状况修改 $TOP/setup/config/apache/as.xcf并复制到$FGLASDIR/etc下
    /etc/rc.d/rc.local增加一行,让web server开机时自动启动                     
    su - tiptop -c 'startweb as'                                               
                                                                               
    as.xcf依照实际安装状况需修改的地方列出如下                                  
                                                                                
<UNX>                                                                           
<RESOURCE Id="res.dvm.wa" Source="INTERNAL">$(res.fgldir)/bin/fglrun.ora </RESOU
RCE>                                                                             
<RESOURCE Id="res.dvm.ws" Source="INTERNAL">$(res.fgldir)/bin/fglrun.ora</RESOUR
CE>                                                                             
<RESOURCE Id="res.fgldir" Source="INTERNAL">/u1/genero.run</RESOURCE>           
<RESOURCE Id="res.path.as" Source="INTERNAL">/u1/genero.as</RESOURCE>           
<RESOURCE Id="res.tempdir" Source="INTERNAL">/u2/out</RESOURCE>                 
<RESOURCE Id="res.top" Source="INTERNAL">/u2/topprod/tiptop</RESOURCE>   
<RESOURCE Id="res.envdir" Source="INTERNAL">/u2/topprod/tiptop/setup/config/apac
he</RESOURCE>                                                                   
</UNX>                                                                          
<ENVIRONMENT_VARIABLE Id="FGLASIP">http://10.40.40.66/cgi-bin/fglccgi/topprod/</
ENVIRONMENT_VARIABLE>                                                           
<ENVIRONMENT_VARIABLE Id="FGLASIP">http://61.218.158.247/cgi-bin/fglccgi/topprod
/</ENVIRONMENT_VARIABLE>                                                        
<ENVIRONMENT_VARIABLE Id="FGLASIP">http://10.40.40.66/cgi-bin/fglccgi/toptest/</
ENVIRONMENT_VARIABLE>                                                           
<ENVIRONMENT_VARIABLE Id="FGLASIP">http://61.218.158.247/cgi-bin/fglccgi/toptest
/</ENVIRONMENT_VARIABLE>                                                        
                                                                               
                                                                                
 2.在 $TOP/setup/config/apache下有放置调整好的两个档案(topprod.sh及toptest.sh),?
 
胍勒帐导拾沧白纯鲂薷 ?这两个档案是web方式执行时必须读的到profile               
        3.$TOP/setup/config/apache/tiptop.html 及toptest.html复制到 apache web serve
r的 html目录底下,这两个网页分别是正式区跟测试区的入口                           
                                                                               
 4.请将 $TOP/tmp/config/apache/connector.xcf依实际环境修改后,放到apache web serv
er的 cgi-bin底下                                                                 
                                                                               
 5.请将 $TOP/log 的权限改为777                                                 
                                                                               
 6.请将 $TOP/p_cron 的权限改为777                                              
                                                                               
 7.请将 $TOP/tool/fop-0.20.5 的权限改为777                                     
                                                                               
.如果安装的DB是oracle的话,请将$TOP/tmp/config/fglprofile.prod                
   $TOP/setup/config/fglprofile.test 复制到$FGLDIR/etc下,并chmod为775        
                                                                                
.如果有应用到 rcp 指令及对于 AIX 平台有自行 make 出来的 "rcp.aix" 档         
   请各位在安装时多执行以下程序 (以 root 身份),                                 
   1. $> cd $TOP/bin                                                           
  2. $> chown root rcp.aix                                                     
   3. $> chmod 555 rcp.aix                                                     
 4. $> chmod u+s rcp.aix                                                      
                                                                                
.如果有应用到 rcp 指令及对于 Solaris 平台有自行 make 出来的 "rcp.sun" 档     
   请各位在安装时多执行以下程序 (以 root 身份),                                 
   1. $> cd $TOP/bin                                                            
   2. $> chown root rcp.sun                                                    
   3. $> chmod 555 rcp.sun                                                     
   4. $> chmod u+s rcp.sun                                                     
                                                                               
.安装 informix 自动开关                                                      
   root 登入 , 执行 ./informixrc #请先检查此 script 之环境变数                 
                                                                                
.$TOP/tmp/config下有放置标准的 user profile分别是informix及oracle环境        
   请依实际安装状况修改使用                                                     
                                                                               
.请用root 帐号, vi /etc/httpd/conf/httpd.conf                                
   调整 AddDefaultCharset UTF-8 (Unicode)                                       
   此行为 AddDefaultCharset Big5                                                
   存档后 , 需执行 service httpd restart 即可.      
 

你可能感兴趣的:(职场,休闲,WEB搭建,Tiptop)