SUSE 安装Apache httpd-2.2.17

在SUSE中安装Apache服务器httpd.安装如下:

前提条件:需要提前安装好gcc,gcc-c++,make等等工具,当然一般的系统都有安装。

1.下载httpd

命令如下:

wget http://archive.apache.org/dist/httpd/httpd-2.2.17.tar.gz  

2.解压文件:

tar xvf  httpd-2.2.17.tar.gz  

  cd httpd-2.2.17

3.设置环境变量:

./configure –prefix=/usr/local/httpd

4.编译安装

make && make install

 

 

 

升级方法:

#cd /usr/local/apache

#tar xvf /tmp/httpd-2.0.59.tar.gz

#cd httpd-2.0.59

#../httpd-2.0.17/build/config.nice

#make

SecureCrt设置字符编码 及 日志问题  

SecureCrt设置字符编码 及 日志问题  

1. SecureCRT设置字条编码
Option--Session Option--Appearance
示例设置为UTF8如下:
SUSE 安装Apache httpd-2.2.17
 
2. SecureCrt设置当前会话的编码
Option--Session Option --Terminal -- Log File

OverWrite file 为覆盖原有日志, Append to File 把新日志内容追加到原有日志中

prompt for filename 每次提示用户输入日志名字
start log upon connect 连接时候建立日志
.............
示例如下(日志格式为 年月日时分秒_连接名.log):
SUSE 安装Apache httpd-2.2.17