A. What is Haproxy
Haproxy provides high availability, load balancing, and proxies based on TCP and HTTP applications to support virtual hosts, a free, fast, and reliable solution. Haproxy is especially useful for Web sites that are heavily loaded,
Method one extundelete to recover deleted files
1. Installation dependency
The code is as follows
Copy Code
Yum-y Install E2fsprogs E2fsprogs-devel
2. Go to http://extundelete.sourceforge.net/to download
Is that not all sockets that perform the active shutdown will enter the TIME_WAIT state? Is there any case that the active closed socket directly into the closed state? The answer is that one of the active shutdown after sending the last ACK will
1, Build Users:
AddUser PHPQ//New PHPQ Userpasswd PHPQ//Set Password to PHPQ user
2, the establishment of the Working GroupGroupadd test//New test Workgroup
3, new users to increase the team at the same timeUSERADD-G test PHPQ//new PHPQ user and
Install Crontab:[Root@centos ~]# Yum Install Vixie-cron[Root@centos ~]# Yum Install Crontabs
DescriptionVixie-cron packages are Cron's main programs;The Crontabs package is a program used to install, uninstall, or enumerate the tables used to drive
The server in the project needs to be scheduled to automatically restart the server function, the same is also the use of crontab command.
First, install Crontab
Generally our servers are installed by default, the direct
System Environment: CentOS 6.5
0, before the official installation of Mutt
Check the two security components first.
Openssl:
OpenSSL version-a #检查安装及版本信息SASL (the system has been usually brought):
Rpm-qa | grep SASLThe query can be as follows:
VMware in the network settings bridged is also on the Linux under the VMware Bridge mode, static IP network configuration, but at that time more with the graphical interface to achieve, not strong commonality. Production environment, very few Linux
We must understand: Minimal permissions + minimum service = maximum security
Therefore, regardless of the configuration of any server, we must turn off the unused services, set the system permissions to the minimum, so as to ensure the maximum
Minimize the installation of the system first.
First, the system agreement
Software source code Package storage location
/usr/local/src
Source Package compilation Installation Location (prefix)
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
Premise
Installing phpMyAdmin on CentOS, you first need to set up a Web server (such as Apache or Nginx) to install the MYSQL/MARIADB database and PHP. Depending on your preferences and needs, you can choose an installation from lamp and lemp.
The purpose of this is for the company's research and development department to visit foreign websites through Hong Kong's servers, just mark it, maybe later, and not spend any more time studying it.
CentOS 5.x/6.x under PPTP VPN server
Downloading images from docker hub is slow, and your internal images generally require high speed and security. Therefore, you can build a local repository registry. The following describes the next steps.Environment: centos 7.21. Install dockerYum
After a centos user logs on to the Amazon EC2 server, the sudo user goes to the root user.Run the yum install mysql-server command in CentOS7 AMI to find that the mysql server cannot be installed.# Sudo su-# Yum install mysql-serverLoaded plugins:
After php5.6 is installed, you no longer need to install Zend Guard. Instead, you can use the yum command to install php-opcache and php-pecl-apcu, which can effectively improve the php execution speed.1. Configure the yum sourceCheck whether the
In view of the poor bandwidth of the Hong Kong host, linode failed to choose the Tokyo Data Center. In addition to some problems during registration, it was quite satisfactory to try Conoha's data center in Tokyo, the bandwidth In and Out are both 10
1. Install software on the server1.1 First install ppp. Command:[Root @ test ~] # Yum install-y pppThe message "Complete" is displayed! , Indicating that the installation is successful;1.2 install pptpd. The installation command is as follows:[Root @
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.