当前位置:网站首页>I have a server. What can I do?

I have a server. What can I do?

2022-06-24 02:41:00 Programmer fish skin

What is the use of the server ?

A classmate asked me : Fish skin , I have a server , What can I do ?

I smiled , Asked him : What can you do with your computer ?

He smiled. : Learn programming , Watch the movie , fight against landlords !

I said, : Pretty good , These are small case. Because the server itself is also a computer , So in theory, what you can do on a personal computer , It can also be done on the server !

Here are some wonderful uses of the server ~

The role of the server

Server server , Is a machine that provides services , What service do you need? , It has corresponding software and methods for you .

Hang website

One of the most common uses of the server is to hang up the website .

For example, we developed a personal blog , I want other students to visit , Just throw the blog file on the server , Install one more Nginx And so on. web The server , That's all right. ~

Fish skin expression pack website

Hang backstage

It is also one of the most common uses of servers .

The server can not only hang web files , It can also run various background programs , Provide services to web front end .

For example, website management background 、 Database background ( Add, delete, modify and query data from the database )、 Game services ( Real time computing ) etc. .

File

If you're worried about losing files 、 Or it's not safe to put it on someone else's network disk 、 More restrictions , You can build a server into a file server , Like building FTP service 、 Build a private network 、 Drawing bed, etc .

email

In the enterprise , Mail is the mainstream way of information transmission . But because email data may contain a lot of private content , So to prevent leaks , Many companies use servers to build their own mail services , More secure email .

test machine

In the process of learning programming , We sometimes do some “ Destructive ”、“ Irreducible ” The test experiment of . If you don't want to affect your computer , Using a server to perform experiments is also a good choice .

Yes, of course , You can also use virtual machines or containers , But if the magnitude of the test is large 、 High quality requirements , Or the server will be more convenient .

Do the agent

Sometimes we visit some foreign websites more slowly , Cough cough cough ...

At this time, the whole proxy server , Let it replace us to access and obtain the resources of the target website .

Empathy , The proxy server can also process and forward a large number of requests , Allocate to multiple different machines , Load balancing , Increase the concurrency of the whole website .

Forward and reverse proxies

Run script

Various scripts can be executed on the server , For example, get pictures of little sister in batch 、 Automatically detect whether the machine is normal 、 Send reminder email regularly .

Learn programming

Linux System can be said to be a required course for programmers . There is one Linux After the server of the system , You can execute all kinds of... On the server Linux command 、 Deployment project , Learn programming in a practical way , More impressive .

Calculation data

Many computing tasks now , It doesn't mean you can do it on a single server ( Not enough resources or computing too slow ). For example, in big data and artificial intelligence scenarios , A large number of servers are usually used as computing nodes 、 Form a cluster , Work together to complete the calculation .

Just ask , Now learn artificial intelligence friends , How many are training models on their own computers ? Use the cloud computing platform , Run the algorithm directly with an existing server cluster , It doesn't smell ?

Parallel computing

Engage in cooperation

When a team develops a project , Make sure that the final code you see is consistent .

therefore , When everyone writes code on their computer , To upload the code to a public server for consolidation and management ( such as GitHub).

Now , A more convenient collaborative development model has emerged , Just store the code on a public server , All developers are connected to the server , You can develop... Remotely , Real time collaboration . Editors that support this function 、 What cloud IDE More and more 、 It's becoming more and more popular .

VS Code Remote development

See here , Do you want to show off your skills on your own servers ?

My personal blog :https://yupi.icu, Just hang it on the ECS , If you want a white-collar computer , Welcome to see ~

I'm fish skin , Originality is not easy. , If you think the article is good , hope give the thumbs-up Under the support , Be deeply grateful .

原网站

版权声明
本文为[Programmer fish skin]所创,转载请带上原文链接,感谢
https://yzsam.com/2021/10/20211026131203666v.html