Configuration of the primary site (basic configuration)
(1) Basic Configuration:
Serverroot "/mnt/software/apache2" # location of your Apache software installation. If no absolute path is specified for other specified directories, the directory is relative to this directory.
Pidfile logs/httpd. pid # the location of the Process number file of the first HTTPd proc
Linux user configuration file (version 2) and linux configuration file/Etc/passwd file profiling
File Format:
Root: x: 0: 0: root:/bin/bash
Username: Password: UID: GID [default group ID]: annotation Description: Home Directory: shell [Part 7]
Linux user category:
Super User (root, UID = 0)
Normal user (UID = 500 ~ 60000) # The maximum value can be changed.
Pseudo user/special user (UID = 1 ~ 499)
# There
Troubleshoot CentOS7 IP configuration and network problems, and centos7 ip configurationNote content: CentOS7 configuration IP address and network troubleshooting Note Date: 2017.8.1 CentOS7 configuration IP Address: Because the CentOS operating system we installed is installed with minimal, therefore, there is no graphical interface or some software or plug-ins.
Detailed description of project-related configuration files extracted during vue-cli packaging, vue-cli configuration file
When using vue-cli for development, you often need to dynamically configure some settings, such as the request address of the interface (axios. defaults. baseURL), these settings may need to be set after the project compilation, so in vue-cli, We need to detach these
. Therefore, keepalived on the one hand has the server health detection function, on the other hand also has the HA cluster function. The official site of the keepalived is http:// www.keepalived.org, you can download to various versions here, we download here is keepalived-1.1.19.tar.gz, installation steps are as follows: [ROOT@DR1 ~] #tar ZXVF keepalived-1.1.19.tar.gz [root@dr1 ~] #cd keepalived-1.1.19 [Root@dr1 keepalived-1.1.19]#./configure --SYSCONF=/ETC \ >--with-kernel-dir=/usr/src/
Django-database [configuration], django-Database Configuration
OS: mac, django1.9.5, python3.5
Database: mysql
0. Background
The built-in django database is as follows:
You must download and install the corresponding database adapter no matter which database server you choose to use.
Table 1-1. database engine settings
Set
Database
Adapter
Postgresql
Pos
MYSQL usage experience (8)-configuration and recovery of online master-slave replication cluster and online execution of master-slave configuration FLUSHTABLESWITHREADLOCK; UNLOCKTABLES; there is a master.info file under the slave database data folder, is unique from the machine. Reset slave Database: used to make the slave server forget its binary log in the master server
MYSQL usage experience (8)-
Environment configuration in Yii2 and Yii2 environment configuration. Environment configuration in Yii2, default Debug configuration in Yii2 environment configuration defined (YII_DEBUG) ordefine (YII_DEBUG, true); defined (YII_ENV) ordefine (YII_EN Yii2 environment
Cisco UCS C-Series Server Configuration GuideAfter rebooting, press Ctrl+h to enter the RAID configuration interface in Figure 6, as shown in the 5 interface.650) this.width=650; "title=" clip_image002 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image002 "src=" http://s3.51cto.c
http://blog.csdn.net/apple_llb/article/details/50253889The configuration of Apache is configured by the httpd.conf file, so the following configuration directives are modified in the httpd.conf File. Configuration of the primary site (basic Configuration) (1) Basic configuration
The controller in the PHP framework can always use the constant in the configuration file, the principle is the configuration file include in it?
and Www.baidu.com/index/demo, access to the index controller in the demo method, why a URL can be instantiated to instantiate a controller class, what is the principle? Thank you
Reply content:
The controller in the PHP framework can always use the constant i
WIN10 Environment PHP 7 Installation Configuration "Tutorial", WIN10 installation configuration
PHP 7 out for some time, the previous days work relatively busy, no time to study, now a little time, the company's production environment can not be easily upgraded, the home's own computer can also be installed to see the effect.
The following is a brief description of the installation of PHP 7 + Apache 2.4.
A
Mac PHP configuration, macphp configuration
Apache Default Path Configuration method Apache's configuration Apache has its own, only the following three commands are available. Open Apache service sudo apachectl start stop Apache service sudo apachectl stop restart service sudo apachectl Restart view version httpd-v ma
Examples of Linux backup nginx.conf files:cp/usr/local/nginx/nginx.conf/usr/local/nginx/nginx.conf-20171111 (date)In the process list, look for the master process, whose number is the main process number.View processCat/usr/local/nginx/nginx.pidReload the config file Linux command every time you finish modifying the Nginx file:/USR/LOCAL/NGINX-T //Verify that the configuration file is legitimateIf the nginx.conf
MySQL multi-instance configuration (2), mysql instance Configuration
For centralized O M of MySQL databases, you can deploy multiple MySQL instances on one MySQL database server. This function is implemented through mysqld_multi. Mysqld_multi is used to manage multiple mysqld service processes. These mysqld service process programs can use different sockets or listen to different ports, and distribute data
Experimental environment:centos6.6 "This node IP is 172.16.3.101" configured yum source "can be the Yum source point to Sohu or Ali Mirror site, can also be their own CD-ROM" compiled installation configuration nginx1.6# It is best to install the following packages before installation [[Emailprotected]httpd-2.2.29]#yumgrouplist|grep-i ' Develop ' AdditionalDevelopmentDevelopmenttools serverplatformdevelopmentdesktopplatformdevelopment# Installation
"%", it indicates that all machines are authorized, '123' indicates the Database Password flush privileges;
If you find that remote access is still not available, it may be caused by the firewall. I am suffering from this problem for a long time. Run the following command:
service iptables stop
6. Create a redmine Database
This step is to prepare for the subsequent redmine Data Structure generation.
create database redmine character set utf8;
7. modify the
Linux configuration NIC IP address command detailed introduction and some common network configuration commands 2010- A- - 0Comments Collection I want to contribute to the Linux command line under the configuration of the IP address is not as convenient as the graphical interface, completely need our manual configuration
The static resource files in the Spring boot project are stored under the static file, and when these static files are accessed through a browser, it is found that you must add static as a prefix to access, and after a toss, this prefix is followed Spring.mvc.static-path-pattern is related to this configuration item.Spring: MVC: static-path-pattern:/static/**In the APPLICATION.YML configuration fi
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.