Discussion on the formulation of website maintenance content and maintenance solutions

Source: Internet
Author: User
Tags website server server hosting
In the previous PHP development specification tutorial, I mainly talked about the PHP website construction process and steps as well as the PHP code specification. In fact, after the website construction is complete, website maintenance is very important, reasonable and orderly website maintenance content and solutions can ensure safer and stable website operation, the website maintenance work is often difficult for grass-roots webmasters to focus on the PHP website construction process and steps and PHP code specifications in the previous PHP development standard tutorial, in fact, after the website construction is complete, website maintenance is very important. reasonable and orderly website maintenance content and solutions can ensure the safer and stable operation of the website, the website maintenance work is often not valued by the grass-roots webmaster, which leads to serious consequences. Therefore, understanding the website maintenance content and solutions is especially necessary for grass-roots webmasters, today, I will talk about how to develop website maintenance content and solutions based on my website construction experience. I hope to have more exchanges with you.

  Website maintenance mainly involves the following aspects:

1. server hardware and software maintenance

2. periodic maintenance of website programs and databases

3. periodic maintenance of website business data

The following describes in detail the website maintenance content involved in these three aspects and the formulation of the website maintenance solution.

  Server hardware and software for website maintenance content

1,Website server hardware maintenance

For webmasters with independent servers, in addition to choosing a good server hosting service, you must always pay attention to the maintenance of server hardware. you need to properly plan servers based on the current situation and development of website services, to build a reasonable server architecture, for example, do I need to set up an independent server for image-type websites? In addition to software optimization, how does one support a large number of database interaction operations on hardware? When server hardware fails, whether or not disaster tolerance is properly handled is a matter of consideration.

One of the advantages of webmasters who use virtual hosts is that they do not need to worry much about the maintenance of website hardware. However, when the website cannot be accessed, they must promptly urge operators to handle the problem, for grass-roots webmasters, every visitor is very important.

2,Website Software maintenance content

Similarly, for independent server webmasters, setting up the website runtime environment is essential. for PHP websites, setting up the PHP + MYSQL + APACHE/IIS/Nginx PHP environment is a basic configuration, in addition, you can configure PHP extensions based on your website business needs to achieve more functions. remember to configure them blindly.

In addition to building and managing the website operating environment, you also need to pay attention to the maintenance of the website system software, pay attention to updating patches, and prevent system vulnerabilities.

For web masters who use virtual space hosts, you must be aware of the environment configuration and expansion of the virtual host in a timely manner. for example, if PHP supports apache mod_rewrite and htaccess.

This is basically the basic maintenance content of website hardware and software.

  Software and hardware of website maintenance solution

1. regularly check system vulnerabilities, website access log records, system processes, resource utilization, bandwidth utilization, key parts of the system, and website capacity.

2. provide emergency solutions for server hardware faults and malicious website attacks.

3. we recommend that you check the website access stability during off-peak hours to ensure normal access to the website during busy hours. for example, ensure that the website can be accessed normally before midnight or the next day.

  Procedures and databases for website maintenance content

Website Program maintenance content mainly includes the maintenance, upgrade and backup of website source code, JS, static images, CSS and other non-dynamic data. for self-developed program monitoring program vulnerabilities, updates or upgrades are required for programs that use third-party development platforms.

Website database maintenance content mainly includes database backup and database optimization, database exception data, database capacity check, and so on.

  Procedures and databases for website maintenance solutions

For website programs, the initial version (V1.0) must be retained. after each modification and program upgrade, the original version is used as the original version, and the original version is retained, record and update the version number. the version is retained as a compressed package. we recommend that you store the version on a third-party storage device.

Website database maintenance requirements should be backed up at least daily granularity based on the content update frequency and access Volume. incremental backup or full backup can be used for database backup, and the file name should be named after time. You can use the backup method to retain data for 30 days, and delete and store the data after the expiration time. the backup destination is local + backup center. Note that when the program is updated and upgraded, the updated program version must be associated with the database backup files of the current day or after the program is updated, so as to keep records to prevent problems in the database and the program.

At the same time, as the database capacity increases, redundant and abnormal data will inevitably exist, and regular inspection and maintenance are required.

  Business data of website maintenance content

The maintenance of website business data can be classified and managed based on specific services. for example, if the image volume is large, we recommend that you distribute images and back up images, similar to database backup, the incremental backup mode can be used. the backup destination is local + backup center.

At this point, the basic website maintenance content has been introduced, and you are welcome to add those who have experience in site maintenance. I think the basic principle of website maintenance solution development is to ensure the normal and stable operation of the website, it also needs to take into account the convenience of future updates and platform migration.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.