· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
Open Meetings/Directory Structure

OpenMeetings/DirectoryStructure


* ar vx red5-openmeetings_1.6.2.RC1-3675_i386.deb
  • control.tar.gz
tcheun@enk:~/DEB$ tar zxvf control.tar.gz
./
./templates
./md5sums
./conffiles
./prerm
./control
./postrm
./postinst
    • control file
Version: 1.6.2.RC1-3675

Depends: debconf (>= 0.5) | debconf-2.0, sun-java6-jre, imagemagick, gs-gpl, \
libart-2.0-2, libt1-5, libungif4g, swftools (>= 0.9.0), red5-openmeetings-oo, \
ffmpeg, sox, mysql-server, mysql-client, sed

Conflicts: red5-server, tomcat5, tomcat6
    • postinst
      • mysql 에 openmeeting table 생성 및 user priviledge 설정

  • data.tar.gz
    • etc, user

* Debian squeeze
  • dpkg -x red5-openmeetings_1.6.2.RC1-3675_i386.deb .
    • etc, user

* etc
:
etc:
init.d	red5-openmeetings

etc/init.d:
red5-openmeetings

etc/red5-openmeetings:
red5-openmeetings.conf

* user
:
usr:
bin  sbin  share

usr/bin:

usr/sbin:

usr/share:
doc  red5-openmeetings

* usr/share/red5-openmeetings
:
boot.jar  lib  red5-daemon.sh  red5-highperf.sh  red5.jar  webapps
conf	  log  red5-debug.sh   red5-shutdown.sh  red5.sh   work

* /red5-read-only/dist
:
boot.jar  license.txt  red5-debug.bat     red5-highperf.sh   red5.bat  webapps
conf      log          red5-debug.sh      red5-shutdown.bat  red5.jar
lib       plugins      red5-highperf.bat  red5-shutdown.sh   red5.sh

* only openmeetings
  • red5-daemon.sh
  • work
* only red5
  • plugin
  • red5-debug.bat, red5-highperf.bat, red5-shutdown.bat, red5.bat

shell file


:

tcheun@enk:~/DEB/usr/share/red5-openmeetings$ diff red5-highperf.sh /home/tcheun/red5-read-only/red5-highperf.sh 
6c6
< export JAVA_OPTS="-Xrs -Xms512M -Xmx1024M -Xss128K -XX:NewSize=256m -XX:SurvivorRatio=16 -XX:MinHeapFreeRatio=20 -XX:+AggressiveHeap -XX:+ExplicitGCInvokesConcurrent -Djava.net.preferIPv4Stack=true -Xverify:none"
---
> export JAVA_OPTS="-Xrs -Xms512M -Xmx1024M -Xss128K -XX:NewSize=256m -XX:SurvivorRatio=16 -XX:MinHeapFreeRatio=20 -XX:+ExplicitGCInvokesConcurrent -XX:+UseConcMarkSweepGC -Djava.net.preferIPv4Stack=true -Xverify:none"

Conf file


* usr/share/red5-openmeetings/conf
:
Red5_SMF.xml		     logback.xml	   red5-origin.xml
access.properties	     password.properties   red5.globals
build_standalone.properties  quartz.properties	   red5.policy
catalina.policy		     realm.properties	   red5.properties
context.xml		     red5-common.xml	   red5.xml
ehcache.xml		     red5-core.xml	   tomcat-users.xml
keystore		     red5-edge-core.xml    truststore.jmx
keystore.jmx		     red5-edge.xml	   war
log4j.properties	     red5-origin-core.xml  web.xml

* /red5-read-only/dist/conf
:
access.properties            no-jee-container.xml  red5-origin.xml
build_standalone.properties  password.properties   red5.globals
catalina.policy              quartz.properties     red5.policy
context.xml                  realm.properties      red5.properties
ehcache.xml                  red5-common.xml       red5.xml
jee-container.xml            red5-core.xml         tomcat-users.xml
keystore                     red5-edge-core.xml    truststore.jmx
keystore.jmx                 red5-edge.xml         web.xml
logback.xml                  red5-origin-core.xml

* only openmeetings
  • Red5_SMF.xml
  • log4j.properties
  • war

* only red5
  • jee-container.xml
  • no-jee-container.xml

:
tcheun@enk:~/openmeetings/dist/red5/conf$ diff ehcache.xml /home/tcheun/red5-read-only/dist/conf/ehcache.xml 
1c1,6
< <ehcache>
---
> <ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>     xsi:noNamespaceSchemaLocation="ehcache.xsd"
>     updateCheck="false"
> 	monitoring="off"
> 	dynamicConfig="false">
> 	

