


1. Purchase, build and manage Linux CentOS server (full process with pictures and text)
1. Alibaba Cloud purchasing server
1. Alibaba Cloud server
The server is in Alibaba Cloud purchase demo, find the cloud server ECS
- ##Click to buy now
2. Server configuration
- Payment method: Annual and monthly subscription
- Region and availability zone: Choose a region that is close to your customers. It doesn’t matter what zone you choose, but if multiple servers are in one zone, you can connect to the intranet and the speed will be much faster. If there are master and slave servers, choose the same zone.
- Example specifications: For the test machine you use, just buy the cheapest one. If it is used by a company, you still need to understand concurrency and stress test the server. However, cloud servers are flexible and can be upgraded at any time, so there is no need to worry too much.
- ## Mirror: It is the server system, commonly used: CentOS, Ubuntu, Windows Server
- Storage: It is a hard disk. For Linux systems, 40G is enough. If it is not enough, you can add a hard disk to mount it. For Windows systems, it will be better to choose 60G.
- Purchase time: This is based on your choice needs.
- Network: You need to create a new private network. If you don’t understand, you can watch [video](https://help .aliyun.com/document_detail/34217.html)
- Public network IP: Broadband speed, personal test server 1M is enough. The official website is generally 5M, and the mall or the concurrency is more than 10M. You can also temporarily increase the bandwidth according to time
- Security group: You need to create a new security group, which is the port.
- Elastic network card: The default is fine
- IPv6: This is rarely used, you can activate IPv6 on the private network
- Login credentials: System login method.
- Login password: Set the system password.
- Instance name: This is very useful. It is used when contacting after-sales when there is a problem with the server.
- Description: Notes for your own reading.
- Host name: The name of this server.
- Advanced options: Can be assigned to sub-accounts, not required for personal servers.
- Label: Give the server a label.
- Resource group: No setting required, [click to learn more](https://help.aliyun.com/document_detail/94381.html)
- Deployment set: No setting required, [click to learn](https://help.aliyun.com/document_detail/91258.html)
##2. Set up a security group
1. Add a security group
Network and Security-》Security Group List
##No security Group, you need to create a security group first
2. Select the security group
when purchasing
3. Modify the security group
Server list-》More-》Network and Security Group-》Security group configuration (can also be in the security group list Modify the configuration)
- ##Port list in the security group
- The purpose is the port, you can add multiple ports at one time
- Ports 80 or more Text transfer protocol is http web page
- port 443 Hypertext transfer protocol is https web page
- port 22 ssh port, client computer connection Server port
- Port 3389 Remote desktop service port, Windows Server uses
- port 3306 mysql database default port
- Source: Authorized computer, IP address. 0.0.0.0/0 means that all computers can access this port
##3. Other functions
1. Upgrade configuration
- Server list-"Upgrade and downgrade configuration-"Upgrade configuration, you can also upgrade bandwidth
- Server list-》Upgrade and downgrade-》 Temporary bandwidth upgrade, set the time end upgrade
##3. Reset the hard disk
Server list-》More-》Cloud disk and mirror-》Reinitialize cloud disk (must be backed up)
4. Replace the system
##4. ssh tool
1. Web page remote connection server
If you don’t have ssh software, you can use the Alibaba Cloud web page version of ssh, the mobile app also has ssh
Linux is generally used as a server, and the server is usually placed in the computer room. You cannot operate your Linux server in the computer room. In this case, we need to log in remotely. Go to the Linux server to manage and maintain the system
- Linux remote management servers are mostly based on the SSH protocol. The default ssh service port number is 22
- for Windows systems There are many Linux remote login clients, recommended: [Xshell]
- ##Open the software and connect remotely linux server
# [Special topic: Building and using Linux CentOS server PHP operating environment]
1.
linux CentOS server onlinelinux CentOS Pagoda panellinux CentOS Pagoda panel uses svnExternal network access databasePagoda panel FTP php trainingThe above is the detailed content of 1. Purchase, build and manage Linux CentOS server (full process with pictures and text). For more information, please follow other related articles on the PHP Chinese website!

CentOS is an open source distribution based on RedHatEnterpriseLinux, focusing on stability and long-term support, suitable for a variety of server environments. 1. The design philosophy of CentOS is stable and suitable for web, database and application servers. 2. Use YUM as the package manager to release security updates regularly. 3. Simple installation, you can build a web server with a few commands. 4. Advanced features include enhanced security using SELinux. 5. Frequently asked questions such as network configuration and software dependencies can be debugged through nmcli and yumdeplist commands. 6. Performance optimization suggestions include tuning kernel parameters and using a lightweight web server.

CentOS is widely used in server management and web hosting. Specific methods include: 1) using yum and systemctl to manage the server, 2) install and configure Nginx for web hosting, 3) use top and mpstat to optimize performance, 4) correctly configure the firewall and manage disk space to avoid common problems.

CentOS is a stable, enterprise-grade Linux distribution suitable for server and enterprise environments. 1) It is based on RedHatEnterpriseLinux and provides a free, open source and compatible operating system. 2) CentOS uses the Yum package management system to simplify software installation and updates. 3) Support advanced automation management, such as using Ansible. 4) Common errors include package dependency and service startup issues, which can be solved through log files. 5) Performance optimization suggestions include the use of lightweight software, regular cleaning of the system and optimization of kernel parameters.

Alternatives to CentOS include RockyLinux, AlmaLinux, OracleLinux, and SLES. 1) RockyLinux and AlmaLinux provide RHEL-compatible binary packages and long-term support. 2) OracleLinux provides enterprise-level support and Ksplice technology. 3) SLES provides long-term support and stability, but commercial licensing may increase costs.

Alternatives to CentOS include UbuntuServer, Debian, Fedora, RockyLinux, and AlmaLinux. 1) UbuntuServer is suitable for basic operations, such as updating software packages and configuring the network. 2) Debian is suitable for advanced usage, such as using LXC to manage containers. 3) RockyLinux can optimize performance by adjusting kernel parameters.

The CentOS shutdown command is shutdown, and the syntax is shutdown [Options] Time [Information]. Options include: -h Stop the system immediately; -P Turn off the power after shutdown; -r restart; -t Waiting time. Times can be specified as immediate (now), minutes ( minutes), or a specific time (hh:mm). Added information can be displayed in system messages.

The key differences between CentOS and Ubuntu are: origin (CentOS originates from Red Hat, for enterprises; Ubuntu originates from Debian, for individuals), package management (CentOS uses yum, focusing on stability; Ubuntu uses apt, for high update frequency), support cycle (CentOS provides 10 years of support, Ubuntu provides 5 years of LTS support), community support (CentOS focuses on stability, Ubuntu provides a wide range of tutorials and documents), uses (CentOS is biased towards servers, Ubuntu is suitable for servers and desktops), other differences include installation simplicity (CentOS is thin)

Steps to configure IP address in CentOS: View the current network configuration: ip addr Edit the network configuration file: sudo vi /etc/sysconfig/network-scripts/ifcfg-eth0 Change IP address: Edit IPADDR= Line changes the subnet mask and gateway (optional): Edit NETMASK= and GATEWAY= Lines Restart the network service: sudo systemctl restart network verification IP address: ip addr


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SublimeText3 Linux new version
SublimeText3 Linux latest version

SublimeText3 Chinese version
Chinese version, very easy to use

Atom editor mac version download
The most popular open source editor

SublimeText3 Mac version
God-level code editing software (SublimeText3)