This blog post operates a system environment for the CentOS system, with the goal of deploying a Tomcat and a Java Web application running on the Tomcat system. The system environment of the deployment is limited, mainly manifested in: Tomcat has been deployed on the host, the newly deployed tomcat should not affect the access of the original Tomcat and the corresponding
1, Yun Ops-webProject Packaging (War)---This project is a MAVEN projectProject Structure please operate in Eclipse . 1) General situation first clean up pom.xml Right-click -->run as-->maven2) Packaging Operation Pom.xml right -->run as-->maven install--> (War package will be hit at target directory )files under the target directory :2,websphere Server and Virtual host Log on to the WebSphere console: http://10.181.77.68:9060/ibm/console/login.do The server creation process.Server--se
1, memcached general application$MC=NewMemcache ();$MC->conncet (' 127.0.0.1 ', 11211);$sql=sprintf("SELECT * from users WHERE uid =%d",$_get[' UID ']);$key=MD5($sql);//whether the test results have been cachedif( !$data=$MC->get ($key)){ //no cache is read directly from the databaseMysql_conncet (' localhost ', ' test ', ' test '); mysql_select_db(' Test '); while($row=Mysql_fetch_object(mysql_query($sql))){ $data[] =$row; } //and cache
First, preface
What is the main content of this article?
Publish the project to a local directory
Transfer items to the server and configure startup Boot Auto-start
Configure the reverse proxy as an access entry for Nginx
This article environmental information
Development environment:
Use
Tools Versions
Operating system
Windows 10
Development tools
Visual Studio 2017 (15.7.5)
Sdk
. NET Core SDK 2.1
a template, Container1 is a real basin created from this template, which runs on our tomcat. So we can create a lot of container with the same image. Three. Deploy our applications on Tomcat
Next we are going to deploy our application, the idea is to enter into the container1 inside, at this time can think of Container1 as a new machine, we only need to go to Tomcat WebApp lost war, and then restart on the line. 1. Go inside the container
Docker exec
Linux Server Batch Deployment application shell script:1. Please replace the server address (Tomcat or jetty server) within the codeserverroot=/home/undoner/java_tool/apache-tomcat-7.0.61Serverdir=/home/undoner/java_tool/apache-tomcat-7.0.61/webapps2. Please change the name of the profile to which the project belongs/web-inf/classes/install.properties3. Upload the war packet to the directory at the same lev
DescriptionWe use an example to demonstrate the basic configuration of the Kubernetes deployment application.This is a relatively simple example of a tomcat application plus a MySQL databaseRunning a simple webappp in Tomcat, this app accesses MySQL to get the data. and displayed on the page. For demonstration and simplification purposes, as long as the program is properly connected to the database, it auto
For Java desktop applications, the more annoying is the installation of deployment issues, the client is installed with JRE, JRE version of the problem, where the JRE to download, how to use the JRE to start your Java application? Do not say that people who have just contacted the computer, is more familiar with the computer, if not touched Java, face a Java application
About Docker:Docker is an open-source engine that makes it easy to create a lightweight, portable, self-sufficient container for any application. Developers who compile tests on notebooks can be deployed in batches in a production environment, including VMS (virtual machines), bare metal, OpenStack clusters, and other underlying application platforms.Docker is typically used for the following scenarios:
Deployment of the VNC application for Linux 1.1.1 Install packages[Email protected] ~]# rpm-q vnc-server[email protected] ~]# Yum install vnc-server VNC 1.1.2 Set User Password[Email protected] ~]# VNCPASSWDPassword:Verify:Note: After the password is set, the Root directory to create a . VNC The hidden directory 1.1.3 Editing a service configuration file[email protected] ~]# vi/etc/sysconfig/vncser
IIS runs a 32-bit. NET program on a 64-bit subnetBecause the 64-bit operating system does not support Microsoft OLE DB Provider for Jet driversEarlier Microsoft Access Driver (*.mdb) connections are also not supported.So Microsoft OLE DB Provider for Jet used for Access and Excel databases is not available in the 64-bit version, which means that the following two connection strings are not working correctly:"Provider=Microsoft.Jet.OLEDB.4.0;Data source=" server.mappath (db) "Driver=microsoft Acc
1 First make sure that you have a user name that is remotely connected to the Linux server on which WebSphere resides, password2 log in to a Linux server with any tool3 Viewing all processes using the Ps-ef|grep Java command4 Locate the problematic server node process and kill5 Enter WebSphere corresponding bin directory, start startnode.sh6websphere Console starting the server node... As a backup, Daniel won't have to look.An issue that does not start after the
configuration of one of the lines can not, I am too troublesome, have been configured, two external hive Lib directory under the need to have the MySQL JDBC driver jar package.1. Metastore Error starting Hive hive-0.12 version deployment:
Error 1:
Hive-site.xml
Error 2:
Metaexception (message:version information not found in Metastore.)
2. Start spark1.1 clusterstart-all.sh3, start the CLI side of the Sp
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.