Linux Basics: Installing CentOS 6.5

Source: Internet
Author: User
Tags time zones

1. Install requirements to evaluate your own server


Principle: Depending on the purpose of the server to configure the hardware, Linux itself on the hardware requirements are very small.


    • What are you doing? Load balancing, cache servers, Web front end, applications, special applications, public services, databases

    • How many people use it? Concurrent

    • How much data to save, how long

    • Whether to backup and business interaction (something to reserve the NIC)


2. In Linux, everything is a file


Understanding the directory Structure

3. Get version

Domestic mirror http://mirrors.163.com/or foreign websites

http://mirrors.163.com/centos/6.5/isos/x86_64/

Use the directory to locate the required package, install the package

650) this.width=650; "title=" clipboard "style=" Border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clipboard "Src=" http://img1.51cto.com/attachment/201408/11/8976580_1407763904orGJ.png "height="/>

4. Planning the installation (mainly disk directory swap space allocation, network address, hostname, etc.)

Recommendation: If you first engage, only split/root partition and swap partition can be, generally have to install a 10 times eight times, and finally skilled.

About LVM: In fact, it is difficult to encounter the scene of adding hard disks online, usually new plus new mount, the latter can be used alone with LVM, pre-our own partition

Points:

Swap = 1.5-twice times more memory is useless.

/boot 200M more useless.

Example of an online FTP server: 2T HDD, 8G RAM (if you have multiple drives, you can separate the system from the data)

/20G

/boot 200M

Swap 10G

/data All remaining space

But there are some arguments for/usr/var/tmp to be independent, to prevent the change of data to fill the root partition, for example, you install the database application will be considered farther

An example of an Oracle installation

Server: DELL t710-64 bit

cpu:e5520 64-bit X2

Memory: 8G

HDD: STA 1tx3 block RAID5 2T

Operating system: Redhat Linux 5.4

Hard disk partition:

/: 60G

/boot/: 200m

/usr/: 30G

/swap/: 20G

/tmp/: 10G

/home/: 40G

/ora/: 120G; oracle11g-1 system and data files are in this section

/data/: 1.5T

4. Key points of the installation process: Manual partition grub password settings nic self-starting UTC (two time zones for GPs)

5. If you have any questions, you can refer to the installation video

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.