Explore Php+nginx (i) Installing the Linux operating system

Source: Internet
Author: User

Every time you learn a new development language, you have to go through a very tangled process, unless you are lucky or ready to work, you will always spend a lot of time and effort in the process, of course, you can benefit a lot. And this process is the foundation of the development environment, it seems to be installed a few software, configure the operating system. In fact, I think the building environment is a brainiac, many application layer developers are not good at setting up the environment, they will feel unnecessary. And I have my own opinion, I feel that a better understanding of the development of the environment in order to develop a more efficient program, but also an understanding of the program, is a deep understanding. Better understand the environment of your own development program, help debug the program and eliminate incurable diseases, why not?

Installing the Linux operating system

Directory

1. Download the VM, CentOS image

2. Install the VM host and create the virtual machine

3. Add a network card for the virtual host

4. Adding a mirror to a virtual host

5. Install the CentOS system and turn on the Linux network card so that DHCP is assigned to the IP address

6. Connect to Linux using an SSH client

The first step, I feel that I can't keep up with the times, because my development environment is Windows7, so I have to install a whole Linux virtual machine. 1. Prepare the software VMware host, after downloading, Baidu a broken decoding will be OK. https://www.baidu.com/link?url= Ixp5n0vqrj4ccxzvfq9rnhxvoqe9tterj7yc6qmbvrvxjb4omhpn9plnipee5nsdlauseodgea0mmwixuhsx0oohzjzlqxwcv7jv2xn5yeo &wd=&eqid=85869565000c0ec10000000657c26201 2.centos6 image file, this to the official website to download the good, CentOS is a distribution version of Linux.

https://www.centos.org/download/

second step, after installing the VM host, create a new virtual machine, select CentOS 64-bit After you create a virtual machine,step three, add a NICFourth Step, select the image filethen click Power On, you can start the installation of the operating system. just install the completed operating system, the network card is not open, so: you can see all the network card information in the NIC script directory:Ifcfg-lo to find the address , that is 127.0.0.1.Ifcfg-eth0 is a NIC, and then we're going to turn it on. Fifth Step, open the network card, vi edit the fileBOOTPROTO=DHCP # Startup protocol is the way DHCP is automatically acquiredNm_controlled=no # Whether the device eth0 can be hosted by the Network Manager Graphics management toolOnboot=yes # Whether the eth0 device settings are in effect with network service startup Setup complete background, reboot the operating system installation will only end. Sixth step, install an SSH client program, feel free to pretend to like, I chose here Xshell using this tool, we can operate our Linux system very flexibly, including Chinese support, virtual machine can not operate the copy and paste, has been quickly transferred through FTP files to the virtual machine. Grey often cool, with shell tools, the absolute multiplier.

By now, we are ready for an empty server.

Explore Php+nginx (i) Installing the Linux operating system

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.