摘要:mysql的 profiling不是默认打开的查看profiling是否找开mysql> show variables like "%pro%";+---------------------------+-------+| Variable_name | Value |+---------------------------+-------+| profiling | OFF || profiling_history_size | 15 || protocol_version | 10 || sla...
阅读全文
摘要:APT安装sudo apt-get install postgresql postgresql-client-common(注: 我的机器会卡死在 "正在设置 postgres92 (9.2.0-b1) ...")源码安装wget http://ftp.postgresql.org/pub/source/v9.2.0beta1/postgresql-9.2beta1.tar.bz2tar -xvf postgresql-9.2beta1.tar.bz2cd postgresql-9.2beta1./configuresudo make && make ins
阅读全文
摘要:SELECT * FROM tablename INTO OUTFILE "/tmp/tablename.log"
阅读全文
摘要:# -- mysql -----sudo apt-get install mysql-serversudo apt-get install mysql-client # 检测Mysql是否正常mysql-uusername -ppassword # -- apache -------sudo apt-get install apache2# 检测Apache是否正常# 浏览器上输入http://127.0.0.1 看apache是否启动# phpsudo apt-get install php5sudo apt-get install libapache2-mod-auth-mysqlsud.
阅读全文
摘要:Fromhttp://blog.csdn.net/heiyeshuwu/archive/2011/03/13/6246584.aspx简介Wikipedia、Facebook 和 Yahoo! 等主要 web 属性使用 LAMP 架构来为每天数百万的请求提供服务,而 Wordpress、Joomla、Drupal 和 SugarCRM 等 web 应用程序软件使用其架构来让组织轻松部署基于 web 的应用程序。该架构的优势在于其简单性。而 .NET 这样的堆栈和 Java™ 技术可能使用大量硬件、昂贵的软件栈和复杂的性能调优,LAMP 堆栈可以运行于商品硬件之上,使用开源软件栈。由于软件栈是一
阅读全文