zoukankan      html  css  js  c++  java
  • lamp环境安装shell脚本

    cd /lamp/libxml2-2.6.30 ./configure --prefix=/gxlweb/lamp/libxml2/ make make install cd /lamp/libmcrypt-2.5.8 ./configure --prefix=/gxlweb/lamp/libmcrypt/ make make install cd /lamp/libmcrypt-2.5.8/libltdl ./configure --enable-ltdl-install make make install cd /lamp/zlib-1.2.3 ./configure make make install cd /lamp/libpng-1.2.31 ./configure --prefix=/gxlweb/lamp/libpng/ make make install mkdir /gxlweb/lamp/jpeg6 mkdir /gxlweb/lamp/jpeg6/bin mkdir /gxlweb/lamp/jpeg6/lib mkdir /gxlweb/lamp/jpeg6/include mkdir -p /gxlweb/lamp/jpeg6/man/man1 cd /lamp/jpeg-6b ./configure --prefix=/gxlweb/lamp/jpeg6/ --enable-shared --enable-static make make install cd /lamp/freetype-2.3.5 ./configure --prefix=/gxlweb/lamp/freetype/ make make install cd /lamp/autoconf-2.61 ./configure make make install cd /lamp/gd-2.0.35 ./configure --prefix=/gxlweb/lamp/gd2/ --with-jpeg=/gxlweb/lamp/jpeg6/ --with-freetype=/gxlweb/lamp/freetype/ make make install cd /lamp/httpd-2.2.9 ./configure --prefix=/gxlweb/lamp/apache2/ --sysconfdir=/etc/httpd/ --with-included-apr --disable-userdir --enable-so --enable-deflate=shared --enable-expires=shared --enable-rewrite=shared --enable-static-support make make install /gxlweb/lamp/apache2/bin/apachectl start echo "/gxlweb/lamp/apache2/bin/apachectl start" >> /etc/rc.d/rc.sysinit cd /lamp/ncurses-5.6 ./configure --with-shared --without-debug --without-ada --enable-overwrite make make install groupadd mysql useradd -g mysql mysql cd /lamp/mysql-5.0.41 ./configure --prefix=/gxlweb/lamp/mysql/ --with-extra-charsets=all make make install cp support-files/my-medium.cnf /etc/my.cnf /gxlweb/lamp/mysql/bin/mysql_install_db --user=mysql chown -R root /gxlweb/lamp/mysql chown -R mysql /gxlweb/lamp/mysql/var chgrp -R mysql /gxlweb/lamp/mysql /gxlweb/lamp/mysql/bin/mysqld_safe  --user=mysql & cp /lamp/mysql-5.0.41/support-files/mysql.server /etc/rc.d/init.d/mysqld chown root.root /etc/rc.d/init.d/mysqld chmod 755 /etc/rc.d/init.d/mysqld chkconfig --add mysqld chkconfig --list mysqld chkconfig --levels 245 mysqld off cd /lamp/php-5.2.6 ./configure --prefix=/gxlweb/lamp/php/ --with-config-file-path=/gxlweb/lamp/php/etc/ --with-apxs2=/gxlweb/lamp/apache2/bin/apxs --with-mysql=/gxlweb/lamp/mysql/ --with-libxml-dir=/gxlweb/lamp/libxml2/ --with-jpeg-dir=/gxlweb/lamp/jpeg6/ --with-freetype-dir=/gxlweb/lamp/freetype/ --with-gd=/gxlweb/lamp/gd2/ --with-mcrypt=/gxlweb/lamp/libmcrypt/ --with-mysqli=/gxlweb/lamp/mysql/bin/mysql_config --enable-soap --enable-mbstring=all --enable-sockets make make install cp php.ini-dist /gxlweb/lamp/php/etc/php.ini echo "Addtype application/x-httpd-php .php .phtml" >> /etc/httpd/httpd.conf /gxlweb/lamp/apache2/bin/apachectl restart
  • 相关阅读:
    NSDateFormatter格式详细列表一览
    Core Data could not fulfill a fault
    使用Devstack部署neutron网络节点
    配置基于Devstack的嵌套KVM虚拟化
    配置基于Devstack的嵌套KVM虚拟化
    Devstack单节点环境实战配置
    Devstack单节点环境实战配置
    Openstack贡献者须知 2 — 社区工作运作 & 代码贡献流程
    Openstack贡献者须知 2 — 社区工作运作 & 代码贡献流程
    Openstack 中的消息总线 & AMQP
  • 原文地址:https://www.cnblogs.com/gxldan/p/4066719.html
Copyright © 2011-2022 走看看