2017年12月21日 星期四

Content maintenance and maintenance of website design

The website design, before PHP development standard tutorial I mainly talk about the PHP website construction processes and procedures and specifications of the PHP code, after the completion of the website construction, website maintenance work is very important, reasonable and orderly maintenance of the website contents and scheme can guarantee the site more safety and stable operation, and it is often easy to site maintenance work don't be grassroots webmaster attention, resulting in serious consequences, and thus understand the website maintenance content and plan knowledge for grassroots Adsense is particularly necessary, today I take my own experience to talk about how to develop the website content and website maintenance scheme, and we hope to have more exchanges.
The main contents of website maintenance are mainly related to the following aspects
 Website design
1. Server hardware and software maintenance
2. The periodic maintenance of the website program and the database
3. Periodic maintenance of web service data
The following detailed description of the three aspects of the website maintenance content and the development of the website maintenance program. Server hardware and software for web site maintenance
1. The maintenance of the hardware of the web server
For independent server owners, in addition to choose a good server hosting, need to pay attention to the maintenance of server hardware, according to the current situation and development of web service, rational planning of server, server architecture to build reasonable, such as picture type of Web site is need to set up a separate server? In addition to soft optimization, how does the hardware need to be supported for a large number of database interactions that need to be done? If the server hardware fails, it is a problem to consider whether the disaster recovery is done well or not.
One of the advantages of webmasters who use virtual hosts is that the maintenance of website hardware needs no more care. But we also need to pay attention to timely supervise operators when dealing with websites that cannot be accessed. Every visitor is very important for grassroots webmaster.
2. The maintenance content of the website software
Similarly, for independent server owners, to build the site running environment is very necessary for PHP website, PHP+MYSQL+APACHE/IIS/Nginx PHP built environment is the basic configuration, in addition you can according to the website business needs configuration PHP extensions to achieve more functionality, not blind configuration.
In addition to the construction and management of the operating environment of the website, it is necessary to pay attention to the maintenance of the software of the website system, to update the patch, and to prevent the system vulnerability.
For webmasters who use virtual space hosts, it is important to know the environment configuration and extension of virtual hosts in time, for example, for PHP, do they support Apache mod_rewrite, htaccess, etc.
In general, this is the maintenance of the hardware and software of the web site.
The software and hardware of the website maintenance scheme
1, regularly check system vulnerabilities, website access log records, system processes, resource utilization, bandwidth utilization, key parts of the system, website capacity, and document records.
2, the emergency plan for the server hardware failure and the malicious attack on the web site.
3, it is recommended that we do well in the test of website access stability when we are not busy, so that users can access normally when busy. For example, before midnight, second days, 8 o'clock, we must ensure that the website can be accessed normally.
The program and database of Web site maintenance content
Web site program maintenance content mainly includes web site source code, JS, static pictures, CSS and other non dynamic data maintenance, upgrading and backup, for self developed program monitoring program vulnerabilities, for the use of the third party development platform procedures need to update patches or upgrading.
The maintenance content of Web database mainly includes database backup and database optimization, database abnormal data, database capacity check and so on.
The program and database of the website maintenance scheme
The web application requests to retain the initial version after the line (V1.0), after each modification and upgrade to the initial version as the original, upgrade changes, keep the original version, and record and update the version number, version retention mode of a compressed packet stored in the third party, it is recommended that you save the storage device.
For website database maintenance requirements, according to the content update frequency and access, at least at least every day for granularity, backup, database backup can be incremental backup, also can use full backup, the name of the file is named by time. The backup mode can be always kept 30 days overdue and dump data, delete, backup destination: + local backup center, it should be noted that when the program update, updated version of the program need to maintain relevance, and the database backup file or the program after updating the record before, to prevent the database and program problems.
At the same time, as the capacity of the database becomes larger, there will be redundant and abnormal data, which needs regular inspection and maintenance.
Business data for web site maintenance
Maintenance of website service data can be classified according to the specific business management, such as pictures, if the picture is larger, suggestions on the picture of diversion, also need to do image backup, similar to the database backup, incremental backup, backup destination: local backup center + way.
At this point, the basic content of the website maintenance finished, welcome station maintenance experience of a friend, I think the basic principles of website maintenance program is to ensure the normal and stable operation of the site, but also need to consider the convenience in the future updates, platform migration.

沒有留言:

張貼留言