This is a short guide how to set up a transparent cache proxy on Ubuntu Server. Basically, there are two reasons why you may be interested setting up a Squid proxy: speed up your web access and save your bandwidth. Let assume that you already set up a Linux gateway using iptables. It is possible to run squid also on Windows but unfortunately it is extremely hard to find a hardware on which
Sunday, January 17, 2010
Saturday, January 16, 2010
How to convert CHM to PDF in LInux
Posted on 11:45 PM by Unknown
1. Install dependencies by running in the Terminal:
sudo apt-get install htmldoc libchm-bin python-chm
2. Download chm2pdf by clicking this.
3. Now extract the downloaded file.
4. Open your Terminal and browse to the folder you extracted and run: sudo python setup.py install
5. You’re done!
Now to use it is very simple:
In Terminal, type:
chm2pdf --book filename.chm
# (Where filename is
sudo apt-get install htmldoc libchm-bin python-chm
2. Download chm2pdf by clicking this.
3. Now extract the downloaded file.
4. Open your Terminal and browse to the folder you extracted and run: sudo python setup.py install
5. You’re done!
Now to use it is very simple:
In Terminal, type:
chm2pdf --book filename.chm
# (Where filename is
Google To Switch To EXT4
Posted on 11:36 PM by Unknown
Google is in the process of migrating their EXT2 file-systems over to the modern EXT4 file-system. This was brought up in a JFS benchmarking discussion. Google's Michael Rubin shared that they chose EXT4 after benchmarking it as well as XFS and JFS. Their results showed EXT4 and XFS performing close to one another, but with it being easier to upgrade from EXT2 to EXT4 rather than EXT2 to XFS,
Monday, January 11, 2010
How to disable KVM in running kernel to solve errors while running VirtualBox
Posted on 12:17 AM by Unknown
Issue this following commands as root or with sudo permission
rmmod kvm_intel
rmmod kvm
after that run VirtualBox
To solve the problem permenantly add these commands to scripts that will be executed when system starts like /etc/rc.local
rmmod kvm_intel
rmmod kvm
after that run VirtualBox
To solve the problem permenantly add these commands to scripts that will be executed when system starts like /etc/rc.local
Saturday, January 9, 2010
40,000 processors and 104 TB of RAM Assembled to Render Avatar
Posted on 8:58 AM by Unknown
As the special-effects-driven blockbuster AVATAR stuns audiences with its lush computer-animated fantasy scenes, a data center in Wellington, New Zealand, has played a backstage, but vitally crucial role.
New Zealand-based visual effects company Weta Digital (www.wetafx.co.nz) was able to manage the intense streams of data required to render the cutting-edge 3D animation used in movies like I,
New Zealand-based visual effects company Weta Digital (www.wetafx.co.nz) was able to manage the intense streams of data required to render the cutting-edge 3D animation used in movies like I,
Tuesday, January 5, 2010
[ ubuntu ] Quick and Dirty method to remove a corruted partially installed package
Posted on 9:42 PM by Unknown
This method can be used when commands related to aptitude or dpkg is not able to solve the problem
If you have tried everything else, a last resort is this.
1. Backup your /var/lib/dpkg/status file NB You MUST do this first, becuase if you lose this file, your system is hosed.
2. In a terminal, type in the following command: sudo gedit /var/lib/dpkg/status
3. The errant package seems to
If you have tried everything else, a last resort is this.
1. Backup your /var/lib/dpkg/status file NB You MUST do this first, becuase if you lose this file, your system is hosed.
2. In a terminal, type in the following command: sudo gedit /var/lib/dpkg/status
3. The errant package seems to
Friday, January 1, 2010
How to enable file and folder listing in apache
Posted on 9:48 AM by Unknown
Option # 1: Using Apache config file
Add directory option to Apache configuration file /etc/httpd/httpd.conf or /etc/apache2/apache2.conf:
# vi /etc/apache2/apache2.conf
Add following code:
Options Indexes FollowSymLinks
Save and close the file. Restart Apache:
# /etc/init.d/httpd restart
OR
# /etc/init.d/apache2 restart
Option #2: Using .htaccess Files with Apache
You can place config
Add directory option to Apache configuration file /etc/httpd/httpd.conf or /etc/apache2/apache2.conf:
# vi /etc/apache2/apache2.conf
Add following code:
Options Indexes FollowSymLinks
Save and close the file. Restart Apache:
# /etc/init.d/httpd restart
OR
# /etc/init.d/apache2 restart
Option #2: Using .htaccess Files with Apache
You can place config
Subscribe to:
Posts (Atom)