:
tcheun@enk:~/openmeetings/dist/red5/conf$ diff logback.xml /home/tcheun/red5-read-only/dist/conf/logback.xml 
6,10c6,9
< 	<appender name="CONSOLE"
< 		class="ch.qos.logback.core.ConsoleAppender">
< 		<layout class="ch.qos.logback.classic.PatternLayout">
< 			<Pattern>[%p] [%thread] %logger - %msg%n</Pattern>
< 		</layout>
---
> 	<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
> 		<encoder>
> 			<pattern>[%p] [%thread] %logger - %msg%n</pattern>
> 		</encoder>		
15,20c14,16
< 		<Encoding>UTF-8</Encoding>
< 		<BufferedIO>false</BufferedIO>
< 		<ImmediateFlush>true</ImmediateFlush>
< 		<layout class="ch.qos.logback.classic.PatternLayout">
< 			<Pattern>%d{ISO8601} [%thread] %-5level %logger{35} - %msg%n</Pattern>
< 		</layout>
---
> 		<encoder>
> 			<pattern>%d{ISO8601} [%thread] %-5level %logger{35} - %msg%n</pattern>
> 		</encoder>		
25,27d20
< 		<Encoding>UTF-8</Encoding>
< 		<BufferedIO>false</BufferedIO>
< 		<ImmediateFlush>true</ImmediateFlush>
31,33c24,26
< 		<layout class="ch.qos.logback.classic.PatternLayout">
< 			<Pattern>%d{ISO8601} [%thread] %-5level %logger{35} - %msg%n</Pattern>
< 		</layout>
---
> 		<encoder>
> 			<pattern>%d{ISO8601} [%thread] %-5level %logger{35} - %msg%n</pattern>
> 		</encoder>		
51,53c44,49
< 	<logger name="org.red5.server">
< 		<level value="WARN" />
< 	</logger>
---
>     <logger name="org.red5.server">
>         <level value="WARN" />
>     </logger>
>     <logger name="org.red5.server.Scope">
>         <level value="DEBUG" />
>     </logger>
57,65d52
< 	<logger name="org.red5.server.jetty">
< 		<level value="INFO" />
< 	</logger>
< 	<logger name="org.red5.server.Standalone">
< 		<level value="INFO" />
< 	</logger>
< 	<logger name="org.red5.server.tomcat">
< 		<level value="INFO" />
< 	</logger>
72,75d58
< 	<logger
< 		name="org.red5.server.jetty.Red5WebPropertiesConfiguration">
< 		<level value="WARN" />
< 	</logger>
138a122,126
> <!-- 
>     <logger name="org.red5.server.stream.consumer.FileConsumer">
>         <level value="TRACE" />
>     </logger>	
>  -->
162a151,153
>     <logger name="org.red5.server.tomcat">
>         <level value="INFO" />
>     </logger>
215a207,216
>     <!-- Jetty -->
>     <logger name="org.red5.server.jetty">
>         <level value="DEBUG" />
>     </logger>
>     <logger name="org.mortbay">
>         <level value="DEBUG" />
>     </logger>
>     <logger name="org.eclipse.jetty">
>         <level value="DEBUG" />
>     </logger>

:
tcheun@enk:~/openmeetings/dist/red5/conf$ diff quartz.properties /home/tcheun/red5-read-only/dist/conf/quartz.properties 
28c28
< org.quartz.threadPool.threadCount = 12
---
> org.quartz.threadPool.threadCount = 4

:
tcheun@enk:~/openmeetings/dist/red5/conf$ diff red5-common.xml /home/tcheun/red5-read-only/dist/conf/red5-common.xml 
60c60
< 				<property name="baseTolerance" value="1000" />
---
> 				<property name="baseTolerance" value="5000" />
136c136,140
< 	<!-- Limits bandwidth (bytes per second) related with read and write operations on a per-session basis -->
---
> 	<!-- Limits bandwidth (bytes per second) related with read and write operations on a per-session basis 
> 		1. arg0 is the read setting and a value of 0 == unlimited
> 		2. arg1 is the write setting and a value of 0 == unlimited
> 	-->
> <!-- 
138d141
< 		<!-- Maximum read throughput (0 = Unlimited) -->
140d142
< 		<!-- Maximum write throughput (0 = Unlimited) -->
143c145,146
< 
---
> -->
>  
247a251,256
> 	<!-- Low level access for recording to file -->
>     <bean id="fileConsumer" scope="prototype" lazy-init="true" class="org.red5.server.stream.consumer.FileConsumer">        
>         <property name="delayWrite" value="true"/>
>         <property name="queueThreshold" value="33"/>
>     </bean>
> 	
267c276,278
< 	<bean id="clientBroadcastStream" scope="prototype" lazy-init="true" class="org.red5.server.stream.ClientBroadcastStream"/>
---
> 	<bean id="clientBroadcastStream" scope="prototype" lazy-init="true" class="org.red5.server.stream.ClientBroadcastStream">
>         <property name="automaticRecording" value="false"/>
> 	</bean>

