1. varnish official https://www.varnish-cache.org/
2. Get source wget http://repo.varnish-cache.org/source/varnish-3.0.0-beta2.tar.gz
3.
Tar zxvf varnish-3.0.0-beta2.tar.gzCD varnish-3.0.0-beta2./Configure -- prefix =/usr/local/VarnishMake make install
If no package 'libpcre' found is returned, run Yum install PCRE-devel.
4. Modify/usr/local/Varnish/etc/Varnish/Default. VCL
#Backend default {. Host
Install php5.5 + MySQL5.5.32 on centos. If you directly use yuminstall to install php in centos, the version is relatively low. if you need a higher version, see: Step 1: installingRemiRepository # InstallRemiEpelRepositoryo has a relatively low version when directly using y
PHP (foreign name: Php:hypertext Preprocessor, Chinese name: "Hypertext Preprocessor") is a common open source scripting language. The grammar absorbs the C language, Java and Perl features, is conducive to learning, widely used, mainly for the field of web development. PHP with its development source code, free, fast, cross-platform, efficient, object-oriented, powerful dynamic image creation and other fun
;# Fastcgi_index index.php;# Fastcgi_param Script_filename/scripts$fastcgi_script_name;# include Fastcgi_param;# }Remove the comments for this configuration and change the include Fastcgi_param to include fastcgi.confSave Restart Nginx/usr/local/nginx/sbin/nginx-s ReloadThe default Web directory is an HTML folder, and a new test file is created belowtouch/usr/local/nginx/html/test.phpvi/usr/local/nginx/html/test.phpWrite Once saved, access the page in a browser, such as displaying the
When installing the lamp architecture, we often use the php-5.3 versionCompile and install demo for php-5.4/5.5 now:[[emailprotected] ~]# cd/usr/local/src[[emailprotected] src]# wget http://cn2.php.net/distributions/ PHP-5.4.36.TAR.BZ2 (5.5 address http://cn2.php.net/distributions/
Source: http://www.laozhe.net/302.htmlIn general, the installation is the latest official version, unless you have special needs, to install the specified version, this article is not discussed. From the very beginning of the basics, a little bit to complete an available Linux host. Here's how to install the LAMP component on CentOS 6.0. After installing the foll
install M4[email protected] ~]# Yum install autoconfNext execution:/usr/local/bin/phpize The following results indicate successful execution:5, next to the compile stage, the compilation process using the following command:[Email protected] openssl]#/configure--with-openssl--with-php-config=/usr/local/bin/
Nginx and php-fastcgi on CentOS 5
Published:monday, December 14th, by Phil Paradis
The Nginx Web server is a fast, lightweight server designed to efficiently handle the needs of both low and high traffic W Ebsites. Although commonly used to serve static content, it's quite capable of handling dynamic pages as well. This guide would help you get the nginx up and
the latest version. Because the php version of CentOS 6.3 of the latest version is 5.3, the php version of CentOS in the earlier version is also relatively low.
Run the following command:
yum -y update
Note:: If an error is reported during execution, run the following command to fix the problem:
rpm –import /etc/pki/r
Applicable environment:
CentOS 6.5 32bit
Linux + Nginx + Mysql + PHP
Version and Time: (as of this post date 2014-10-14, all versions are the latest version)
Nginx-1.7.6
Mysql-5.6.21
PHP-5.6.1
First, Download:
Nginx:http://nginx.org/en/download.html
mysql:http://dev.mysql.com/downloads/mysql/(select Linux-generic version of linux-generic (glibc 2.5)
the yum command cannot connect to the repository, check your/etc/yum. repos. d/, and whether your/etc/host can reach the domain name)
Dependencies Resolved================================================================================ Package Arch Version Repository Size================================================================================Installing: libmcrypt i386 2.5.7-5.el5
Applicable environment:CentOS 6.5 32bitLinux + Nginx + Mysql + PHPVersion and Time: (as of this post date 2014-10-14, all versions are the latest version)Nginx-1.7.6Mysql-5.6.21PHP-5.6.1First, Download:Nginx:http://nginx.org/en/download.htmlmysql:http://dev.mysql.com/downloads/mysql/(select Linux-generic version of linux-generic (glibc 2.5) (x86, 32-bit), Compress Ed)php:http://php.net/downloads.php#v5.6.1Second, installation (ignoring the decompression process, after installation of the default
This article describes the process of installing the AMQP extension to PHP under Linux, and a friend who needs to pay attention to it.
Installing Librabbitmq-c and Rabbitmq-codegen
# download version 0-9-1 rabbitmq-cgit clone GIT://GITHUB.COM/ALANXZ/RABBITMQ-C.GITCD rabbitmq-c# Enable and update the CodeGen git sub Modulegit submodule initgit submodule update# Configure, compile and Installautoreconf-i ./configure ; Make sudo make
://mirrors.sohu.com/centos/RPM-GPG-KEY-CentOS-5
# Packages used/produced in the build but not released
[Addons]
Name = centos-$ releasever-Addons
Baseurl = http://mirrors.sohu.com/centos/?releasever/addons/?basearch/
Gpgcheck = 1
Gpgkey = http://mirrors.sohu.com/
NETMASK = 255.255.255.0 # network mask GATEWAY = 192.168.137.1 # GATEWAY IPDNS1 = subnet # DNS1 IPAfter modifying the IP address, remember to use the command to restart the Centos network for the IP address to take effect.
Service network restart
Now, the preparations are complete. you have to start deploying the environment.
Step 2. create a work account in the simulated production system. the command line is as follows:Useradd workPasswd work:
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.