CentOS 5.3 文本安装 图文教程(一)

CentOS-5.3-x86_64-bin-DVD.iso

下载地址:centos5.3

1.设置为光盘启动

iFanxu_centos_02

2.在如下的界面中输入 “linux text” 之后按 Enter

iFanxu_centos_03

iFanxu_centos_04

3.检查安装光盘介质完整性

如果您要检查安装光盘介质完整性,选 OK,否则选Skip

iFanxu_centos_05

iFanxu_centos_06iFanxu_centos_09

4.设置安装过程中选择语言,这里我们选择简体中文/英文/日文,

但是字符界面安装不支持中文/日文,所以选择英文即可,点击NEXT,继续。

iFanxu_centos_10iFanxu_centos_11

5.选择键盘布局 默认即可,按Enter继续

iFanxu_centos_12

6.选择清空整个磁盘的Linux 分区

有下面四种分区方式:

继续阅读“CentOS 5.3 文本安装 图文教程(一)”

用iconv命令处理文本文件中文乱码问题 ICONV HPUNIX

iconv命令可以将一种已知的字符集文件转换成另一种已知的字符集文件。

iconv -f eucJP -t sjis  输入文件 > 输出文件

  输入/输出格式规范:
  -f, –from-code=NAME 原始文本编码
  -t, –to-code=NAME 输出编码

文字コード(日本語漢字コード表)

 

以下说明来源于 HP-UX   B.11.31 U ia64

NAME
      iconv – codeset conversion

SYNOPSIS
      iconv [-cs] -f frommap -t tomap [file]…
      iconv [-cs] -f fromcode [-t tocode] [file]…
      iconv [-cs] -t tocode [-f fromcode] [file]…
      iconv -l

DESCRIPTION
      The iconv command converts the encoding of characters in the input
      files from one codeset to another, and writes the results to standard
      output.  If no input files are given, iconv reads from standard input.
      If – appears as an input file name, the iconv command reads standard
      input at that point.  — can be used to delimit the end of options
      (see getopt(3C)).

    Options
      The iconv command recognizes the following options:

-c             Omit any characters that are invalid in the
               codeset of the input file from the output.  This

继续阅读“用iconv命令处理文本文件中文乱码问题 ICONV HPUNIX”

jprofiler not in gzip format FTP问题

jprofiler在LINUX安装时,

报错:gunzip: sfx_archive.tar.gz: not in gzip format
I am sorry, but the installer file seems to be corrupted.
If you downloaded that file please try it again.
If you transfer that file with ftp please make sure that you are using binary mode.
解决方法:把ftp软件的Transfer type改为Binary,重新上传。

 

FTP可用多种格式传输文件,通常由系统决定,大多数系统(包括UNIX系统)只有两种模式:文本模式和二进制模式。
文本传输器使用ASCII字符,并由回车键和换行符分开,而二进制不用转换或格式化就可传字符,二进制模式比文本模式更快,
并且可以传输所有ASCII值,所以系统管理员一般将FTP设置成二进制模式。

必须使用正确的模式,图片和执行文件必须用BINARY模式,CGI脚本和普通HTML文件用ASCII模式上传.

继续阅读“jprofiler not in gzip format FTP问题”