:
tcheun@enk:~/openmeetings/dist/red5/conf$ diff red5-core.xml /home/tcheun/red5-read-only/dist/conf/red5-core.xml 
9,10c9
< 	<bean id="customEditorConfigurer"
< 		class="org.springframework.beans.factory.config.CustomEditorConfigurer">
---
> 	<bean id="customEditorConfigurer" class="org.springframework.beans.factory.config.CustomEditorConfigurer">
13,16c12
< 				<entry key="java.net.SocketAddress">
< 					<bean
< 						class="org.apache.mina.integration.beans.InetSocketAddressEditor" />
< 				</entry>
---
> 				<entry key="java.net.SocketAddress" value="org.apache.mina.integration.beans.InetSocketAddressEditor" />
19c15
< 	</bean>
---
> 	</bean>	
117,153d112
< 	<!-- RTMPT -->
< <!-- -->
< 	<bean id="rtmpt.server" class="org.red5.server.tomcat.rtmpt.RTMPTLoader" init-method="init" lazy-init="true">
< 	
< 		<property name="webappFolder" value="${red5.root}/webapps" />
< 		
< 		<property name="connector">
< 			<bean class="org.apache.catalina.connector.Connector">
< 				<constructor-arg type="java.lang.String" value="org.apache.coyote.http11.Http11NioProtocol" />	
< 				<property name="port"><value>${rtmpt.port}</value></property>
< 				<property name="enableLookups"><value>false</value></property>
< 			</bean>
< 		</property>
< 
< 		<property name="connectionProperties">
< 			<map>
< 				<entry key="maxKeepAliveRequests" value="${rtmpt.max_keep_alive_requests}"/>
< 				<entry key="useExecutor" value="true"/>
< 				<entry key="maxThreads" value="${rtmpt.max_threads}"/>
< 				<entry key="acceptorThreadCount" value="${rtmpt.acceptor_thread_count}"/>
< 				<entry key="processorCache" value="${rtmpt.processor_cache}"/>
< 			</map>
< 		</property>
< 		
< 		<property name="host">
< 			<bean class="org.apache.catalina.core.StandardHost">
< 				<property name="name" value="${rtmpt.host}" />
< 				<property name="unpackWARs" value="false" />
< 				<property name="autoDeploy" value="false" />
< 				<property name="xmlValidation" value="false" />
< 				<property name="xmlNamespaceAware" value="false" />
< 			</bean>	   
< 		</property>		
< 
< 	</bean>
< 
< 	
155c114
< <!-- -->    
---
> <!--    
182,263c141
< 
< 	
< <!--
< 	<bean id="rtmps.server" class="org.red5.server.tomcat.rtmps.RTMPSLoader" init-method="init" lazy-init="true">
< 	
< 		<property name="webappFolder" value="${red5.root}/webapps" />
< 		
< 		<property name="connector">
< 			<bean class="org.apache.catalina.connector.Connector">
< 				<constructor-arg type="java.lang.String" value="org.apache.coyote.http11.Http11NioProtocol" />	
< 				<property name="port" value="${rtmps.port}" />
< 				<property name="redirectPort" value="${rtmp.port}" />
< 			</bean>			
< 		</property>	
< 		
< 		<property name="host">
< 			<bean class="org.apache.catalina.core.StandardHost">
< 				<property name="name" value="${rtmps.host}" />
< 				<property name="unpackWARs" value="false" />
< 				<property name="autoDeploy" value="false" />
< 				<property name="xmlValidation" value="false" />
< 				<property name="xmlNamespaceAware" value="false" />
< 			</bean>	   
< 		</property>		
< 	
< 		<property name="connectionProperties">
< 			<map>
< 				<entry>
< 					<key><value>port</value></key>
< 					<value>${rtmps.port}</value>
< 				</entry>
< 				<entry>
< 					<key><value>redirectPort</value></key>
< 					<value>${rtmp.port}</value>
< 				</entry>
< 				<entry>
< 					<key><value>SSLEnabled</value></key>
< 					<value>true</value>
< 				</entry>
< 				<entry>
< 					<key><value>sslProtocol</value></key>
< 					<value>TLS</value>
< 				</entry>
< 				<entry>
< 					<key><value>clientAuth</value></key>
< 					<value>false</value>
< 				</entry>
< 				<entry>
< 					<key><value>keystoreFile</value></key>
< 					<value>conf/keystore</value>
< 				</entry>
< 				<entry>
< 					<key><value>keystorePass</value></key>
< 					<value>${rtmps.keystorepass}</value>
< 				</entry>
< 				<entry>
< 					<key><value>keystoreType</value></key>
< 					<value>JKS</value>
< 				</entry>
< 				<entry key="maxKeepAliveRequests" value="${rtmps.max_keep_alive_requests}"/>
< 				<entry key="useExecutor" value="true"/>
< 				<entry key="maxThreads" value="${rtmps.max_threads}"/>
< 				<entry key="acceptorThreadCount" value="${rtmps.acceptor_thread_count}"/>
< 				<entry key="processorCache" value="${rtmps.processor_cache}"/>
< 			</map>
< 		</property>	
< 
< 		<property name="valves">
<       		<list>
< 	    		<bean id="valve.access" class="org.apache.catalina.valves.AccessLogValve">
< 	                <property name="directory" value="log" />
< 	                <property name="prefix" value="${rtmps.host}_rtmps_access." />
< 	                <property name="suffix" value=".log" />
< 	                <property name="pattern" value="common" />
< 	                <property name="resolveHosts" value="false" />
< 	                <property name="rotatable" value="true" />
< 	        	</bean>
<         	</list>
<         </property>			
< 	
< 	</bean>	
< -->
---
> -->	

