In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the CentOS7 server building example analysis, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand.
As a server, Linux system has higher stability, better performance and less resources than Windows system. As a server, Linux generally does not install a graphical interface, which is an important reason why Linux takes up less resources. Because Linux generally uses the command line management system, there are higher technical requirements for the use of the system.
Release selection
CentOS is the open source version of Red Hat Enterprise Linux. Based on the strong technical strength of Rad Hat, CentOS has excellent stability and reliability, as well as a 10-year maintenance period. It is the preferred operating system for many servers. However, CentOS pursues too much stability, and the version of the software package in the system is relatively old, even a little outdated, which will cause some trouble to the users who want to use the new version of the software package, and need to compile and install some packages manually.
Ubuntu is also an excellent Linux distribution, because desktop Linux systems generally choose Ubuntu, and servers also use Ubuntu to achieve a high degree of consistency between the development environment and the production environment, avoiding problems caused by different environments, and reducing the cost of learning multiple Linux systems. The version of the package in Ubuntu is newer, but it is not aggressive to use the latest version and meets most usage requirements. The maintenance period of Ubuntu server version is 5 years. Foreign users using Ubuntu as a server even surpassed CentOS and became the most popular Linux server distribution.
Because we don't use a lot of software packages as a Web server, and we don't want to touch it for 100 years after installation, we chose CentOS 7 as our operating system.
Self-purchased server and cloud server
Self-purchased servers can provide more powerful hardware performance, such as CPU, memory, solid-state drives can be purchased, but need to maintain their own hardware, if the hardware failure will be more troublesome.
On the other hand, CVM does not need to pay for hardware, nor do you have to worry about problems such as hard disk damage, but it is more expensive to use highly configured hardware. If the performance requirement is not particularly high, or if you do not want to maintain the hardware yourself, you can choose the cloud server.
The commonly used CVMs are Ali Cloud and Tencent Cloud, and their stability is very good. Tencent Cloud is used as a demonstration here.
Hardware configuration
Self-built server configuration is generally not a problem, 4 core strong CPU, 16G memory, 500g SSD solid state disk is the conventional choice. The bandwidth hosted by the server is generally 10Mbps exclusive or 100Mbps shared, which is usually sufficient. If the funds are abundant, the allocation can be increased according to the actual situation without capping.
CVM requires careful calculation. The minimum configuration is 1-core CPU, 4-gigabyte memory, 100 gigabyte hard disk, and 4-5Mbps bandwidth. Due to the need to run Tomcat, MySQL, and the operating system itself, 4G memory is necessary, so those who use 2G memory can only fend for themselves. Bandwidth may be more important than hardware configuration. The bandwidth of 1Mbps can only be used for fun, which is equivalent to the speed of 128KB/S. You can imagine how slow it is to open a website. The bandwidth of 4Mbps or 5Mbps is the most cost-effective in Aliyun and Tencent Cloud. If you increase the bandwidth, the price will soar.
Thank you for reading this article carefully. I hope the article "sample Analysis of CentOS7 Server Building" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.