Centos 7U Disk Installation

Source: Internet
Author: User
Tags php mysql

1.

8G u disk

Old Peaches Software

CentOS 7 Everything.iso 7.4G approx.

2. Problems encountered

Install an initial error

Unexpected exception attribute error has no attribute type

A data conflict has been caused by a hard disk system

Format hard Drive resolution

3.SSH Login Slow

Http://www.jb51.net/LINUXjishu/277534.html

SSH login will get stuck for a few seconds

Vi/etc/ssh/sshd_config

Modifying a configuration file

Usedns No

4. Different

Use MySQL branch mariadb instead of Mysql-server in CentOS 7

5. Fast connection releases a large number of time_wait

Http://www.heminjie.com/wordpress/3322.html

PHP MySQL is often not connected and causes a lot of time_wait

Edit/etc/sysctl.conf File

# vi/etc/sysctl.conf

At the bottom of the add

Net.ipv4.tcp_tw_reuse = 1net.ipv4.tcp_tw_recycle = 1net.ipv4.tcp_fin_timeout = 30net.ipv4.tcp_syn_retries = 5net.ipv4.tcp_synack_retries = 5net.ipv4.tcp_keepalive_time = 1200net.ipv4.tcp_max_tw_buckets = 10

Apply the configuration you just added:

/sbin/sysctl-p

Centos 7U Disk Installation

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.