Upgrade the WEB Server to Ubuntu 10.04 Server

Source: Internet
Author: User

The original WEB Server uses the Ubuntu 8.10 Server system. As Ubuntu 8.10 system support ends this year, no new patches are provided. Therefore, we plan to install the latest Ubuntu 10.04 Server in the past few days.

In order not to affect the access to the original website, first migrate data on the server to another server and continue to provide WEB services. The next step is to remove the system on the original Server and install the new Ubuntu 10.04 Server.

 

System installation has not encountered any problems, and there is no major change with the previous Server version. However, when selecting the time zone, China is selected, but the default city is chongqing (chongqing ), I don't know why !!! Return to the city of Shanghai. After the installation is complete, wait for the restart. the startup speed is as good as the official introduction. It takes only a few dozen seconds to go to the user login interface (good ), I think the Ubuntu 10.04 desktop version can certainly achieve this Fast startup speed.

The original server system architecture was Linux + Apache + Mysql + PHP (LAMP). The new system architecture was changed to Linux + Nginx + Mysql + PHP (LNMP). I Googled it online, in the Ubuntu Chinese Forum, find an article about installation as a reference. Basically follow the above method to install nginx + php5 + mysql, and use the php test page "<? Phpinfo () ;?>" In the test, nginx supports php. Next, install related extensions of php5, such as zend optimizer. The installation of zend optimizer has encountered many problems. Generally, you only need to download the zend optimizer software package and install it, on the php test page, we can see that zend optimizer has been loaded, but I have not loaded it many times. What is the problem ?! Later, google made a pass and finally found the cause of the problem. The original php5 version installed on Ubuntu 10.04 Server was 5.3, while zend optimizer only supported php5 version 5.2, therefore, zend optimizer cannot be loaded.

How can this problem be solved? Continue to google to find a solution. If you see other linux versions on the Internet, you can change php5.3 to php5.2, but php5.3 is installed on Ubuntu 10.04 Server by default, how can it be reduced to 5.2? Finally, I found the answer on the foreign Ubuntu Forum. Many netizens need to use php5.2 for development on the Ubuntu 10.04 Server, rather than the latest php5.3 version. The master wrote a script to replace php5.3 on Ubuntu 10.04 with php5.2 on Ubuntu 9.10. The idea of the script is to delete php5.3 on Ubuntu 10.04 and related software packages and libraries, add a secure 9.10 update source, and then install php5.2 on 9.10 and related software packages and libraries. According to the script, php5.2 is successfully installed and zend optimizer can be loaded successfully.
 

 

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.