亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区
Chinaunix
標(biāo)題:
youmail的安裝要點
[打印本頁]
作者:
topmint
時間:
2004-06-29 18:43
標(biāo)題:
youmail的安裝要點
1.安裝qmail+vpopmail+mysql
不用多說了
2.安裝jdk
sh j2sdk-1_4_2_01-linux-i586.bin
mv j2sdk1.4.2_01 /usr/local/jdk
復(fù)制代碼
3.安裝resin
tar zxvf resin-3.0.3.tar.gz
mv resin-3.0.3 /usr/local/resin
復(fù)制代碼
不要用最新版
4.設(shè)置環(huán)境變量
vi /etc/profile
添加
export RESIN_HOME=/usr/local/resin
export JAVA_HOME=/usr/local/jdk
export CLASSPATH=$JAVA_HOME/lib:$JAVA_HOME/jre/lib:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export PATH=$PATH:$JAVA_HOME/bin
復(fù)制代碼
6.resin設(shè)置
vi /usr/local/resin/conf/resin.conf
修改成:
<!--
- Temporary minimal resin.conf during 3.0 refactoring.
-->;
<resin xmlns="http://caucho.com/ns/resin">;
<!--
- Logging configuration for the JDK logging API.
-->;
<log name='' level='info' path='stdout:' timestamp='[%H:%M:%S.%s] '/>;
<log name='com.caucho.java' level='fine' path='stdout:'
timestamp='[%H:%M:%S.%s] '/>;
<log name='com.caucho.loader' level='config' path='stdout:'
timestamp='[%H:%M:%S.%s] '/>;
<!--
- For production sites, change dependency-check-interval to something
- like 60s, so it only checks for updates every minute.
-->;
<dependency-check-interval>;2s</dependency-check-interval>;
<!--
- You can change the compiler to "javac" or jikes.
- The default is "internal" only because it's the most
- likely to be available.
-->;
<javac compiler="internal" args=""/>;
<!-- Security providers.
- <security-provider>;
- com.sun.net.ssl.internal.ssl.Provider
- </security-provider>;
-->;
<server>;
<!-- adds all .jar files under the resin/lib directory -->;
<class-loader>;
<tree-loader path="$resin-home/lib"/>;
</class-loader>;
<!-- The http port -->;
<http id='' host='*' port='[color=red]80[/color]'/>;
<!--
- SSL port configuration:
-
- <http port=8443>;
- <openssl>;
- <certificate-file>;keys/gryffindor.crt</certificate-file>;
- <certificate-key-file>;keys/gryffindor.key</certificate-key-file>;
- <password>;test123</password>;
- </openssl>;
- </http>;
-->;
<!--
- The local cluster, used for load balancing and distributed
- backup.
-->;
<cluster>;
<srun id="" host="127.0.0.1" port="6802" index="1"/>;
</cluster>;
<!--
- If starting bin/resin as root on Unix, specify the user name
- and group name for the web server user.
-
- <user-name>;resin</user-name>;
- <group-name>;resin</group-name>;
-->;
<!--
- Enables/disables exceptions when the browser closes a connection.
-->;
<ignore-client-disconnect>;true</ignore-client-disconnect>;
<!--
- Configures threads shared among all HTTP and SRUN ports.
-->;
<connection-pool>;
<!-- Maximum number of connection threads. -->;
<thread-max>;200</thread-max>;
<!-- Minimum number of spare connection threads. -->;
<spare-thread-min>;10</spare-thread-min>;
<!-- Maximum number of spare connection threads. -->;
<spare-thread-max>;20</spare-thread-max>;
</connection-pool>;
<!--
- Enables the cache
-->;
<cache path="cache" memory-size="10M"/>;
<database>;
<jndi-name>;jdbc/mysql</jndi-name>;
<driver type="org.gjt.mm.mysql.Driver">;
<url>;jdbc:mysql://localhost:3306/vpopmail</url>;
<init-param param-name="useUnicode" param-value="true"/>;
<init-param param-name="characterEncoding" param-value="UTF-8"/>;
<user>;用戶名</user>;
<password>;密碼</password>;
</driver>;
<max-connections>;20</max-connections>;
<max-idle-time>;30s</max-idle-time>;
</database>;
<!--
- Default host configuration applied to all virtual hosts.
-->;
<host-default>;
<class-loader>;
<compiling-loader path='webapps/WEB-INF/classes'/>;
<library-loader path='webapps/WEB-INF/lib'/>;
</class-loader>;
<!--
- With another web server, like Apache, this can be commented out
- because the web server will log this information.
-->;
<access-log path='logs/access.log'
format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
rollover-period='1W'/>;
<!-- creates the webapps directory for .war expansion -->;
<web-app-deploy path='webapps'/>;
<!-- creates the deploy directory for .ear expansion -->;
<ear-deploy path='deploy'/>;
<!-- creates the deploy directory for .rar expansion -->;
<resource-deploy path='deploy'/>;
<!-- creates a second deploy directory for .war expansion -->;
<web-app-deploy path='deploy'/>;
</host-default>;
<!-- includes the web-app-default for default web-app behavior -->;
<resin:include path="app-default.xml"/>;
<!-- configures the default host, matching any host name -->;
<host id=''>;
<document-directory>;[color=red]/usr/local/apache/htdocs[/color]</document-directory>;
<!-- configures the root web-app -->;
<web-app id='/'>;
<!-- adds xsl to the search path -->;
<class-loader>;
<simple-loader path="$host-root/xsl"/>;
</class-loader>;
<servlet-mapping url-pattern="/servlet/*" servlet-name="invoker"/>;
</web-app>;
</host>;
</server>;
</resin>;
復(fù)制代碼
5.mysql設(shè)置
1.GRANT ALL PRIVILEGES ON vpopmail.* to '用戶'@'主機(jī)名' identified by '[color=red]密碼[/color]';
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更新,計劃添加的功能有自動更新,地址簿.但那些都是小問題,郵件的能不能正確解碼才是大問題.所以我一直在想辦法提高它的解碼能力,希望大家能和我一起討論.
作者:
hzbiz
時間:
2004-06-30 11:25
標(biāo)題:
youmail的安裝要點
DING,收藏。。
作者:
itmichael
時間:
2004-07-01 09:31
標(biāo)題:
youmail的安裝要點
大哥,是不是RESIN的版本必須是3.0.3啊
作者:
moumoulrc
時間:
2004-07-01 09:41
標(biāo)題:
youmail的安裝要點
謝了!共同學(xué)習(xí)!我得qq是:397314446。歡迎聯(lián)系!I like java!
作者:
topmint
時間:
2004-07-01 22:15
標(biāo)題:
youmail的安裝要點
resin-3.0.8我在使用時,上傳的附件總是有問題,
機(jī)器為雙PIII至強(qiáng)CPU,內(nèi)存2G,操作系統(tǒng)為RedHat AS3
換成resin-3.0.3后就沒問題了
作者:
itmichael
時間:
2004-07-02 11:38
標(biāo)題:
youmail的安裝要點
有問題。
我是REDHAT 7。2/RESIN 3。0。8的安裝以后,可以登陸,但是發(fā)郵件說驗政錯誤,閱讀郵件提示:/home/vpopmail/..../120030434.mail.122m 文件不存在啊,,,,,,,,,,,,,,,
這是什么原應(yīng)。。。。。。。。。。。。。。。。。!
作者:
hefish
時間:
2004-07-02 12:35
標(biāo)題:
youmail的安裝要點
是什么原因自己檢查源代碼。。。
我在resin 2.1.13上裝了都是好的。
resin 3.0.4開始要收費(fèi)了。。。
作者:
itmichael
時間:
2004-07-02 17:06
標(biāo)題:
youmail的安裝要點
暈。。。。。。。。。。
歡迎光臨 Chinaunix (http://www.72891.cn/)
Powered by Discuz! X3.2