テキストの書き換え作業
httpd( Apache)の初期設定
B-1 PuTTYのDLを完了している事
[root@linux ~]# vi /etc/httpd/conf/httpd.conf
矢印キーで ServerAdmin root@localhost のところまでカーソルを移動
a
キーを押す  (カーソル右から文字挿入可)

Escキーを押し
:wと記述しEnter (:を忘れずに wは小文字)保存
:qでEnter (これはQの小文字) 終了
#
# ServerAdmin: Your address, where problems with the server should be
# e-mailed. This address appears on some server-generated pages, such
# as error documents. e.g. admin@your-domain.com
#

ServerAdmin root@localhost ←管理者メールを記述
#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If this is not set to valid DNS name for your host, server-generated
# redirections will not work. See also the UseCanonicalName directive.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
# You will have to access it by its address anyway, and this will make
# redirections work in a sensible way.
#
#ServerName localhost:80 ここの行の先頭の#を削除
                  
localhost部分を自分のドメインに変更
#を記述   #AddDefaultCharset UTF-8
#
# Specify a default charset for all pages sent out. This is
# always a good idea and opens the door for future internationalisation
# of your web site, should you ever want it. Specifying it as
# a default does little harm; as the standard dictates that a page
# is in iso-8859-1 (latin1) unless specified otherwise i.e. you
# are merely stating the obvious. There are also some security
# reasons in browsers, related to javascript and URL parsing
# which encourage you to always set a default char set.
#
AddDefaultCharset UTF-8 ここの行の先頭に#を記述  日本語文字化け対策 重要
#AddDefaultCharset UTF-8
httpdの起動
[root@linux ~]# /etc/rc.d/init.d/httpd start
[root@linux ~]# /etc/rc.d/init.d/httpd start
Starting httpd:                      
[ OK ]
[root@linux ~]#
httpdの自動起動
[root@linux ~]# chkconfig httpd on
[root@linux ~]# 
Webを見て確認
Network内のPCから LinuxのIPを入力
http://192.168.0.21/
このページが確認できれば完了
vsftd (FTP)の初期設定
D-2 PuTTYのDLを完了している事
[root@linux ~]# vi /etc/vsftpd/vsftpd.conf
#
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).

anonymous_enable=YES   YES をNOに変更
#
anonymous_enable=NO
#
# By default the server will pretend to allow ASCII mode but in fact ignore
# the request. Turn on the below options to have the server actually do ASCII
# mangling on files when in ASCII mode.
# Beware that turning on ascii_download_enable enables malicious remote parties
# to consume your I/O resources, by issuing the command "SIZE /big/file" in
# ASCII mode.
# These ASCII options are split into upload and download because you may wish
# to enable ASCII uploads (to prevent uploaded scripts etc. from breaking),
# without the DoS risk of SIZE and ASCII downloads. ASCII mangling should be
# on the client anyway..

#ascii_upload_enable=YES  ここの行の先頭の#を削除
#ascii_download_enable=YES
  ここの行の先頭の#を削除
#
# without the DoS risk of SIZE and ASCII downloads. ASCII mangling should be
# on the client anywa
ascii_upload_enable=YES
ascii_download_enable=YES
# You may activate the "-R" option to the builtin ls. This is disabled by
# default to avoid remote users being able to cause excessive I/O on large
# sites. However, some broken FTP clients such as "ncftp" and "mirror" assume
# the presence of the "-R" option, so there is a strong case for enabling it.

#ls_recurse_enable=YES ここの行の先頭の#を削除
# sites. However, some broken FTP clients such as "ncftp" and "mirror" assume
# the presence of the "-R" option, so there is a strong case for enabling it.

ls_recurse_enable=YES
vsftpdの起動
[root@linux ~]# /etc/rc.d/init.d/vsftpd start
Starting vsftpd for vsftpd:          [ OK ]
[root@linux ~]#
vsftpdの自動起動
[root@linux ~]# chkconfig vsftpd on