classes to load, what parameters are set in the context, and how to handle requests from the browser.Xmlns= "Http://java.sun.com/xml/ns/javaee"xsi:schemalocation= "Http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"Id= "webapp_id"version= "3.0" >In the basic Web. XML, we need to add components within the Web-app element, such as listener, filter, servlet, etc., based on the project needs, first of all we let the project start.4. Add Maven packaging configuration
, such as:Finally, open the Windows Service (Task Manager-service) Ebm-web ran up;Next is Ebm-mobile-web, repeat the above step, remember to change the port and the like,The command to delete a service is:[Plain]View PlainCopy
Service.bat Remove your service name
Note: Tuning JVM memoryTomcat's default memory is small and can cause out-of-memory exceptions, so we need to make the memory larger in the formal environment.Method One:Execute in the bin dire
than the HTTP protocol.
OpenSSL generates a certificate fileAs long as the Git client is installed, there will be OpenSSLDetect if OpenSSL is installedOpenSSL version-aNext, start generating the certificate:#1#2, generate CSR certificate signature via private key -new-key Privatekey.pem- Out certrequest.csr#3-req- in Certrequest.csr-signkey privatekey.pem-out Certificate.pemAfter executing the third command you will see: Signature ok表示生成成功,最终看到如下三个文件
PRIVATEKEY.PEM: Private key
I've never tried to manage projects with Maven before, but it's really inconvenient to find packages manually, so today's 2016 version of Idea makes a first attempt at Maven.
Open idea and create a new project:Then choose Maven, and choose your own computer's JDK:Next customize GroupID and Artifactid, here is the demo, so just name itThen customize the project name, Finish:Maven Creation CompleteIn Maven, the first creation will generate Main/java and main/resources directories under SRC,
:
123456789
@EnableEurekaServer @SpringBootApplication public class application { public static void main(string[] args) {
new Springapplicationbuilder (Application.class). Web (True). Run (args);}
By default, the service registry will also try to register itself as a client, so we need to disable its client registration behavior by simply application.properties adding the following information to the configuration file:
123456
s
CentOS Firewall setup has been completedIssue 3: After installation, you cannot access your website using public IP. And your LAN IP can be accessed.I am now using a telecommunications dial-up, the operator does not allow the personal host to open 80 ports, to provide Web services ... Fuck!!!At this point we can find the Apache directory, set the external port to modify the port you want, anyway, as long as it is not 80 good ....You will then be able to access your website via the public IP net
.jpg "style=" border:0px; "/>Today is just a brief description of the Honghu Cloud architecture code structure, the next one we will detail the function of each code structure, the use of instructions, design ideas and so on.From now on, I will be documenting the process and essence of the recent development of the spring cloud micro-service cloud architecture to help more friends who are interested in developing the Spring cloud framework to explore the process of building the spring cloud arch
Ubuntu builds a LNMP+REDIS development environment based on Docker
Server environment: Ubuntu 14.04
1. Install Docker
1.1 Execute the UPDATE command, and the server synchronization package, the implementation of Apt-get install * Can download the latest software.
1.2 Installing Docker and creating soft links
1.3 Enable Docker Service
2. Get the mirrors needed to build the environment
2.1 MySQL Mirror
2.2 Redis Mirroring
2.3 NGIN
Tags: system span ade Create key class CAS no view1. First we can log in to Oracle as SYSDBA as a Scott user. Conn Scott/tiger as sysdba 2. Then I'll be able to create the user. Create user Zzg identified by zzg123; 3. Create a good user we can then modify the user's password. Alter user ZZG identified by Unis; 4. By default, the user is assigned a table space (users) by default when created.We can use the following SQL statement to look at the tablespace where all the users are located. Selec
1. Install MySQL ODBC driver on SQL Server side2. Add MySQL to an ODBC data source (Control Panel \ All Control Panel items \ Administrative Tools)To add a configuration driver to a User DSN and System DSNNote: The character set must correspond to the MySQL server, if MySQL uses the GBK character set, it is necessary to set the character set to GBK, otherwise import into SQL may appear the question mark garbled.3. Establishing a connection server on the SQL Server sideAfter filling out may be ou
way I show it is/usr/lib64/unixodbc/libodbcpsqls.so/usr/lib64/unixodbc/libodbcpsql.soPostgreSQL situationPostgreSQL version is 9.3.4, the database is Foo, the user is sdbadmin, the service port is 5432There are two tables in PostgreSQL, one is the table test of PostgreSQL itself;One is PostgreSQL external table Chen, docking is sequoiadb data source (how to achieve PostgreSQL docking sequoiadb, can refer to:http://www.sequoiadb.com/index.php? p=whitepaper_7)4 Configuring the Unixodbc to fit the
, the A-b node cannot use Windows account authentication with each other (check the domain environment, consider whether there are multiple network conflicts) In fact, you will find that the status on the AB node becomes synchronized, and you can now log into the DB instance of the High Availability group directly using the external IP + domain account of the failover cluster mentioned earlier. The availability group also has an availability group object that you configure. The listener is t
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.