In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
In this article, the editor introduces in detail "how to install and configure lanmp". The content is detailed, the steps are clear, and the details are handled properly. I hope this article "how to install and configure lanmp" can help you solve your doubts.
1) install centos 5
Please disable selinux and firewall during installation
2) install the necessary components
Lang=c
Yum-y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel openldap openldap-devel nss_ldap openldap-clients openldap-servers
3) install apache
If you use the system's apache + php + mysql
Can be used
Yum-y install httpd php mysql php-mysql php-pdo php-mcrypt php-mbstring
If you want to compile apache yourself, please go to apache.org to download the latest version of apache, and then compile and install it
. / configure-prefix=/usr/local/apache-enable-so
Make
Make install
To compile php and related components, you can download the latest version of php5.2 from www.php.net
. / configure-- prefix=/usr/local/php-- with-apxs2=/usr/local/apache2/bin/apxs-- with-mysql=/usr/local/mysql
(assuming that the previously compiled mysql is installed in / usr/local/mysql, if you use the mysql with the system, you can-- with-mysql=/usr)
4) compile nginx
Download nginx (www.nginx.net) and compile
. / configure-- prefix=/usr/local/nginx & & make & & make install
5) compile mysql
Download (dev.mysql.com) and compile mysql
. / configure-- prefix=/usr/local/mysql & & make & & make install
6) detailed performance adjustment and website planning
After reading this, the article "how to install and configure lanmp" has been introduced. If you want to master the knowledge of this article, you still need to practice and use it yourself. If you want to know more about related articles, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.