I wanted to limit apt-get download.
The solution is this:
$ sudo apt-get -o Acquire::http::Dl-Limit=25 upgrade
Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts
Saturday, December 4, 2010
Friday, November 13, 2009
GWT Hosted Mode on 64 Bit Ubuntu
Here's how I got GWT 1.7 Hosted Mode to work on my 64 bit Ubuntu Karmic Koala 9.10 laptop. These instructions should also work on Jaunty (9.04)
source: from this blog
- Install ia32-sun-java6-bin:
- sudo apt-get install ia32-sun-java6-bin
sudo apt-get install ia32-sun-java6-bin
- Make sure the default Java installation remains the 64 bit one
- sudo update-java-alternatives --set java-6-sun
sudo update-java-alternatives --set java-6-sun
- Download libstdc++5 for IA32 from Jaunty repos: http://archive.ubuntu.com/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-17ubuntu1_i386.deb
- Extract the libstdc++.so.5 file
- dpkg-deb --fsys-tarfile libstdc++5_3.3.6-17ubuntu1_i386.deb | tar -O --extract './usr/lib/libstdc++.so.5.0.7' > libstdc++.so.5
dpkg-deb --fsys-tarfile libstdc++5_3.3.6-17ubuntu1_i386.deb | tar -O --extract './usr/lib/libstdc++.so.5.0.7' > libstdc++.so.5
- Move the extracted file to /usr/lib32
- sudo mv libstdc++.so.5 /usr/lib32
sudo mv libstdc++.so.5 /usr/lib32
- Run
- sudo ldconfig
sudo ldconfig
- Start GWT:
- JAVA_HOME=/usr/lib/jvm/ia32-java-6-sun mvn gwt:run
- JAVA_HOME=/usr/lib/jvm/ia32-java-6-sun mvn gwt:run
Saturday, August 8, 2009
How to change the Ubuntu Loading screen
Run both of these and you will be fine.
sudo update-alternatives --config usplash-artwork.so
sudo dpkg-reconfigure linux-image-$(uname -r)
Both have to be ran otherwise the change you make with step one will not take effect.
sudo update-alternatives --config usplash-artwork.so
sudo dpkg-reconfigure linux-image-$(uname -r)
Both have to be ran otherwise the change you make with step one will not take effect.
Subscribe to:
Posts (Atom)
list open ports and unix sockets
To do this I use netstat command to list all open ports: $ sudo netstat -tuplen to list open ports and unix sockets: $ sudo netstat -...
-
[ These steps may work on CentOS 5.* too] Prepare your OS for it $ sudo yum groupinstall "Development tools" $ sudo yum in...
-
This is very unconventional but a valid code and it will run!!, the magic is the static initializer block. this block is hidden from ever...