2. Initialize the settings and install LNMP using the command

Source: Internet
Author: User

Once the Linux system is installed, the network is first tuned:

  1. Set as Bridge

  2. Execute command:

    Shutting down the firewall

    Set the boot not to turn on the firewall

    ?

    Set up the network card:

  3. You need to restart the network after each network card setup:

  4. To turn off the firewall:

    ?

    ?

How to ping a virtual machine if there is no network cable at home:

    1. Setting the virtual machine to NAT mode

    2. Set the IP address of the Linux system to get automatically:

    3. Restart the NIC

?

?

?

?

Remotely manage Linux systems using the Putty software.

    1. Set IP

      Set UTF8 edit: Beautiful: Solve Chinese garbled:

      By default, if there is no action for a period of time, it will be disconnected automatically, and it will be cumbersome to reconnect, so you can set the connection status

      The field is enlarged and beautiful:

?

?

?

Server initialization settings:

    1. To turn off unnecessary services

      Set which services are automatically started on boot

?

The following services are left: others are closed:

Crond: Services for timed tasks

Irqbalance: If a multi-core computer is turned on, you can improve the performance of the CPU

Network: Networking

SSHD: Interface for remote administration

Syslog: System Log

?

Set the maximum number of open files for a process (under Linux/unix system: Everything is a file), so the maximum number of open files is actually the maximum number of connections. By default, each process is 1024 and can be set to maximum by the Ulimit command

?

Optimization of Linux network cores:

If you want the server to be able to handle the largest concurrent network connection, you need to adjust the kernel parameters:

?

What is a process:

A program can open multiple processes: Each process has its own memory, multiple processes cannot share data, but can communicate between processes

Multiple threads can be opened in a process: the memory between threads is shared.

?

?

?

?

Upload packages to a Linux server using FTP or SFTP software:

    1. An FTP server can be installed on the LINUXT system: VSFTP
    2. You can use the system's own SFTP server to upload directly

      Upload the package directly after the connection:

After uploading it, use the command to install it directly.

Entry directory: CD/USR/LOCAL/SRC

Give all the install files an executable permission: chmod +x./install*

Execution Installall:./installall

Finish: Wait for the installation to complete! About 30-40 minutes.

2. Initialize the settings and install LNMP using the command

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.