易截截图软件、单文件、免安装、纯绿色、仅160KB

DedeCMS部署 怎样去部署Apache+Mysql+PHP(LAMP)?

 声明:部署DedeCMS,在网上搜了很多资料,包括这个论坛,几乎没有发现在linux下部署的现成资料可以参考。
             遂,自己把整个部署过程中一些重要的点记录下来,一是算做自己的劳动成果,同时,期望对曾经和我一样迷茫,不知如何部署                的XDJM们一个参考。谢谢
DedeCMS部署--怎样去部署Apache+Mysql+PHP(LAMP)?
1. Linux OS:
Linux OS:Red Hat Enterprise Linux AS release 4 (Nahant Update 6)
2.Deploy Apache
2.1  下载Apache
下载Apache2
source from http://httpd.apache.org/  ,直接下载在/root下,解压tar包php-5.2.13。
2.2  编译 apache
cd httpd-2.2.15,进行编译,生成Makefile
./configure
--prefix=/usr/local/apache \  --指定apache安装目录
               --enable-so                    \
                 --enable-cgi                   \
                 --enable-info                 \
                 --enable-rewrite          \
                 --enable-speling           \
                 --enable-usertrack      \
                 --enable-de


相关文档:

PHP的基础知识

看了些PHP的基础知识,自己在这里总结下:
1,在HTML嵌入PHP脚本有三种办法:
<script language="php">
//嵌入方式一
echo("test");
</script>
<?
//嵌入方式二
echo "<br>test2";
?>
<?php
//嵌入方式三
echo "<br>test3";
?>
  还有一种嵌入方式,即使用 ......

JDBC 简单的Mysql连接

/*演示一个JDBC程序,从Mysql的LMD数据库中读出表admin的一个信息*/
import java.sql.*;
public class TestMysqlConnection {
    public static void main(String[] args) {
        Connection conn = null;
        Statement stmt = ......

php迅雷的链接算法

$thunder = ("Thunder://QUFodHRwOi8vNjAuMTkxLjYwLjEwODo4MDgwL3hweGlhemFpL0RlZXBpbl9HaG9zdF9YUF9WMTguMC5pc29aWg==");
//解密它
$thunder = trim($thunder,'Thunder://');
$c_thunder = base64_decode($thunder);
$c_thunder = ltrim(rtrim($c_thunder,'ZZ'),'AA');
//out [url]http://60.191.60.108:8080/xpxi ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号