Here first of all thank the wine brother to build a highly available Linux server This book, read this book and reference inside the configuration let oneself to drbd+heartbeat+nfs thinking clearly a lot.
DRBD is simply a network raid-1, generally
The safest way to kill a process is simply to use the KILL command.
First use the PS-EF command to determine the PID to kill the process, and then enter the following command:
# Kill-pid
Note: The standard KILL command usually achieves the
1. Install Nginx
1.1 Select stable version
We compile and install Nginx to customize our own modules, machines CentOS 6.2 x86_64 . First install the missing dependency pack:
# yum -y install gcc gcc-c++ make libtool zlib zlib-devel openssl
In general, we will automatically install the system after the installation of the VSFTP service, but sometimes it is necessary to do their own, such as the two days in the configuration for my friend, the process to record down, so that when needed
Recently, due to project requirements, the server upgraded from CentOS6 to CentOS7, and the corresponding PHP version was upgraded to PHP5.6. We are familiar with the LEMP environment one-click installation package, but this article we will install
1.FIREWALLD Introduction
FIREWALLD is a major feature of CENTOS7, with two benefits: support for dynamic updates, no need to restart services, and the second is the "zone" concept of a firewall.
FIREWALLD has a graphical interface and command line
First, configure the firewall, open 80 ports, 3306 ports
CentOS 7.0 uses firewall as a firewall by default, and this is iptables firewall instead.
1. Close firewall:
#停止firewall服务Systemctl Stop Firewalld.service #禁止firewall开机启动Systemctl Disable
1. After entering Linux, use the docker command to download MySQL, commands such as:Docker Pull mysql:5.7After you run the command, the following log is displayed:[[email protected] ~]# docker pull mysql:5.75.7: pulling from library/
CENTOS6after the virtual machine is cloned, the NIC name changes, and the default network card name is eth0. The network card for the cloned virtual machine is eth1. Default configuration file:/etc/sysconfig/network-scripts/ifcfg-eth01 , and the
1. View Host NameIn the Ubuntu system, there are several ways to quickly view the hostname:One, open a GNOME terminal window, you can see the host name at the command prompt, the hostname is usually after the "@" symbol;Second, enter the command in
How Linux systems change the character set supportHow to set Linux system Chinese Language, this is a lot of small partners in the beginning of the use of Linux, will encounter a problem, is the terminal input command echo when the Chinese display
Download of the 1.XAMPP integrated environmentSelect a version of the corresponding system on the official website of xampp for download, website address: https://www.apachefriends.org/zh_cn/index.html#wget
The specific installation configuration process for CentOS 6.6 is described belowFirst, install CentOS 6.6To successfully boot the system with the CD, the following interface will appear,Select the first item here, install or upgrade the existing
The NVIDIA graphics card driver does not support kernels with xen.1. Install kernel:View your own kernel version# Uname-R# Yum install kernel-develRestart your computer.2. Download the graphics card driver:The corresponding graphics card driver of
First install the MySQL server
Decompress MySQL and copy all files to/usr/local/MySQL.
[Root @ bleach USR] # groupadd MySQL
[Root @ bleach USR] # useradd-G MySQL
[Root @ bleach MySQL] # cd/usr/local/MySQL
[Root @ bleach MySQL] # SCR limit
SELinux is short for security-enhanced Linux. The traditional Linux permission controls the owner, group, and other rwx of files and directories, while SELinux uses the delegated access control, that is to say, to control the access of a process to
1. Linux is a multi-user, multi-task operating system, including user accounts and group accounts.Subdivide user accounts (ordinary user accounts, super user accounts) in addition to the user accounts that think there are also group accounts. The so-
Author: gnuhpcSource: http://www.cnblogs.com/gnuhpc/
1. InstallGenerally, vsftd is automatically installed on centos. If it is not installed, perform the following steps:Yum-y install vsftpdTouch/var/log/vsftpd. log # create a vsftp Log FileIn
When centos 7 is started, the following message is displayed: "initial setup of centos linux 7 (core )"
After the CentOS7 system is updated, restart the system and report an error (initial setup of centos linux 7 (core ))
Solution:
Enter "1"
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