Step-by-step Installing and Configure Lusca Proxy Server in Ubuntu Server 12.04


Step 1: make certain your ubuntu package repositories and put in programs area unit up thus far.
Code:
sudo apt-get update -y && sudo apt-get upgrade -y

Step 2: Install Lusca and alternative package
Code:
sudo apt-get install lusca squidclient squid-cgi ccze

Step 3: Backup recent lusca file configuration and build new lusca file configuration:
Code:
sudo /etc/lusca/squid.conf /etc/lusca/squid.conf.original
Code:
sudo bit /etc/lusca/squid.conf
Code:
sudo nano /etc/lusca/squid.conf
copy and paste squid configuration from here
Set owner file /etc/lusca/squid.conf to user and cluster proxy
Code:
sudo chown proxy:proxy /etc/lusca/squid.conf

Step 4: produce directory /etc/squid and Store URL File Configuration (storeurl.conf):
Code:
sudo mkdir /etc/squid/
Code:
sudo bit /etc/squid/storeurl.pl
Code:
sudo nano /etc/squid/storeurl.pl
copy and paste store URL from here
Change Owner and permission file /etc/squid/storeurl.pl
Code:
sudo chown proxy:proxy /etc/squid/storeurl.pl
Code:
sudo chmod +x /etc/squid/storeurl.pl

Step 5: amendment owner and permission lusca cache directory
Code:
sudo chown proxy:proxy /cache-{1,2,3,4,5}
Code:
sudo chmod 777 /cache-{1,2,3,4,5}

Step 6: right lusca, to envision any erros with following command
Code:
lusca -d1

Step 7: IF metal have error Restart lusca daemon with following command

Code:
sudo service lusca restart
Step 8: Restart ubuntu server twelve.04
Code:
sudo init half-dozen

Step 9: observance lusca access.log :

Code:
sudo tail -f /var/log/lusca/access.log | ccze

1 comments:

  1. If you're trying to lose kilograms then you certainly have to start using this totally brand new custom keto meal plan diet.

    To produce this service, certified nutritionists, fitness trainers, and top chefs joined together to develop keto meal plans that are useful, decent, cost-efficient, and enjoyable.

    From their grand opening in January 2019, 100's of individuals have already completely transformed their body and well-being with the benefits a smart keto meal plan diet can give.

    Speaking of benefits: in this link, you'll discover 8 scientifically-certified ones provided by the keto meal plan diet.

    ReplyDelete