Installing Ubuntu as LAMP (Linux, Apache, Mysql, PHP - Perl - Python) Server is very easy. As it already has the choice available if you installing your Ubuntu using Ubuntu server CD. It'll install Apache with mod_php and PHP and Mysql along with php_mysql module. All tight up together. Not like in Fedora/CentOS/Redhat where you install Apache without PHP, which may lead to miss some configuration.
Simple and straight forward configuration is available on UbuntuGeek.comTuesday, April 29, 2008
5 Minutes Squid
Using Fedora Core 4
based on Red Hat Magazine | Squid in 5 minutes
All command running as root
based on Red Hat Magazine | Squid in 5 minutes
All command running as root
- Check if squid is available:
# rpm -q squid - If squid available, it'll output something like
squid-2.5.STABLE9-7
if not then execute the command:
# yum install squid - Configure squid: (just added on the last line)
# cp /etc/squid/squid.conf ~
# vi /etc/squid/squid.conf
http_port 8080
acl intranet src 192.168.0.0/24
http_access allow intranet - Info:
Our proxy server running on port 8080 so make sure you open that port on firewall
and the proxy only allow connection from network 192.168.0.0/24 - Turning on Squid:
# service squid start
# chkconfig squid on - Check Squid status:
# service squid status
# tail -f /var/log/messages/
# netstat -pant | grep 8080
Subscribe to:
Posts (Atom)