修改/etc/httpd/conf/httpd.conf
將AddDefaultCharset ISO-8859-1修改如下
AddDefaultCharst Big5
語言順序
LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ltz ca es sv tw
改成
LanguagePriority tw en da nl et fr de el it ja kr no pl pt pt-br ltz ca es sv
-------------------------------------------------------------------------------
*系統校時
ntpdate ntp.nasa.gov //校時
clock -w //寫入硬體
-------------------------------------------------------------------------------
在 CLE 1.0 寫程式,由於bash的bug,會使得output若不跳到下一行就會消失,請加讓\n
#include <stdio.h>
int main() {
printf("hello world");
改成 printf("hello world\n");
-------------------------------------------------------------------------------
env命令用來查看環境變量
-------------------------------------------------------------------------------
du -h 顯示本目錄的文件及各文件的大小
du -sh 顯示目錄占硬碟容量的大小
-------------------------------------------------------------------------------
/boot/grub/grub.conf
GRUB 配置
-------------------------------------------------------------------------------
/boot/module-info-*
內核驅動訊息
-------------------------------------------------------------------------------
Module information for the Linux kernel
/boot/System.map-*
系統列表
-------------------------------------------------------------------------------
Map of the Linux kernel
/boot/vmlinuz-*
內核
Linux kernel
-------------------------------------------------------------------------------
/etc/aliases
郵件別名
Mail aliases
-------------------------------------------------------------------------------
/etc/at.deny
被禁止的用戶
User IDs of users forbidden to use the at command
-------------------------------------------------------------------------------
/etc/auto.master
自動mount
Configuration file for the autofs daemon, which automatically mounts filesystems
-------------------------------------------------------------------------------
/etc/auto.misc
Automounter map file
-------------------------------------------------------------------------------
/etc/crontab
系統日誌
System cron file
-------------------------------------------------------------------------------
/etc/cron.daily/*
安全日誌
Daily cron jobs
-------------------------------------------------------------------------------
/etc/cron.hourly/*
時誌
Hourly cron jobs
-------------------------------------------------------------------------------
/etc/cron.monthly/*
月誌
Monthly cron jobs
-------------------------------------------------------------------------------
/etc/cron.weekly/*
周誌
Weekly cron jobs
-------------------------------------------------------------------------------
/etc/filesystems
支持的文件系統格式
Supported filesystem types
-------------------------------------------------------------------------------
/etc/fstab
文件系統mount
Filesystems mounted or available for mounting
-------------------------------------------------------------------------------
/etc/group
系統組定義
System group definitions
-------------------------------------------------------------------------------
/etc/host.conf
Resolver configuration file
-------------------------------------------------------------------------------
/etc/hosts
域名IP
Map of IP numbers to hostnames
-------------------------------------------------------------------------------
/etc/hosts.allow
允許的IP
ALL : 1.1.1.1
ALL : 2.2.2.* : deny
sendmail : 3.3.3.3 : deny
ipop3d : *
sendmail : ALL : allow
in.ftpd : *
Hosts allowed to access Internet services
-------------------------------------------------------------------------------
/etc/hosts.deny
禁止的IP
ALL:*
Hosts forbidden to access Internet services
-------------------------------------------------------------------------------
/etc/httpd/conf/*
Apache配置文件
Apache configuration files
-------------------------------------------------------------------------------
/etc/httpd/httpd.conf
Web伺服器配置文件
Web server configuration file
-------------------------------------------------------------------------------
/etc/initlog.conf
登陸配置文件
Logging configuration file
-------------------------------------------------------------------------------
/etc/inittab
Configuration for the init daemon, which controls executing processes
-------------------------------------------------------------------------------
/etc/issue
Linux kernel and distribution version
設定開機時啟動 mysql daemon
=>chkconfig mysqld on
-------------------------------------------------------------------------------
啟動phpMyAdmin注意事項
--開啟時發生以下錯誤:
Warning: mb_internal_encoding(): Unknown encoding "big5" in /var/www/html/phpMyAdmin/libraries/string.lib.php on line 29
-------------------------------------------------------------------------------
使用Apache Server的 mod_auth安全模組
--1.修改/etc/httpd/conf/httpd.conf,加入以下:
<Directory /var/www/html/phpmyadmin>
AllowOverride All
Order allow,deny
Allow from all
</Directory>