kurento 6.0安装测试

来源:互联网 发布:视上眼镜淘宝 编辑:程序博客网 时间:2024/05/18 03:04
//安装kurento 6.0echo "deb http://ubuntu.kurento.org trusty kms6" | sudo tee /etc/apt/sources.list.d/kurento.listwget -O - http://ubuntu.kurento.org/kurento.gpg.key | sudo apt-key add -sudo apt-get updatesudo apt-get install kurento-media-server-6.0sudo service kurento-media-server-6.0 start|stop//安装相关软件sudo apt-get install git maven nodejs npmwget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" https://edelivery.oracle.com/otn-pub/java/jdk/8u66-b17/jdk-8u66-linux-x64.tar.gzsudo tar zxvf jdk-8u66-linux-x64.tar.gz -C /usr/lib/jvm//设置环境变量:sudo vim /etc/profile#JAVAexport JAVA_HOME=/usr/lib/jvm/jdk1.8.0_66export CLASSPATH=.:$JAVA_HOME/lib:$CLASSPATHexport PATH=$JAVA_HOME/bin:$PATH:wqsudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.8.0_66/bin/java 300  sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.8.0_66/bin/javac 300  sudo update-alternatives --config javasudo reboot//安装测试demogit clone https://github.com/Kurento/kurento-tutorial-java.gitsudo chmod -R 777 kurento-tutorial-java cd kurento-tutorial-java/kurento-hello-worldsudo mvn clean compile exec:javalog:[INFO] Scanning for projects...[INFO]                                                                         [INFO] ------------------------------------------------------------------------[INFO] Building Kurento Java Tutorial - Hello World 6.6.0[INFO] ------------------------------------------------------------------------[INFO] [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ kurento-hello-world ---[INFO] Deleting /home/chenqy/kurento-tutorial-java/kurento-hello-world/target[INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java-version) @ kurento-hello-world ---[INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ kurento-hello-world ---[INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-bytecode-version) @ kurento-hello-world ---[INFO] [INFO] --- buildnumber-maven-plugin:1.4:create-timestamp (get-build-timestamp) @ kurento-hello-world ---[INFO] [INFO] --- buildnumber-maven-plugin:1.4:create (get-scm-revision) @ kurento-hello-world ---[INFO] Executing: /bin/sh -c cd '/home/chenqy/kurento-tutorial-java/kurento-hello-world' && 'git' 'rev-parse' '--verify' 'HEAD'[INFO] Working directory: /home/chenqy/kurento-tutorial-java/kurento-hello-world[INFO] Storing buildNumber: 46b428871d0f26378f3b2592fab70a6723dfaac4 at timestamp: 1482062377784[WARNING] Cannot get the branch information from the git repository: Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref[INFO] Executing: /bin/sh -c cd '/home/chenqy/kurento-tutorial-java/kurento-hello-world' && 'git' 'rev-parse' '--verify' 'HEAD'[INFO] Working directory: /home/chenqy/kurento-tutorial-java/kurento-hello-world[INFO] Storing buildScmBranch: UNKNOWN[INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ kurento-hello-world ---[INFO] Using 'UTF-8' encoding to copy filtered resources.[INFO] Copying 13 resources[INFO] Copying 1 resource[INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ kurento-hello-world ---[INFO] Changes detected - recompiling the module![INFO] Compiling 3 source files to /home/chenqy/kurento-tutorial-java/kurento-hello-world/target/classes[WARNING] bootstrap class path not set in conjunction with -source 1.7[INFO] [INFO] --- exec-maven-plugin:1.4.0:java (default-cli) @ kurento-hello-world ---   .------------------------------------.   |                                    |   |   | |/ /  _ _ _ ___ _ _| |_ ___    |   |   | ' < || | '_/ -_) ' \  _/ _ \   |   |   |_|\_\_,_|_| \___|_||_\__\___/   |   |                                    |   '------------------------------------'       Kurento Java Tutorial - Hello World       Version 6.6.02016-12-18 19:59:44.167  INFO 1690 --- [WorldApp.main()] o.k.tutorial.helloworld.HelloWorldApp    : Starting HelloWorldApp on localhost.localdomain with PID 1690 (/home/chenqy/kurento-tutorial-java/kurento-hello-world/target/classes started by root in /home/chenqy/kurento-tutorial-java/kurento-hello-world)2016-12-18 19:59:44.189  INFO 1690 --- [WorldApp.main()] o.k.tutorial.helloworld.HelloWorldApp    : No active profile set, falling back to default profiles: default2016-12-18 19:59:44.433  INFO 1690 --- [WorldApp.main()] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@5bce21ca: startup date [Sun Dec 18 19:59:44 CST 2016]; root of context hierarchy2016-12-18 19:59:47.936  INFO 1690 --- [WorldApp.main()] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring2016-12-18 19:59:49.639  INFO 1690 --- [WorldApp.main()] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8443 (https)2016-12-18 19:59:49.692  INFO 1690 --- [WorldApp.main()] o.apache.catalina.core.StandardService   : Starting service Tomcat2016-12-18 19:59:49.698  INFO 1690 --- [WorldApp.main()] org.apache.catalina.core.StandardEngine  : Starting Servlet Engine: Apache Tomcat/8.0.282016-12-18 19:59:50.010  INFO 1690 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext2016-12-18 19:59:50.010  INFO 1690 --- [ost-startStop-1] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 5589 ms2016-12-18 19:59:50.965  INFO 1690 --- [ost-startStop-1] o.s.b.c.e.ServletRegistrationBean        : Mapping servlet: 'dispatcherServlet' to [/]2016-12-18 19:59:50.983  INFO 1690 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean  : Mapping filter: 'characterEncodingFilter' to: [/*]2016-12-18 19:59:50.984  INFO 1690 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean  : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]2016-12-18 19:59:50.984  INFO 1690 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean  : Mapping filter: 'httpPutFormContentFilter' to: [/*]2016-12-18 19:59:50.985  INFO 1690 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean  : Mapping filter: 'requestContextFilter' to: [/*]2016-12-18 19:59:51.152  INFO 1690 --- [WorldApp.main()] o.s.s.c.ThreadPoolTaskScheduler          : Initializing ExecutorService  'defaultSockJsTaskScheduler'2016-12-18 19:59:51.356  INFO 1690 --- [WorldApp.main()] org.eclipse.jetty.util.log               : Logging initialized @27252ms2016-12-18 19:59:51.771  INFO 1690 --- [ntLoopGroup-2-1] o.k.j.c.JsonRpcClientNettyWebSocket      : [KurentoClient]  Inititating new Netty channel. Will create new handler too!2016-12-18 19:59:52.163  INFO 1690 --- [WorldApp.main()] o.s.w.s.s.s.WebSocketHandlerMapping      : Mapped URL path [/helloworld] onto handler of type [class org.springframework.web.socket.server.support.WebSocketHttpRequestHandler]2016-12-18 19:59:52.684  INFO 1690 --- [WorldApp.main()] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@5bce21ca: startup date [Sun Dec 18 19:59:44 CST 2016]; root of context hierarchy2016-12-18 19:59:52.885  INFO 1690 --- [WorldApp.main()] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)2016-12-18 19:59:52.890  INFO 1690 --- [WorldApp.main()] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)2016-12-18 19:59:52.907  INFO 1690 --- [WorldApp.main()] o.s.w.s.c.a.WebMvcConfigurerAdapter      : Adding welcome page: class path resource [static/index.html]2016-12-18 19:59:52.951  INFO 1690 --- [WorldApp.main()] o.s.w.s.handler.SimpleUrlHandlerMapping  : Root mapping to handler of type [class org.springframework.web.servlet.mvc.ParameterizableViewController]2016-12-18 19:59:53.202  INFO 1690 --- [WorldApp.main()] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]2016-12-18 19:59:53.203  INFO 1690 --- [WorldApp.main()] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]2016-12-18 19:59:53.340  INFO 1690 --- [WorldApp.main()] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]2016-12-18 19:59:53.657  INFO 1690 --- [WorldApp.main()] o.s.j.e.a.AnnotationMBeanExporter        : Registering beans for JMX exposure on startup2016-12-18 19:59:53.684  INFO 1690 --- [WorldApp.main()] o.s.c.support.DefaultLifecycleProcessor  : Starting beans in phase 21474836472016-12-18 19:59:54.700  INFO 1690 --- [WorldApp.main()] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 8443 (https)2016-12-18 19:59:54.713  INFO 1690 --- [WorldApp.main()] o.k.tutorial.helloworld.HelloWorldApp    : Started HelloWorldApp in 11.598 seconds (JVM running for 30.612)//测试https://xx.xx.xx.xx:8443

0 0
原创粉丝点击