Precautions for uninstalling and installing Wamp (Please bypass integration) Precautions for uninstalling Wamp: Close the application and stop the service. In cmd, SC Delete MySQL SC Delete apache2.2 Notes for copying PHP: None of the files copied from PHP are PHP. INI but PHP. ini-embedded lopment and a PHP. ini-production we usually change the former name to PhP for development. configure PHP using ini Notes for installing MYSQL: Set the data directory to the installation directory, and s
Configuration Management is a general term for technical and management measures to ensure product consistency, stability, traceability, and rollback during software development.
Configuration management is often ignored because the focus of the software development process is "development.
Many people think that the document andCodeIn version management tools, it is called
Ueditor1.4.3 configuration process (including the use of separately uploaded files and images), ueditor1.4.3 upload Configuration
Here we use the UTF-8 version of the jsp version of ueditor1.4.3.
Download the corresponding ueditor and copy the ueditor folder to the project. The file structure is as follows:
Then, import the jar package used by the project to the lib directory. Before importing the package,
I wrote an article about AR configuration a few days ago. I wrote it after I made a small instance for a friend who just learned AR. I used IConfigurationSource, activeRecord is in the web. as configured in config, ActiveRecord can be written elsewhere or dynamically configured. For example, it can be configured using XML or Hashtable. next I will briefly introduce how to configure it.
1. Use XML configuration
Tomcat multi-domain configuration and Tomcat Domain ConfigurationEnvironment
One tomcat, multiple projects are deployed below
There is an independent IP Address
Multiple top-level (second-level) domain names direct to different projects.
DNS Configuration
DNS has no special requirements. You only need to point all configurations to this IP address.Tomcat configurati
POJO class and ing configuration file, pojo ing configuration file
Requirements on persistent objects
1. Provides a no-argument Constructor so that Hibernate can use Constructor. newInstace () to instantiate a persistent object.
2. Provide an identifier property ). It is usually mapped to the primary key field of the database table. Without this attribute, some functions will not work, such as Session. save
First, the configuration is delimited by the = sign, preceded by the expression of the configuration item, followed by the configured valueFunction: Can read TXT configuration file and modify TXT configuration fileWe can understand the form of key=value, above, can explain some, no nonsense, the code below it.Private S
comparison concept. It has a special meaning for IP addresses, representing all IP protocols.Source-addr is the source address.Source-mask is the source address configuration bit. It is optional in the standard access list. If it is not input, it indicates that the configuration bit is 0.0.0.0.Dest-addr is the destination address.Dest-mask is the wildcard location of the target address.Operator [Optional]
The ngin configuration file is as follows:
User nobody nobody;Worker_processes 4; Nginx number of processes to openError_log Logs/error.log Notice;PID Logs/nginx.pid;Worker_rlimit_nofile 65535; For binding worker processes and CPUs, more than 2.4 of Linux cores are availableevents{
use epoll; worker_connections 65536; //用于定义Nginx每个进程的最大连接数 }
The PHP-FPM configuration file is as follows:
5
Haproxy configuration for Server Load balancer and haproxy configuration for Server Load balancerCommon Open-Source Software load balancers include Nginx, LVS, and Haproxy. Comparison of three major software load balancers (LVS Nginx VS Haproxy)
I. LVS:1. Strong load resistance. Strong load resistance and high performance, up to 60% of F5 hardware; low consumption of memory and cpu resources2. Working on La
Kind Oracle 11GR2 RAC installation configuration-Prerequisite configuration phase
Installing the Oracle 11GR2 11.2.0.4 RAC cluster based on Linux RedHat 6.4 in Vmwarevcenter server
1. Network Planning
Where public and private are divided into different network segments. Guaranteed Safe Transmission
[root@zracnode1~]# cat/etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4localhost4.localdomain4
1) php.ini Configuration Extended Configuration(Note that the Extention_dir path is consistent with the physical path)Extension=php_gd2.dll is almost always open, this graphics processing extension is widely used in uploading avatar processing, online photo processing, verification code and so on.Extension=php_mbstring.dll is almost certainly open, without him, multi-byte strings (such as Chinese) intercept
Spring configuration notes in javaEE and javaeespring Configuration
0 JavaEE project directory
0.1 WebContent
The main directory of the project. You can name it yourself when creating a project in eclipse. The content of this folder will be published to tomcat's webapps during deployment.
In this directory, you can create a JS/CSS/JSP folder and index. jsp as the front-end content accessed by the user. Serv
ExceptionIn the use of the time, encountered a partial exception, I use the latest Spring version, Spring-4.2.5 version of the first to ensure that your configuration file introduced in the following Red section.Then there are several packages that need to be imported:1. Aspectjrt.jar2. Aspectjweaver.jar3. Aopalliance-1.0.jarWhen I was using it, the exception information was caused by the absence of a third jar package:Warning: Exception encountered d
The configuration template of the hibernate. cfg. xml file and the configuration parameters of different databases
(1) configuration template of the hibernate. cfg. xml file
Com. mysql. jdbc. Driver
Root
Root
Jdbc: mysql: // 127.0.0.1: 3306/hibernatetest
Org. hibernate. dialect. MySQL
Tomcat configuration file description, tomcat configuration file
I have never noticed the role of the configuration file in the conf directory of tomcat in the past tomcat usage. It is the idea of "tailism" and has never been studied in depth. However, I recently encountered many problems related to tomcat configuration
Nginx reverse proxy configuration with Apache backend federated configuration: Description: Nginx maps http to a specific subdirectory on Apache. Configuration method steps: 1. Set the domain name, the sub-domain map to the specified server ip,2. Nginx set up the server, as well as the corresponding directory, or forward to the specified Apache port. Server {
. Set auto-start upon startup and check whether the setting is successful:
[Root @ samba ~] # Chkconfig -- level 35 smb on
Check whether it is successful:
[Root @ samba ~] # Chkconfig -- list | grep smb
If the result is displayed in red (samba service is automatically run on level 3 and Level 5), the setting is successful:
Smb 0: off 1: off 2: off 3: on 4: off 5: on 6: off
4. Service Configuration:
Samba service c
nameSSHD_CONFIG–OPENSSH SSH Server Daemon configuration fileOutline/etc/ssh/sshd_configDescribeSshd reads the configuration information by default from the/etc/ssh/sshd_config file (or the file specified by the-F command-line option).A configuration file is made up of "instruction value" pairs, one per line. Blank lines and lines that begin with ' # ' are ignored
XML configurationAdvantages: Centralized configuration, code configuration separation more convenient managementDisadvantage: Complex, compilation period is not easy to find errorsJavaconfig ConfigurationAdvantages: Simple Code,Disadvantage: The domestic XML configuration method is more, not easy to be accepted by peopleSteps to use:1. Write the annotations on th
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.