Install NginxMySQLPHPFCGI under Ubuntu10.10Desktop

Source: Internet
Author: User
The operating environment is a patchwork old machine, running four gb cpu, GB memory, 40 Gb Seagate IDE hard disk, which is roughly 04 years of hardware level. For LNMP installation, only WordPress is installed. The operating system is Ubuntu10.10 installed by myself. It's okay to use Ubuntu on the desktop as a server. Remember to set the language environment to English. I installed LNMP once with the one-click installation package of LNMP. The result was unsuccessful and the error was not found, so all purge started from scratch. Selected this time

The operating environment is a patchwork old machine, running four gb cpu, GB memory, 40 Gb Seagate IDE hard disk, which is roughly 04 years of hardware level. For LNMP installation, only WordPress is installed.

The operating system is my own Ubuntu 10.10. It's okay to use Ubuntu on the desktop as a server. Remember to set the language environment to English.
I installed LNMP once with the one-click installation package of LNMP. The result was unsuccessful and the error was not found, so all purge started from scratch. This time, all the software is installed with apt and configured manually. The result is smooth sailing.

Install nginx:
1. sudo apt-get install nginx

Instantly installed. The general structure of nginx is
All configuration files are stored in/etc/nginx/
The virtual host is in/etc/nginx/sites-available/. Here I use "default"
You must create a link to the/etc/nginx/sites-available/Vm configuration file under/etc/nginx/sites-enabled/. The default link is ready for installation.
Log in/var/log/nginx/
The STARTUP script has been created in/etc/init. d/and also in/etc/rc2.d.
Start nginx now.

1.sudo /etc/init.d/nginx start

This is unlikely to be a problem. If the system prompts that bind fails, it may be that other processes (such as apache) occupy port 80 and stop.

Install php:

1.sudo apt-get install php5 php5-cgi php5-mysql php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-mhash php5-ming php5-pspell php5-recode php5-snmp php5-tidy php5-xmlrpc php5-sqlite php5-xsl

This is copied from someone else. I can't use this much, but it doesn't matter if I have to install more. If I have to install less, there may be problems.

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.