亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 1755 | 回復(fù): 7
打印 上一主題 下一主題

[Mail] youmail的安裝要點(diǎn) [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2004-06-29 18:43 |只看該作者 |倒序?yàn)g覽
1.安裝qmail+vpopmail+mysql
   不用多說了
2.安裝jdk
  1. sh j2sdk-1_4_2_01-linux-i586.bin
  2.   mv j2sdk1.4.2_01 /usr/local/jdk
復(fù)制代碼

3.安裝resin
  1. tar zxvf resin-3.0.3.tar.gz
  2.   mv resin-3.0.3 /usr/local/resin
復(fù)制代碼

  不要用最新版
4.設(shè)置環(huán)境變量
  vi /etc/profile
  添加
  1. export RESIN_HOME=/usr/local/resin
  2. export JAVA_HOME=/usr/local/jdk
  3. export CLASSPATH=$JAVA_HOME/lib:$JAVA_HOME/jre/lib:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
  4. export PATH=$PATH:$JAVA_HOME/bin
復(fù)制代碼

6.resin設(shè)置
  vi /usr/local/resin/conf/resin.conf
  修改成:
  1. <!--
  2.    - Temporary minimal resin.conf during 3.0 refactoring.
  3.   -->;
  4. <resin xmlns="http://caucho.com/ns/resin">;
  5.   <!--
  6.      - Logging configuration for the JDK logging API.
  7.     -->;
  8.   <log name='' level='info' path='stdout:' timestamp='[%H:%M:%S.%s] '/>;
  9.   <log name='com.caucho.java' level='fine' path='stdout:'
  10.        timestamp='[%H:%M:%S.%s] '/>;
  11.   <log name='com.caucho.loader' level='config' path='stdout:'
  12.        timestamp='[%H:%M:%S.%s] '/>;

  13.   <!--
  14.      - For production sites, change dependency-check-interval to something
  15.      - like 60s, so it only checks for updates every minute.
  16.     -->;
  17.   <dependency-check-interval>;2s</dependency-check-interval>;

  18.   <!--
  19.      - You can change the compiler to "javac" or jikes.
  20.      - The default is "internal" only because it's the most
  21.      - likely to be available.
  22.     -->;
  23.   <javac compiler="internal" args=""/>;

  24.   <!-- Security providers.
  25.      - <security-provider>;
  26.      -    com.sun.net.ssl.internal.ssl.Provider
  27.      - </security-provider>;
  28.     -->;

  29.   <server>;
  30.     <!-- adds all .jar files under the resin/lib directory -->;
  31.     <class-loader>;
  32.       <tree-loader path="$resin-home/lib"/>;
  33.     </class-loader>;

  34.     <!-- The http port -->;
  35.     <http id='' host='*' port='[color=red]80[/color]'/>;

  36.     <!--
  37.        - SSL port configuration:
  38.        -
  39.        - <http port=8443>;
  40.        -   <openssl>;
  41.        -     <certificate-file>;keys/gryffindor.crt</certificate-file>;
  42.        -     <certificate-key-file>;keys/gryffindor.key</certificate-key-file>;
  43.        -     <password>;test123</password>;
  44.        -   </openssl>;
  45.        - </http>;
  46.       -->;

  47.     <!--
  48.        - The local cluster, used for load balancing and distributed
  49.        - backup.
  50.       -->;
  51.     <cluster>;
  52.       <srun id="" host="127.0.0.1" port="6802" index="1"/>;
  53.     </cluster>;

  54.     <!--
  55.        - If starting bin/resin as root on Unix, specify the user name
  56.        - and group name for the web server user.
  57.        -
  58.        - <user-name>;resin</user-name>;
  59.        - <group-name>;resin</group-name>;
  60.       -->;

  61.     <!--
  62.        - Enables/disables exceptions when the browser closes a connection.
  63.       -->;
  64.     <ignore-client-disconnect>;true</ignore-client-disconnect>;

  65.     <!--
  66.        - Configures threads shared among all HTTP and SRUN ports.
  67.       -->;
  68.     <connection-pool>;
  69.       <!-- Maximum number of connection threads. -->;
  70.       <thread-max>;200</thread-max>;

  71.       <!-- Minimum number of spare connection threads. -->;
  72.       <spare-thread-min>;10</spare-thread-min>;

  73.       <!-- Maximum number of spare connection threads. -->;
  74.       <spare-thread-max>;20</spare-thread-max>;
  75.     </connection-pool>;

  76.     <!--
  77.        - Enables the cache
  78.       -->;
  79.     <cache path="cache" memory-size="10M"/>;

  80. <database>;
  81.            <jndi-name>;jdbc/mysql</jndi-name>;
  82.            <driver type="org.gjt.mm.mysql.Driver">;
  83.              <url>;jdbc:mysql://localhost:3306/vpopmail</url>;
  84.               <init-param param-name="useUnicode" param-value="true"/>;
  85.               <init-param param-name="characterEncoding" param-value="UTF-8"/>;
  86.               <user>;用戶名</user>;
  87.              <password>;密碼</password>;
  88.             </driver>;
  89.             <max-connections>;20</max-connections>;
  90.             <max-idle-time>;30s</max-idle-time>;
  91.           </database>;

  92.     <!--
  93.        - Default host configuration applied to all virtual hosts.
  94.       -->;
  95.     <host-default>;
  96.       <class-loader>;
  97.         <compiling-loader path='webapps/WEB-INF/classes'/>;
  98.         <library-loader path='webapps/WEB-INF/lib'/>;
  99.       </class-loader>;

  100.       <!--
  101.          - With another web server, like Apache, this can be commented out
  102.          - because the web server will log this information.
  103.         -->;
  104.       <access-log path='logs/access.log'
  105.             format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
  106.             rollover-period='1W'/>;

  107.       <!-- creates the webapps directory for .war expansion -->;
  108.       <web-app-deploy path='webapps'/>;

  109.       <!-- creates the deploy directory for .ear expansion -->;
  110.       <ear-deploy path='deploy'/>;

  111.       <!-- creates the deploy directory for .rar expansion -->;
  112.       <resource-deploy path='deploy'/>;

  113.       <!-- creates a second deploy directory for .war expansion -->;
  114.       <web-app-deploy path='deploy'/>;
  115.     </host-default>;

  116.     <!-- includes the web-app-default for default web-app behavior -->;
  117.     <resin:include path="app-default.xml"/>;

  118.     <!-- configures the default host, matching any host name -->;
  119.     <host id=''>;
  120.       <document-directory>;[color=red]/usr/local/apache/htdocs[/color]</document-directory>;

  121.       <!-- configures the root web-app -->;
  122.       <web-app id='/'>;
  123.         <!-- adds xsl to the search path -->;
  124.         <class-loader>;
  125.           <simple-loader path="$host-root/xsl"/>;
  126.         </class-loader>;

  127.         <servlet-mapping url-pattern="/servlet/*" servlet-name="invoker"/>;
  128.       </web-app>;
  129.     </host>;
  130.   </server>;
  131. </resin>;
