This page looks plain and unstyled because you're using a non-standard compliant browser. To see it in its best form, please upgrade to a browser that supports web standards. It's free and painless.

修性不修命,萬劫陰靈難入聖; 修命不修性,猶有家財無主柄
Album | Blog | Comment | Profile | Control Panel
標題列表  簡短摘要
aquatower | 1 August,2009 11:08

5. Squid Porxy Server

Package: squid
Daemon: /usr/sbin/squid
Script: /etc/init.d/squid
Port: /etc/init.d/squid
Configuration: /etc/squid/*

1. 安裝
#yum install squid
(Read More...)

aquatower | 1 August,2009 10:42

4.Virtual Host (網站代管)


(1)建立目錄
#mkdir -p /var/www/html/virt1
#mkdir -p /var/www/html/virt2
並在virt1, virt2裡建立index.html檔案, 當然別忘了SElinux: #restorecon -R /var/www/html

(2)確認DNS是否正確, 增加DNS的A紀錄
[root@server118 ~]# dig virt1.example.com
(Read More...)

aquatower | 1 August,2009 10:18

3. Secure Directory and basic configuration

#cd /var/www/html
#mkdir secure

#cat > index.html <
> Secure page
> secure page
> ookk

(Read More...)

aquatower | 1 August,2009 9:19

2. 個人網站:public_html

(1)建立目錄及index.html
#chmod 701 /home/student
#su - student
[student@server118 ~]$
$mkdir public_html

%可以在/etc/skel 先設定, useradd會自動幫user建立public_html目錄

(Read More...)

aquatower | 1 August,2009 8:55

Apache Web Server

Packages: httpd, httpd-devel, httpd-manual
Daemon: /usr/sbin/httpd
Scripts: /etc/init.d/httpd
Ports: 80(http), 443(https)
Conriguration: /etc/httpd/*, /var/www/*
Related: mod_ssl (for https)

%SElinux
(Read More...)