:
tcheun@enk:~/openmeetings/dist/red5/conf$ diff red5.xml /home/tcheun/red5-read-only/dist/conf/red5.xml 
39c39
<     	<bean id="pluginLauncher" class="org.red5.server.plugin.PluginLauncher" />
---
>     <bean id="pluginLauncher" class="org.red5.server.plugin.PluginLauncher" />
41,99c41,42
< 	<!-- Now we can load the servlet engine, this has to happen after the context are loaded -->
< 	<!-- Jetty servlet engine / http server -->
< <!--
<  	<bean id="jetty6.server" class="org.red5.server.jetty.JettyLoader" init-method="init" autowire="byType" depends-on="context.loader">
< 		<property name="webappFolder" value="${red5.root}/webapps" />
< 	</bean>
< -->
< 
< 	<!-- Tomcat servlet engine / http server -->
< 	<bean id="tomcat.server" class="org.red5.server.tomcat.TomcatLoader" init-method="init" destroy-method="shutdown" depends-on="context.loader">
< 
< 		<property name="webappFolder" value="${red5.root}/webapps" />
< 			      
< 	    <property name="connector">
< 			<bean class="org.apache.catalina.connector.Connector">
< 				<!-- Blocking I/O -->
< 				<constructor-arg type="java.lang.String" value="org.apache.coyote.http11.Http11Protocol" />
< 				<!-- Non-blocking I/O -->
< 				<!--
< 				<constructor-arg type="java.lang.String" value="org.apache.coyote.http11.Http11NioProtocol" />	
< 				-->
<                 <property name="port"><value>${http.port}</value></property>
< 		        <property name="redirectPort"><value>${https.port}</value></property>
<                 <property name="enableLookups"><value>false</value></property>
<                 <property name="useIPVHosts"><value>true</value></property>
< 			</bean>
< 	    </property>
< 	    	
<         <property name="address">
<             <bean class="java.net.InetSocketAddress">
<                 <constructor-arg index="0" type="java.lang.String" value="${http.host}" />  
<                 <constructor-arg index="1" type="int" value="${http.port}" />  
<             </bean>	
<         </property>
< 	    	
<         <property name="baseHost">
< 	       <bean class="org.apache.catalina.core.StandardHost">
< 	           <property name="name" value="${http.host}" />
< 	           <property name="unpackWARs" value="true" />
< 	           <property name="autoDeploy" value="true" />
< 	           <property name="xmlValidation" value="false" />
< 	           <property name="xmlNamespaceAware" value="false" />
< 	       </bean>	   
< 	    </property>		
< 
< 		<property name="valves">
<       		<list>
< 	    		<bean id="valve.access" class="org.apache.catalina.valves.AccessLogValve">
< 	                <property name="directory" value="log" />
< 	                <property name="prefix" value="${http.host}_access." />
< 	                <property name="suffix" value=".log" />
< 	                <property name="pattern" value="common" />
< 	                <property name="resolveHosts" value="false" />
< 	                <property name="rotatable" value="true" />
< 	        	</bean>
<         	</list>
<         </property>
< 	    
< 	</bean>     	
---
> 	<!-- Now we can load the JEE container / servlet engine -->
>   	<import resource="classpath:/jee-container.xml"/>

