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...)
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.
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...)
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...)
3. Secure Directory and basic configuration
#cd /var/www/html
#mkdir secure
#cat > index.html <
> Secure page
> secure page
> ookk
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...)
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...)
Hits Today: 5
Total Hits: 21223