The website is attacked by cc, and the SSH command line of the server is very popular. If something goes wrong, I don't know what command to use or how to solve it. Today, I met a friend's website, which was put on a foreign cloud server. The website is still under construction, and there was 503 error prompt. This kind of prompt is generally caused by the overloading of the server, which means that it may be attacked by cc. Today, Lao Wei talks about this topic Command line station building and Pagoda visualization panel 。
1. Command line station building
In the early years, there was no visual panel. We either chose Windows system or Linux system. Both have advantages and disadvantages.
The Windows system is relatively easy to build. After all, everyone is familiar with this system, which saves the learning process. However, there are many problems with the Windows system. The system itself occupies a lot of resources, the built environment is inefficient, and the load performance is poor. In short, there are many problems.
In addition, the price of Windows system server is expensive, which includes the licensing fees of Windows system.
Linux system is full of command lines, and its resource occupation is very low. Its security, speed and stability are far better than those of Windows system. The disadvantage is that the command line with white characters on a black background is very popular and the cost of learning is too high. I originally came to learn how to build a website, but half of what I learned found that I was surrounded by numerous orders to build and maintain a website. Alas, what a headache!
The cost of the Linux system is lower than that of the Windows system. There is no license fee. It is cheap and has strong performance. It is the first choice for building a website.
For example, if you install a Windows system on an ECS with one core and 2G memory, the system itself will occupy most of the CPU and memory resources, leaving few resources available for websites; The Linux system is different. In the same cloud server configuration, the system only occupies a small part. If selected and configured properly, it can be placed on 10 8 websites, all of which are smooth.
2. Visualization panel
In the past, experts installed environment software such as php, nginx, apache, MySQL, phpmyadmin, and then built their own stations on the command line. It is not only laborious and time-consuming, but even if there is one more/one less/one wrong character, the command will not take effect.
Is there a panel that can visualize the deployment environment? The answer is yes!
At this time, various domestic visual panels appeared. The pagoda panel is one of the outstanding ones. It is not the earliest one, but it is definitely the most widely used visualization panel in China.
Pagoda linux panel It is the best performing and most popular one in the domestic website building panel.
3. Problem solving
Back to the question at the beginning of this article, if you use the pagoda panel and encounter a 503 error on the website, after excluding other problems, the rest is attacked by cc Pagoda free firewall perhaps Pagoda paid firewall It can resist some attacks of ordinary scale and protect your website from normal access without business interruption.
For the difference between the two, see The difference and choice between pagoda panel professional firewall and free nginx firewall 。
The paid firewall can not only resist cc attacks, but also resist various malicious scanning, probing, uploading, downloading, and crawling behaviors. It really costs less and can play a great role.
4. Why attack
As for the friend who asked, why did the other party attack my website? My station is still under construction! In fact, the network has no borders. Many people will use software to scan the IP address on the network, and then use some conventional attack methods to test. Some people want to practice technology, some want to learn experience, and some are just bored playing.
This situation is relatively rare in China. Foreign attacks are flying everywhere. It is normal that no firewall is hung up.
5. Summary
Generally speaking, from command line to visual site building, it is more and more suitable for novices, and the threshold for site building is lower and lower.
Old Wei said so much, just to tell you that although many cloud servers and lightweight application servers have their own website building environment that is convenient, it is troublesome to maintain when problems occur.
It is recommended that you deploy the pagoda panel first, and then build the station, so that later maintenance will be much easier.
Related tutorials: How to install the pagoda panel/configure pagoda image with one click on Alibaba Cloud ECS servers
How to install pagoda panel with one click on Tencent ECS is a must see tutorial for novices