Recently, because of the needs of the project to start a large number of nginx, so also want to take the opportunity to use the previous Django+apache architecture to replace the Django+nginx. The common Django WebApp deployment approach is FCGI
0. Remove unnecessary tables and stored procedures from the 200 server Setup database
DROP TABLE "Sensorpressure";DROP FUNCTION hex_to_int (text);DROP FUNCTION "Pressuredatatosensorpressure" ();
1. Back up 200 of the SETUPD database,:p g_dump-d-H
Strict intranet environment, no network connection, the newly installed Fedora 22 system, no other configuration.Installation 1. Installation Environment:
Operating system: Fedora 22
Database: postgresql-9.4
The installation process
First, introduction:PG provides a new feature after the 9.* release, which is the read and write separation of stream replication, which is a typical application of PG high availability. This feature is called Active Dataguard in Oracle and is
Gerrit IntroductionGerrit is a web-based code review tool built on Git. As you all know, Git is a distributed code versioning tool that is often used in collaborative development work environments where programmers submit their own modified code to
I. Soft requires (MASTER/SLAVE)Os:centos Linux release 7.3.1611 (Core) X641.disabled SELINUX# More/etc/selinux/config# This file controls the state of the SELinux on the system.# selinux= can take one of these three values:# Enforcing-selinux
The system and software used Ubuntu 12.10Python 2.7.3Django 1.4.2Pycharm 2.6.3Postgresql 9.1VirtualenvVirtualenvwrapperOpenjdk Before you start, be sure to make a backup of your system. Because if the operation is wrong, there will be unnecessary
Running out of disk space in the Pg_xlog directory is a fairly common Postgres problem. This important directory holds the WAL (Write Ahead Log) files. (WAL files contain a record of all changes made to the Database-see the link for more details).
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.