:
tcheun@enk:~/openmeetings/dist/red5/conf$ diff web.xml /home/tcheun/red5-read-only/dist/conf/web.xml 
700a701,704
>         <extension>m3u8</extension>
>         <mime-type>application/x-mpegURL</mime-type>
>     </mime-mapping>
>     <mime-mapping>
968a973,976
>         <extension>ts</extension>
>         <mime-type>video/MP2T</mime-type>
>     </mime-mapping>
>     <mime-mapping>

lib

:
red5-openmeetings/lib:
antlr-3.1.3.jar		       jul-to-slf4j-1.5.10.jar
aopalliance-.jar	       jython-2.5.jar
...
...
jcl-over-slf4j-1.5.10.jar      xercesImpl-2.9.1.jar
jruby-complete-1.1.6.jar       xmlrpc-2.0.1.jar
jruby-engine-1.1.6.jar

* only openmeetings
:
antlr-3.1.3.jar
aopalliance-.jar
asm-3.1.jar
asm-commons-3.1.jar
catalina-6.0.24.jar
commons-codec-1.4.jar
commons-collections-3.2.1.jar
commons-httpclient-3.1.jar
commons-modeler-2.0.1.jar
groovy-all-1.5.7.jar
jasper-6.0.24.jar
jasper-el-6.0.24.jar
jasper-jdt-6.0.24.jar
jruby-engine-1.1.6.jar
slf4j-api-1.5.10.jar
spring-aop-2.5.6.jar
tomcat-coyote-6.0.24.jar
tomcat-juli-slf4j-1.5.0.jar
xercesImpl-2.9.1.jar
xmlrpc-2.0.1.jar

* only red5
:
com.springsource.javax.xml.stream-1.0.1.jar
com.springsource.org.antlr-3.1.3.jar
com.springsource.org.apache.commons.codec-1.4.0.jar
com.springsource.org.apache.commons.collections-3.2.1.jar
com.springsource.org.apache.commons.modeler-2.0.1.jar
com.springsource.org.apache.xerces-2.9.1.jar
com.springsource.org.codehaus.groovy-1.7.0.jar
com.springsource.org.mozilla.javascript-1.7.0.R2.jar
com.springsource.org.objectweb.asm-3.2.0.jar
com.springsource.org.objectweb.asm.commons-3.2.0.jar
com.springsource.slf4j.api-1.6.1.jar
com.springsource.slf4j.bridge-1.6.1.jar
httpclient-4.1.2.jar
httpcore-4.1.3.jar
xmlrpc-2.0.1.jar

* /red5-read-only/dist/plugins
:
tcheun@enk:~/red5-read-only/dist/plugins$ ls -l
합계 4008
-rw-r--r-- 1 tcheun tcheun 1216210 2011-09-23 13:16 catalina-6.0.32.jar
-rw-r--r-- 1 tcheun tcheun  526946 2011-09-23 13:16 jasper-6.0.32.jar
-rw-r--r-- 1 tcheun tcheun  112550 2011-09-23 13:16 jasper-el-6.0.32.jar
-rw-r--r-- 1 tcheun tcheun 1407902 2011-09-23 13:16 jasper-jdt-6.0.29.jar
-rw-r--r-- 1 tcheun tcheun  764743 2011-09-23 13:16 tomcat-coyote-6.0.32.jar
-rw-r--r-- 1 tcheun tcheun    3414 2011-09-23 13:16 tomcat-juli-slf4j-1.5.0.jar
-rw-r--r-- 1 tcheun tcheun   43240 2011-09-23 13:16 tomcatplugin-1.1.jar

:
red5-openmeetings/log:
work

red5-openmeetings/webapps:
openmeetings  red5-default.xml	root

red5-openmeetings/webapps/openmeetings:

red5-openmeetings/webapps/root:
WEB-INF      crossdomain.xml  favicon.png   index.html	logo.png
biglogo.png  favicon.ico      flvdemo.html  index.jsp

red5-openmeetings/webapps/root/WEB-INF:
red5-web.properties  red5-web.xml  web.xml

red5-openmeetings/work:
red5Engine

* usr/share/red5-openmeetings/webapps/openmeetings

ID
Password
Join
His heart was yours from the first moment that you met.


sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2011-09-23 17:39:02
Processing time 0.0069 sec