Virtual machine Linux Template machine configuration

Source: Internet
Author: User
Tags i18n ssh

1, Minal

Package groups: Base,compatibility libararies,debugging tools,development Tools

Package: Tree nmap syssate lrzsz Doc2unix telnet


2, IP address, gateway, user name and password, host name


3. Yum Source, Epel source


4. Close SELinux and Iptables


5. SSH optimization

Vim/etc/ssh/ssh_config #解决有时候ssh慢的问题

Permitemptypasswords No

Usedns No

Gssapiauthentication No


#/etc/init.d/ssh relaod


6. Streamlined Boot system

For list in ' Chkconfig--list ' | grep "3:on" |awk ' {print $} ' |grep-ve

"Crond|network|rsyslog|sshd|sysstate" ';d o checkconfig $list off;done



7. Time synchronization

/usr/sbin/ntpdate time.nist.gov


*/5 * * * * * */usr/sbin/ntpdate time.nist.gov



8. Character Set

Cp/etc/sysconfig/i18n/etc/sysconfig/i18n.ori

Echo ' lang= ' ZH_CN. UTF-8 "' > echo/etc/sysconfig/i18n


. /etc/sysconfig/i18n


9. File descriptor

Echo ' *-nofile 65535 ' >>/etc/security/limits.conf

10. mysql Character set

Character-set-server=utf8

init-connect= ' Set names UTF8 '

Collation-server=utf-8_general_ci


Virtual machine Linux template machine configuration

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.