復(fù)制代碼

5.mysql設(shè)置
  1. 1.GRANT ALL PRIVILEGES ON vpopmail.* to '用戶'@'主機(jī)名' identified by '[color=red]密碼[/color]';
  2.   2.ALTER TABLE `vpopmail` ADD `permit` SMALLINT( 1 ) UNSIGNED NOT NULL default '1';
復(fù)制代碼

6.youmail部署
  sf上的youmail缺struts和mysql的包.下來后,直接放到resin.conf里設(shè)置的document-directory目錄里就可以了,如 /usr/local/apache/htdocs
  確認(rèn)resin/lib下有如下文件:
  mysql-connector-java-3.0.9-stable-bin.jar
  可以到http://dev.mysql.com/downloads/connector/j/3.0.html下
WEB-INF/lib下有如下文件:
  activation.jar
  commons-digester.jar
  commons-logging.jar
  jakarta-oro.jar
  commons-beanutils.jar
  commons-fileupload.jar
  commons-validator.jar
  mail.jar
  commons-collections.jar
  commons-lang.jar
  struts.jar
struts包可以wget http://apache.linuxforum.net/dist/jakarta/struts/binaries/jakarta-struts-1.1.tar.gz
7.先說這么多了.一直沒給youmail更新,計(jì)劃添加的功能有自動更新,地址簿.但那些都是小問題,郵件的能不能正確解碼才是大問題.所以我一直在想辦法提高它的解碼能力,希望大家能和我一起討論.

論壇徽章:
0
2 [報告]
發(fā)表于 2004-06-30 11:25 |只看該作者

youmail的安裝要點(diǎn)

DING,收藏。。

論壇徽章:
0
3 [報告]
發(fā)表于 2004-07-01 09:31 |只看該作者

youmail的安裝要點(diǎn)

大哥,是不是RESIN的版本必須是3.0.3啊

論壇徽章:
0
4 [報告]
發(fā)表于 2004-07-01 09:41 |只看該作者

youmail的安裝要點(diǎn)

謝了!共同學(xué)習(xí)!我得qq是:397314446。歡迎聯(lián)系!I like java!

論壇徽章:
0
5 [報告]
發(fā)表于 2004-07-01 22:15 |只看該作者

youmail的安裝要點(diǎn)

resin-3.0.8我在使用時,上傳的附件總是有問題,
機(jī)器為雙PIII至強(qiáng)CPU,內(nèi)存2G,操作系統(tǒng)為RedHat AS3
換成resin-3.0.3后就沒問題了

論壇徽章:
0
6 [報告]
發(fā)表于 2004-07-02 11:38 |只看該作者

youmail的安裝要點(diǎn)

有問題啊:
我是REDHAT 7。2/RESIN 3。0。8的安裝以后,可以登陸,但是發(fā)郵件說驗(yàn)政錯誤,閱讀郵件提示:/home/vpopmail/..../120030434.mail.122m  文件不存在啊,,,,,,,,,,,,,,,

這是什么原應(yīng)。。。。。。。。。。。。。。。。。!

論壇徽章:
0
7 [報告]
發(fā)表于 2004-07-02 12:35 |只看該作者

youmail的安裝要點(diǎn)

是什么原因自己檢查源代碼。。。

我在resin 2.1.13上裝了都是好的。

resin 3.0.4開始要收費(fèi)了。。。

論壇徽章:
0
8 [報告]
發(fā)表于 2004-07-02 17:06 |只看該作者

youmail的安裝要點(diǎn)

暈。。。。。。。。。。
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP