Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to manage and maintain the server

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to manage and maintain the server". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to manage and maintain the server.

Building a website is not a difficult task, but maintaining the server is not an easy task, so today the editor will share some server management methods for you.

1. Terminal protocol error

If you use notepad or other editor to edit some Chinese at the remote terminal, when there is garbled code, the server will prompt "the session will be interrupted due to a protocol error. Please try to connect to the remote computer again." Then connect to the server, there will always be protocol errors, and then interrupt the exit.

Solution: if there are two administrator users on the server, log in with another administrator user and disconnect the error connection, or restart the server with another user. If there is only one administrator user, try to modify the local display to the minimum resolution, such as 800X600, then connect to the remote desktop, and log out of the current user immediately if you can connect.

2. FileZilla cannot connect to IIS's FTP.

When you use FileZilla to connect to the FTP service of IIS, you will sometimes log in successfully, but the message "failed to read the directory list" appears. Make sure that the server has opened ports 20 and 21. If so, change the transfer mode of the local FileZilla to "active".

3. Restart the server regularly

For larger websites, there may be a heavy load of resources after running for a period of time due to the limitation of system resources. at this time, we may consider automatically restarting the server every day, which can be used to restart the server automatically. This can be accomplished by using the task plan. Click the attachment-system tools-task plan, add a task, and automatically execute the shutdown program every day. Shutdown is the shutdown program that comes with Windows Server 2003. Use the command "shutdown-r-f-t 5" (where the r parameter represents a restart of the server, the f parameter indicates a forced shutdown of system processes and applications, and the t parameter is used to specify the time when the system shuts down), and the server system shuts down forcibly even if it encounters a system process that cannot be shut down.

4. The SMTP that comes with IIS cannot send email.

Windows's Internet Information Services (IIS) comes with a SMTP (simple Mail transfer Protocol) service, but after installation, an email error message "Unable to relay for user (at) domain.com" is sent. This may be due to a problem with the default mail relay settings. Select SMTP property-access-Relay restrictions, select "except the following tables only", and then restart SMTP.

5. Prevent others from sending spam

After opening SMTP on the server, if there is no restriction, it may become a victim of external spam. The simplest restriction is to close the mail sending port 25. In the TCP/IP protocol properties, select Advanced-options-TCP/IP filter properties, and port 25 of TCP is not allowed.

At this point, I believe you have a deeper understanding of "how to manage and maintain the server". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue 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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report