If anyone interested in Indonesia i got 3 DDR1 512 MB memory and 2 DDR2 SODIMM 512 MB to sale
here's some picture of them :
#apt-get install squid3
Edit your squid.conf in /etc/squid3/squid.conf
http_port xxxx transparent #change xxxx with port number
cache_mgr Spearcross
visible_hostname Spearcross.net
cache_mem 64 MB
logformat combined %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %Hs %h" "%{User-Agent}>h" %Ss:%Sh
access_log /var/log/squid3/access.log squid
cache_store_log none
cache_log /var/log/squid3/cache.logacl apache rep_header Server ^Apache
cache_dir ufs /var/spool/squid3 5000 8 256
#For cache_dir use this formula
#(((x / y) / 256) / 256) * 2 = # Directory number
#example: you allocating 2GB for cache and 20KB average object size
#(((5.000.000 / 20) / 256) / 256) * 2 = 8
#so you write cache_dir like this
#
#cache_dir 5000 8 256maximum_object_size 4194240 KB
maximum_object_size_in_memory 512 KB
negative_ttl 2 minutes half_closed_clients off
For Anonymous Proxy :
forwarded_for off
request_header_access Allow allow all
request_header_access Authorization allow all
request_header_access WWW-Authenticate allow all
request_header_access Proxy-Authorization allow all
request_header_access Proxy-Authenticate allow all
request_header_access Cache-Control allow all
request_header_access Content-Encoding allow all
request_header_access Content-Length allow all
request_header_access Content-Type allow all
request_header_access Date allow all
request_header_access Expires allow all
request_header_access Host allow all
request_header_access If-Modified-Since allow all
request_header_access Last-Modified allow all
request_header_access Location allow all
request_header_access Pragma allow all
request_header_access Accept allow all
request_header_access Accept-Charset allow all
request_header_access Accept-Encoding allow all
request_header_access Accept-Language allow all
request_header_access Content-Language allow all
request_header_access Mime-Version allow all
request_header_access Retry-After allow all
request_header_access Title allow all
request_header_access Connection allow all
request_header_access Proxy-Connection allow all
request_header_access User-Agent allow all
request_header_access Cookie allow all
request_header_access All deny all
Restart your Squid3
/etc/init.d/squid3 restart
apt-get install mrtg snmpd snmp
Edit the mrtg configuration file to edit some of the settings
File is located at /etc/mrtg.cfg you need to change the global settings as follows :
# Global Configuration
RunAsDaemon: yes
EnableIPv6: no
WorkDir: /var/www/mrtg
Options[_]: bits,growright
WriteExpires: YesTitle[^]: Traffic Analysis for
Edit the snmp community name in snmp configration file /etc/snmp/snmpd.conf
# sec.name source community
# com2sec paranoid default public
com2sec readonly default public
#com2sec readwrite default private
Now you need to restart the snmp service
#/etc/init.d/snmpd restrat
Creating the configuration file using
#cfgmaker public@localhost > /etc/mrtg.cfg
Creating a configuration file for a device using
#cfgmaker public@192.168.0.1 >> /etc/mrtg.cfg
Create index file for the webserver
#indexmaker /etc/mrtg.cfg > /var/www/mrtg/index.html
sudo apt-get install mysql-server
sudo apt-get install apache2
sudo apt-get install php5
sudo apt-get install php5-mysql
sudo apt-get install phpmyadmin
To set up under Apache all you need to do is include the following line in /etc/apache2/apache2.conf, first type the following command to open up this file:
gksudo gedit /etc/apache2/apache2.conf
Add the following line of code inside apache2.conf:
Include /etc/phpmyadmin/apache.conf
Now restart Apache:
sudo /etc/init.d/apache2 restart