In a previous blog we achieved load balancing using Docker's official Nginx mirroring, which is not easy to use, and uses my own mirrors: Chenyufeng/nginx-centos to achieve load balancing. It will be more convenient to use Chenyufeng/nginx-centos
CentOS Source Upgrade Kernel method
Recently in the research Docker, need to upgrade the kernel, below the way to upgrade the kernel.
1. Download kernel source
Download URL for https://www.kernel.org/I use for version 3.10 download address for
Install CentOS When prompted an error has occurred. -No valid devices were found
Install Linux in Vmware-server when creating partitions:
An error has occurred. -No valid devices werefound on which to create new file systems "Check your hardware
0x00 Head
Used to like using Ubuntu, but the actual deployment of the project laboratory is still required to use CentOS, had to put it again, midway encountered a lot of pits, make a note for later inquiries, do not want to go over the pile of
Http://www.centoscn.com/CentOS/config/2014/0810/3471.html
1, add users, first with the AddUser command to add an ordinary user, the command is as follows:#adduser Tommy//Add a user named Tommy#passwd Tommy//Change PasswordChanging password for
Intelligent DNS is to be able to respond to the user request IP, automatic Intelligent resolution, so that the user request sent to the nearest user, the fastest response to the server. Compared to ordinary DNS, only to resolve the IP address, but
CentOS 6.4 Ways to recognize NTFS formatting
[HSG@HSGPC/]$ su root password:[ROOT@HSGPC/]# Fdisk-l Linux operating system in Disk EXT4 formatdisk/dev/sda:1000.2 GB, 1000204886016 bytes255 heads, Sectors/track, 121601 cylindersUnits = Cylinders of 160
Centos6
Two places need to be modified: One is/etc/sysconfig/network, the other is/etc/hosts, and modifying any one of these will cause the system to boot abnormally. First switch to root user.
/etc/sysconfig/networkOpen the file, which has a line
1. Preparation workVmware10 and install the CentOS on the virtual machine.2. Start Configuration1, open VMware, click on the virtual machine to start, as shown in the network adapter to edit this2, select Host-only mode3, select Advanced, click the
CentOS View port occupancy commands, such as viewing 80 port occupancy Use the following command:
Lsof-i tcp:80List all ports
Netstat-ntlp1, open the Port method one:
/sbin/iptables-i input-p TCP--dport 80-j ACCEPT Write
This tutorial is currently the safest tutorial, if you are novice please follow the steps of the tutorial strictly, if there is a certain basis for people can selectively skip certain paragraphs modify port configuration
Run
Since Sango business trip to now immediately one months, I finally in this afternoon to run through the program, Research Linux really step-by-step bumpy, here to make a summary.
I. Installation of virtual machines and systemsVirtual machine
There is an old notebook in the house, think of it and put it there idle, not as a study machine for Linux.
The CentOS Mirror CENTOS-6.4-I386-BIN-DVD1 and CENTOS-6.4-I386-BIN-DVD2 are downloaded from the Internet and are intended to be installed
In the CentOS platform based work process, it is unavoidable sometimes need to upgrade or downgrade the kernel to verify functionality, debug performance or update the entire system.
If it takes time and effort to recompile a kernel from scratch,
I've written it before. Timed backups via rsync: Windows2008 and Centos7.0 via rsync for Updates (backup), and now the need for real-time synchronous backups via rsync and INotify. The first step: Getting Ready for work 1. INotify
In the CentOS system, the software installation program is quite complex, but the most common are two kinds:
1) One is the source code of the software, you need to build it yourself. This software installation package is typically a tar package
Configuring the Yum SourceDownload the Yum source RPM installation package on the MySQL website: http://dev.mysql.com/downloads/repo/yum/#下载mysql源安装包# wget http://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpm# install MySQL sourceyum
Tomcat is a core project in the Jakarta Project of the Apache Software Foundation (Apache Software Foundation), developed jointly by Apache,sun and other companies and individuals. With Sun's involvement and support, the latest servlet and JSP
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