settings have all ended. Next, let's take a look at how the client tool (Navicat) connects to the database.
Connect the client to PostgreSQL
For example, since the client is connected, the first step is to open the port. In CentOS 7, a more powerful Firewall-Firewall, therefore, we need to enable PostgreSQL's default
server, you need to set the database service to boot:
The setup-related settings are complete and then look at how the client tools (NAVICAT) connect to the database.
Client Connection PostgreSQL
As the title, since the client to connect, first step is definitely open port, in CentOS 7 introduced a more powerful firewall--
Install Nginx in CentOS 7 for reverse proxyQuestion
Nginx reverse proxy is required. The test environment is centos + NGINX 1.8.0.
Skip some tedious issues and directly record the coreProcedure
(1) install centos In the VM, so pay attention to network connection issues (2) install nginx using the yum feature with netwo
to 7, CentOS replaced the original iptables with Firewalld. Below is a note on how to open Linux ports using FIREWALLD--zone: Scope, the network region defines the trusted level of the network connection. This is a one-to-many relationship, which means that a connection can only be part of a region, and a region can be used for many connections--add-port: Add port and communication protocol in the format:
website Download
1. Direct download. tar.gz installation package, Address: http://tomcat.apache.org/download-70.cgi
2. Use the wget command to download (recommended).
Wget-c http://mirrors.hust.edu.cn/apache/tomcat/tomcat-7/v7.0.70/bin/apache-tomcat-7.0.70.tar.gz
Decompression
remain the direct command:
TAR-ZXVF apache-tomcat-7.0.70.tar.gz
Start
Enter the unpacked apache-tomcat-7.0.70-bin directory and execute the command:
./startup.sh
After star
ports. Start Jupyter Notebook Direct start using the following command to start Jupyter Notebook:jupyter Notebook at this time, access to http://115.159.157.37:8888 to enter the Jupyter home. Creating a notebook background run directly with the Jupyter Notebook command to start Jupyter will break when the connection is broken, so we need to have the Jupyter service in the background. First press Ctrl + C and enter Y to stop the Jupyter service, and t
Prospect:1. Install the x86_64 version of the CentOS 7 system (or the corresponding version of Red Hat, etc.) to the GNOME Desktop edition.2. Download and install and activate Xmanager Enterprise 5 for connection access to Linux systems, data transfer, etc.3. Download the unpacked Oracle 11g R2 for Linux package and place the [Database/stage/components/oracle.jdk/1.5.0.17.0/1/datafiles/all.jar] Add the fold
Installation InstructionsInstallation Environment: CentOS-7.0.1406Installation mode: source code installationSoftware: apache-tomcat-7.0.29.tar.gzDownload Address: http://tomcat.apache.org/download-70.cgiInstallation PrerequisitesThe system must have the configuration jdk6+ installed, please refer to: Install and configure JDK-7 in CentOS-6.3.Install TomcatUp
/bin/tomcat-juli.jarTomcat started.The above information indicates that the instance has been started successfully.3. Open firewall port 8080[Root @ cloud/] vi +/etc/sysconfig/iptables# Add the following code# Tomcat 1, 8080-A input-m state -- state NEW-m tcp-p tcp -- dport 8080-j ACCEPT4. Restart the Firewall[Root @ cloud/] service iptables restart5. Check whether Tomcat is installed and running. Check whe
MySQL is a relational database management system developed by the Swedish MySQL AB company and is currently part of Oracle's product portfolio. MySQL is one of the most popular relational database management systems, and MySQL is the best RDBMS (relational database Management system) application software for WEB applications.
MySQL Version Introduction
MySQL Community Server Community Edition, open source is free, but does not provide official technical support.
MySQL Enterpris
. Copy the configured Hadoop to the corresponding locations of each node and transmit it through scp,Scp-r/home/hadoop 192.168.0.183:/home/Scp-r/home/hadoop 192.168.0.184:/home/
12. Start hadoop on the Master server, the slave node will automatically start and enter the/home/hadoop/hadoop-2.7.0 directory(1) initialize, enter the command, bin/hdfs namenode-format(2) All start sbin/start-all.sh, can also be separated sbin/start-dfs.sh, sbin/start-yarn.sh(3) If you
client tools, after all, we are to do database server, here I choose the tool is Navicat Premium, On the host (WINDOWS7), open the Navicat connection test with the PostgreSQL server in the virtual machine:For example, you can find that the connection is successful, the same as stopping the database can use the command pg_ctl stop to shut down the PostgreSQL service, very simple, this is about the source code compiled and installed PostgreSQL is all o
-P8066 Vi. Test 1, the client can see the XXY database created earlier2. Verifying load Balancing#从服务器关闭同步
stop slave;
#主服务器添加内容
insert into zang values(‘1‘,‘zhang‘,‘this_is_master‘);
#从服务器则不会同步添加的内容
#在两台从上分别添加如下内容
Slave1:
use xxy;
insert into zang values(‘2‘,‘zhang‘,‘this_is_slave1‘);
Slave2:
use xxy;
insert into zang values(‘3‘,‘zhang‘,‘this_is_slave2‘);
#在客户端上测试----第一次会向从服务器1读数据-第二次会各从2读取
select * from zang; MasterSlave1Slave2Client3. Verify read/
required by Odoo. To complete the installation, run the following command.
# yum install epel-release
Now, after installing EPEL, we now use yum-config-manager to add the Odoo (OpenERP) repository.
# yum install yum-utils
# yum-config-manager --add-repo=https://nightly.odoo.com/8.0/nightly/rpm/odoo.repo
3. Install Odoo 8 (OpenERP)
Add the Odoo 8 (OpenERP) repository to CentOS 7. We use the followi
This article takes the installation and configuration of a hadoop cluster composed of three machines as an example.
The information of the three machines is as follows:
Hostname role IP Address
DC01 mast 192.168.68.57
Dc02 slave 192.168.68.58
Dc03 slave 192.168.68.59
The username is root.
1: Install jdk1.6 and configure the Java environment. For details, refer: Install JDK in Tomcat 7 on centos6
2: Configure SSH password-less logon for
Installation InstructionsSystem Environment: centos-6.5Installation Method: RPM InstallationSoftware: jdk-7-linux-x64.rpm: http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.htmlNote: Rpm,gz file differencesThe first to solve the Linux friends must be a special headache for software installation, the same is for Linux, but rpm,
How to Install MySQL on CentOS 7Updated Thursday, August 27th, by LinodeUse promo codeDOCS10For $ credit to a new account. Contribute on GitHub View Project |View File | Edit FileMySQL is a popular database management system used for Web and server applications. However, MySQL is no longer in CentOS's repositories and MariaDB has become the default database system offered. MariaDB is considered a drop-in replacement for MySQL and would are sufficient
first step must be open port, introduced a more powerful firewall--firewall in CentOS 7, so we need to open the default port 5432 of PostgreSQL in Firewall, That is, adding 5432 ports to the zone (firewall's new feature, which simply means defining the trusted level of netw
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.