1. Install nginx
sudo apt-get install nginx
All configuration files are in/etc/nginx, and the virtual host is configured in/etc/nginx/sites-available.
Program file in/usr/sbin/nginx
Logs are stored in/var/log/nginx.
The Startup Script nginx has been
Update Source listOpen "Terminal Window", enter "sudo apt-get update"-and "enter the root user's password"--return, you can. If you do not run the command, the direct installation of PHP, "there are several packages cannot be downloaded, you can run
Because Ubuntu is installed on the machine and you are very interested in PHP, you have been trying to build a PHP development environment under ubuntu, that is, for Linux + Apache + MySQL + PHP, there are many silly installation packages for
UbuntuLAMP detailed configuration instructions (suitable for newcomers)-Linux Enterprise Application-Linux server application information, the following is a detailed description. [I = s] This post was last edited by synw at, January 14
Pleasenote: Thisworksfine. Equals, like? Etcapache2sites-availabledefaultwhenupgrading.Thismayresulti
Please note: This works fine. But this package will also upgrade your apache to version 2.4 which has different config files than apache 2.2 and
As a result of just learning Linux, choose the interface of the more friendly Ubuntu for research. Command line + visualization for beginners, the combination is relatively good, the graphical interface as a command line of a transition can be more
Ubuntu in Nginx the installation and configuration1.Nginx IntroductionNginx is a very lightweight HTTP server, Nginx, it is pronounced "engine X", is a high-performance HTTP andThe reverse proxy server is also a IMAP/POP3/SMTP proxy server.2.
Installing the JDKUnzip files, folder for JDK 1.8.0_20, and sudo gedit/etc/environmentAdd the following lines at a later:Path= "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/lib/jdk1.7.0/bin"classpath=.:/
Nginx is a very lightweight HTTP server and a high-performance HTTP and reverse proxy server, as well as a IMAP/POP3/SMTP proxy server.
1. Support for PHP
Currently, there are three kinds of Web server support for PHP:
(1) Through the Web server
Because it's just a development environment, it's all about choosing a simpler apt-get installation, but there's a problem in the middle.
First install Nginx
Nginx installation and configuration is actually very simple, nginx itself is very
1.Nginx Introduction
Nginx is a very lightweight HTTP server, Nginx, which is pronounced "engine X", is a high-performance http and
The reverse proxy server is also a IMAP/POP3/SMTP proxy server.
2. Support for PHP
Currently, there are three
There was nothing to be said about the installation. But in Linux it is easy to get a variety of problems. After I install it causes various problemsFor example, PHP does not parse properly, the database cannot be closed, Apache cannot open,
First step: Install the php_xdebug extension and see if the installation is successful[HTML]View Plaincopyprint?
sudo apt-get install php5-xdebug #安装命令
sudo apt-get install php5-xdebug #安装命令[HTML]View Plaincopyprint?
Php-m #
sudo apt-get Update--Updating the software sourcesudo apt-get upgrade -Update the installed softwareUpdate the system with a non-root userSudo:sudo is a Linux system Management Directive, a tool that allows the system administrator to let ordinary
There are some tutorials on the internet, such as LNMP configuration 1, LNMP configuration 2, I myself refer to the experience of the great God, I downloaded an Ubuntu kylin15.10 version, and configured from beginning to end, fill in a few possible
Recently need to use Ubuntu as a server to build LNMP environment, the way to write down the process to share with you. If there are any deficiencies, we welcome different views. (The default reader of this article is already familiar with the use
Back-end development uses PHP operation Redis, where the problems encountered during the installation test are summarized and recorded for future reference! (System for Ubuntu)
1.redis Installation
Download Address:
This article refers to
As soon as we started installing PHP, we didn't know what extensions were needed, so we had to wait until we actually used them to find a way to install them.
The easiest way to install PHP extensions is to
sudo apt-get
http://blog.csdn.net/kay_wyong/article/details/6695457
The following is the installation detail process for the mantis under Ubuntu first, the environment to build
1, Apache server installation sudo apt-get install apache2
2, PHP5 installation
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.