Recently want to build MySQL cluster and read-write classification, because there is no actual project, everything is my own way to build, if there is a problem still hope to teach
1 preparing the MySQL 5.5* environment on the virtual machine
This article is mainly used for common commands of the memo, the specific usage can be viewed by man, or query other information.CD: Changing the working directoryLS: List contents of directorymkdir: Create a directoryCat: Connect and display
A:Ls-la The information enumerated contains 7 fields in tab: -rwxrwxrwx 1 gaoqin gaoqin 93068 Jul 22 0 7:39 jquery-1.9.0.min.js
First field: The first character indicates the file type
-: ordinary documents;
d: catalog
Title reported the following error: (Environment is CentOS7)In file included from Greenlet.c:5:0:greenlet.h:8:20:fatal error:python.h:no such file or directory #include ^compilation terminated.error:Setup script exited with Error:
Linux shell Command cat, linuxshellcat
Cat: view the file content, connect to the file, create one or more files, and redirect the output to the terminal or file. Usage: cat [Option] [file]
1. $ cat hello.txt
Displays the content in the hello.txt
Linux common shell commands ls and linuxshell commands ls
Ls: view the file name and directory. Usage: $ ls [Option]
1. $ ls
Directly enter the ls command to list all files and directories in the current directory without displaying details, such as
History command usage
History is a very practical shell command that can display the commands run in the shell before. With the last command, you can trace which user has executed some commands. The following describes the Common commands or
Set the highlight, line number, and indent of vim configurations in centos.In centos, the vim configuration file is stored in the/etc/vim directory. The configuration file name is vimrc.Enter the following command on the terminal to edit the vimrc
CentOS6.5 install setuptools, pip, and django
To install pip, you must first install setuptools:
#unzipsetuptools-18.3.2.zip
#cdsetuptools-18.3.2
#pythonsetup.pyinstall
Install
CentOS permission system recovery/restoration
Sometimes the chmod-R is 777/, and the system is paralyzed ~ What should we do ?? Let's take a look.
First, you must prepare the same system as the faulty machine. For example, you can install a
Shared Internet access configuration for two NICs in CentOS 6.6Implementation Method: Enable Intranet servers to access the Internet by setting iptables nat rules
1. system
The number of Linux games on Steam has exceeded 1500
Two years after Valve announced the Steam for Linux plan, the number of Linux games on the Steam platform exceeded 1500, compared with 6464 for Windows games and 2323 for OS X. The most popular
NGINX Plus now fully supports HTTP/2
Earlier, we released NGINX Plus R7 that supports HTTP/2. As the latest standard of HTTP protocol, the design of HTTP/2 brings higher performance and security to current web applications. (LCTT: the open-source
How to Set cache validity period in Apache
Today, I learned how to set cache time in Apache and remember it as a memo.
In the http header, the two fields related to the Cache time are Expires and max-age in Cache-Control. Expires sets a Cache
Install HDFS 2.7.1 on CentOS 6.6
This article tries to build 10 HDFS clusters on CentOS, instead of YARN and Hive, because Spark will be used later. Install jdk 1.8 first, which is not described here.
The server has 12 disks, so this is a real
Install and configure Samba in CentOS7
I. Samba Introduction
Samba is a free software that implements the SMB protocol on Linux and UNIX systems. It consists of servers and client programs. Server Messages Block (SMB) is a communication protocol
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service