Saturday, 26 December 2015
Best watches in the world. Super present. Christmas sale!
Sunday, 6 December 2015
Best watches in the world. Best present.
Friday, 22 August 2014
karthick.pogunulla.workstation, connect with karthik pogunulla on Hall
| |||||||||||||||||||||
|
Friday, 25 January 2013
How to Use Swap in Ubuntu ?
You can always create swap file
by imaginestudio repository
To add more swap space. This is not same (in every aspect) as swap partition but it will be easy and dynamic.
Change /media/fasthdd/swapfile.img to anything you like, for example it can be /swap.img as well. /media/fasthdd/swapfile.img is just example filename, if you are using this one then of course there must be directory /media/fasthdd/ with enough free space for your new swap file.
Use any of terminal applications to run commands. All command should be run with root privileges, to do this you can either add sudo to beginning of every command or run sudo bash before running commands.
1. Create empty file:
This file will contain virtual memory contents so make file big enough for your needs. This one will create 1Gb file which means +1Gb swap space for your system:
dd if=/dev/zero of=/media/fasthdd/swapfile.img bs=1024 count=1M If you want to make 3Gb file then change count value to count=3M. See man dd for more information.
2. Bake swap file:
Following command is going to make "swap filesystem" inside your fresh swap file.
mkswap /media/fasthdd/swapfile.img 3. Bring up on boot:
To make sure that your new swap space is activated while booting up computer you should add it to filesystem configuration file /etc/fstab. Add it to end of file, this is recommended because other filesystems (at least one that contains swap file) must be mounted in read-write mode before we can access any files.
# Add this line to /etc/fstab /media/fasthdd/swapfile.img swap swap sw 0 0 4. Activate:
You can either reboot your computer or activate new swap file by hand with following command:
swapon /media/fasthdd/swapfile.img If everything goes well
you should see that more swap space is available for use. You can use following commands to check your new swap and confirm that it is active:
cat /proc/swaps Filename Type Size Used Priority /media/fasthdd/swapfile.img file 8388604 2724 -1 grep 'Swap' /proc/meminfo SwapCached: 4772 kB SwapTotal: 8388604 kB SwapFree: 8355812 kB Saturday, 19 January 2013
How add new/otherJava Versions in linux
extract that for example:
I have downloaded the Jdk1.7.tar.gz for 64 bit,placed on the opt/local
follow:
ln -s jdk1.7.0 newjava
then edit the profile file and add the following linesat bottom
vi /etc/profile
export JAVA_HOME=/opt/local/newjava
export PATH=$PATH:$JAVA_HOME/bin
export CLASSPATH=.:$JAVA_HOME/jre/lib:$JAVA_HOME/lib:$JAVA_HOME/lib/tools.jar
Tuesday, 1 January 2013
How do I cleanup temp files Ubuntu?
Monday, 24 December 2012
How-To: Compile and Install Wine in Ubuntu
In order to compile Wine from source and install it on Ubuntu, you will only need to follow several easy steps I list below:
1. Enable the sources repositories
Make sure you have a line in the /etc/apt/sources.list file which says something like:
deb-src http://archive.
Next, update the packages list:
sudo apt-get update
2. Install the Wine dependencies
This will also install the build-essential meta package if it's not already installed:
sudo apt-get build-dep wine
3. Download the Wine 1.1.4 source tarball, compile and install
Download the source from the official website (direct link here), uncompress it, change the current working directory to wine-1.1.4 and type the command:
./tools/wineinstall
If the configuration goes smooth, you'll be presented with a message similar to the one below:
configure: Finished. Do 'make depend && make' to compile Wine.
We need to install wine as root user, do you want us to build wine,
'su root' and install Wine? Enter 'no' to continue without installing
(yes/no)
Type no, wait for Wine to be compiled, then use:
sudo make install
To install Wine.
4. Run Wine
Run winecfg as normal user in order to configure it, then use it like wine WIN_APP.EXE in order to start Windows applications. You can see where the binary was installed by typing:
whereis wine
And to see the version:
wine --version
This should be all.
Resources
Wine homepage
Wine applications database

