CentOS installation + configuration + remote, centos Configuration

Source: Internet
Author: User

CentOS installation + configuration + remote, centos Configuration

I switched to an article that I think is more technical. ^_^

 

I recently made a deal with CentOS and encountered many problems. So I read some blogs and solved some problems, but none of them were comprehensive, so I want to come to an installation, configuration, and remote trial version tutorial to provide some help to partners in need.

1. Install CentOS with version 6.5

1. Download CentOS, we recommend that you go to CentOS Chinese site, all versions can be downloaded, I use here is the latest CentOS6.5 http://www.centoscn.com/CentosSoft/

2. Installation: I use a USB flash drive for installation. It is convenient and fast. If you want to format it, you 'd better prepare one more USB flash drive or back up data!

A. Do U disk boot :( turn: http://www.jb51.net/ OS /151881.html)

Windows:
1. Open iso with UltraISO (e.g., CentOS-6.5-x86_64-bin-DVD1.iso)
2. Then click "Boot"-> "Write hard disk image", hard disk drive is your U disk, Image File Installation CD iso, write mode is USB-HDD +, click "write" button. After installation, the USB flash drive is ready.

Linux platform:
Use the dd command to write the iso file to the USB flash drive. Dd if = iso file of = U disk. (Such as: dd if =/CentOS-6.5-x86_64-bin-DVD1.iso of =/dev/sdb1)
Note: after running the dd command, the replication status is not displayed. To view the replication status, open another terminal and enter "while killall-USR1 dd; do sleep 5; done" to view the replication status.

B. Installation tutorial super detailed with graphic version :( turn: http://www.jb51.net/ OS /85895.html)

Go directly to the original post to see it, because it is really super detailed with a picture, step by step as OK.

Note: Two things should be confirmed before the installation process: 1. Whether to format them all; 2. If the server is used, please select minimal for installation; otherwise, you can.

Ii. Configure CentOS and install LAMP in yum

The first step of this tutorial should soon be able to install CentOS. In fact, installing a system is not difficult. configuring it is the core.

1. Configure the CentOS Network

I have read no more than 10 articles about CentOS network configuration blogs. I am not stupid and have been poorly configured. It was the network cable that pitted me at the time, but it also has some advantages, I will certainly share the most comprehensive and useful blog with you, saving you time (ensure that the network cable can be connected before configuration ~)

It is critical to remember several common commands and then configure them:

A. Command vi Use the vi editor to open the network, ifcfg-eth0, resolv. conf file

B. Command I to start writing files (after opening the file with vi)

C. Run the Esc button to exit Insert mode (used when exit edit mode is configured)

D. Command: wq save and exit (used when saving and exiting after configuration)

E. Command: exit q (write error, do not save and exit again)

F. The Command service network restart must be restarted after the network is configured.

G. Run the ifconfig command to view the current IP settings.

H. Can I ping www.163.com through the command?

Okay. You can use these commands later.

I recommend the two blogs a more detailed (turn: http://blog.csdn.net/heyabo/article/details/8035927)

Another direct configuration on the line, do not need to know the principle (to: http://www.cnblogs.com/vicowong/archive/2011/04/23/2025545.html)

2. Install LAMP in yum

Don't talk nonsense, strongly recommended (turn: http://www.jb51.net/article/37987.htm)

Configuration of Apache + PHP5 + MySQL software is common and does not care about the system version.

Okay? Congratulations ~! You are only a small step away from the master ~

3. Use CentOS remotely to release the temporary display mouse and keyboard ~

Good blog I don't let go of an article, through SSH remote login server method, although the write is the Ubuntu System remote control, but the server side of the operation is the same (turn: http://blog.csdn.net/luobin1984/article/details/8252350)

For windows, you only need to download the SecureCRT client.

Download putty from Ubuntu

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.