Once the Linux system is installed, the network is first tuned:
- Set as Bridge
- Execute command:
Shutting down the firewall
Set the boot not to turn on the firewall
?
Set up the network card:
- You need to restart the network after each network card setup:
- To turn off the firewall:
?
?
How to ping a virtual machine if there is no network cable at home:
- Setting the virtual machine to NAT mode
- Set the IP address of the Linux system to get automatically:
- Restart the NIC
?
?
?
?
Remotely manage Linux systems using the Putty software.
- 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:
- 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:
- An FTP server can be installed on the LINUXT system: VSFTP
- 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