Server
squid
squid.conf
#http_port 3128
cache_dir ufs /var/spool/squid 100 16 256
#cache_access_log /var/log/squid/access.log
#cache_log /var/log/squid/cache.log
Top
privoxy
# Define Privoxy as parent proxy (without ICP)
cache_peer 127.0.0.1 parent 8118 7 no-query
# Define ACL for protocol FTP
acl ftp proto FTP
# Do not forward FTP requests to Privoxy
always_direct allow ftp
# Forward all the rest to Privoxy
never_direct allow all
dopisać można - cat plik_z_tym >>/etc/...gdzieś.../squid.conf
Top
apache2 - ubuntu
-
Współdzielenie plików:
apt-get install apache2.2-bin
apt-get install libapache2-mod-dnssd
-
apache i php:
sudo apt-get install apache2
sudo apt-get install php5
sudo apt-get install libapache2-mod-php5
sudo /etc/init.d/apache2 restart
-
User dir:
cd /etc/apache2/mods-enabled
sudo ln -s ../mods-available/userdir.load
sudo ln -s ../mods-available/userdir.conf
sudo apache2ctl restart
Top
|