search

Loading
Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Saturday, June 13, 2015

Install aspell dictionary in linux

To install "aspell" in linux, follow the below steps:


cd /usr/local/src
wget ftp://ftp.gnu.org/gnu/aspell/aspell-0.60.6.tar.gz
tar -xvzf aspell-0.60.6.tar.gz
cd aspell-0.60.6/
./configure
make
make install

This will install aspell at the location /usr/local/bin/aspell. Make sure that you have build tools installed on your operating system. If you don't, you can install it using the below command in ubuntu :

sudo apt-get install linux-headers-$(uname -r) build-essential




Monday, December 29, 2014

How to paste in putty in Ubuntu Linux

The key board short cut to paste the content from clipboard to putty terminal in Linux is Ctrl+Shift+Insert

First copy the content using Ctrl+C. This will copy the content to buffer. Then go to putty terminal and press Ctrl+Shift+insert


Saturday, November 29, 2014

How to dual boot Linux (CrunchBang Linux) and PC-BSD 10 with ZFS file system

This is a tutorial which shows how to dual boot Linux and PC-BSD 10. PC-BSD 10 uses ZFS as the file system and grub for the boot manager. I was able to successfully dual boot PC-BSD and CrunchBang Linux in my laptop.

I was able to achieve this after lots of trial and error methods. I have not found a valid guide in the internet to do it. All the tutorials were outdated or at least not working for me. I have spend a lot of time in the pc-bsd/freebsd irc channels and finally able to achieve this after trying out different suggestions from the irc members. Thanks to them all for the guidance.

Saturday, October 18, 2014

Tuesday, August 5, 2014

How to fix " skype depends on libqtwebkit4 (>= 2.1.0~2011week13)." error in debian/crunchbang 64 bit linux

I have been using skype 4.2 version in my crunchbang 64 bit. Recently Microsoft has stopped supporting this version and users are showing an error "server failed to connect" while logging in to skype.

So I have to update skype to 4.3 to fix the issue. I'm using 64 bit crunchbang and Microsoft has only 32 it deb package for debain (which is what crunchbang is based on). So I have downloaded the deb file and when installing I was getting the below error :

Sunday, December 8, 2013

Port forwarding port 80 of public static ip to internal machines port 8080 in centos using iptables

I have a centos server acting as router. It has two ethernet ports eth0 and eth1. eth0 is configured with the public static ip got from my ISP. I have my internal machines connected to this centos os router machine using LAN in eth1.

For example, assume that my public static ip given by my ISP is 123.45.567.89 and it is configured in eth0. In eth1 my internal machines are connected through LAN. Internal machines are in the ip range of 192.168.1.0 to 192.168.1.100

I have a web application running on one of my internal machines with IP 192.168.1.10 on port 8080. I can access this web app from my internal network by typing http://192.168.1.10:8080/ in a web browser. But I want to get this application from my public static ip given by ISP by simply typing http://123.45.567.89/ in the web browser. How can I achieve this? By port forwarding. Follow the below steps to achieve this.

Install MTS MBLAZE 3GPLUS/MBLAZE ULTRA dongle for ZTE in Ubuntu Linux

I had recently got MTS 3GPLUS dongle. It is made ZTE and really good news about it is that it supports Linux and it is mentioned in their website (you can view the supported os list in "tech spec"). I have tried it in Windows 8, OSX Mavericks and Ubuntu 13.04 and it works really well on all these platforms.

In mac and windows, it will auto configure everything for you. But in Linux, you need to install it manually. When I plugged it into my ubuntu, it was detected as USB drive but there was no auto configure for it. Even I was not able to load the installation files in Ubuntu. Then I have to plug it into another Windows and was able to see it includes the files for installing it in Linux too.

Saturday, August 3, 2013

Download and install the bleeding edge version of elementary os

This post is more like  a note to myself.

Elementary OS is a distro which uses ubuntu as its base os. But unlike the other ubuntu based distros it's a class apart. It uses its own custom developed applications,icons and themes and everything works as a coherent unit.

Tuesday, July 30, 2013

How to fix the "built in speaker not working" issue in laptops with Ubuntu 13.04 (UEFI)

Recently I have bought a new Sony Vaio touchscreen laptop with Windows 8 UEFI boot (laptop is really good and I highly recommend it) . It was fairly easy to install Ubuntu 13.04 along side windows 8. I was successfully able to dual boot Windows 8 and Ubuntu in this laptop.

In Windows 8 as expected everything worked perfectly out of the box but it was a different story in Ubuntu. I have spent almost 3 weekends for a solution and finally found the solution from some of the old bug reports dated back to Ubuntu 8.04.

Thursday, November 22, 2012

How to port forward remote port to local machine using ssh [trouble shooting remote server apps in local machine]

Some times, you may need to test a remote application (GUI app) which is running in a linux server. As it is a server, we cannot test the app from the server as there is no GUI for the server. The app can be accessed over a web browser though. But for some other reasons, you are not able to access it through the web browser using the server's ip address. So our first purpose is the trouble shoot the issue. Whether the app is actually running in the server with all the features enabled?

We can ssh to the server and check the whether the app is running using ps -ef | grep appname command. Then we found out that the app is actually running in the server. But why we are not able to access it through server's ip address and the port? Here comes the rescuer in the form of port forwarding.

Saturday, November 17, 2012

Wednesday, November 14, 2012

Boot from usb drives even if your hardware doesn't support it using EasyBCD and plop boot manager

Last time, I have told you about an amazing software called EasyBCD. It is a boot manager editor software which gives you a easy to use interface to customize your boot loader. Its just not a boot manager configuration tool, but it also comes with the plop boot manager built in with it.

So what is the advantage of having plop boot manager?You can read about plop boot manager here.

Saturday, April 28, 2012

Artha - The best dictionary app for ubuntu [offline]

I was in search of the best dictionary app (software) for my ubuntu as I recently started reading many ebooks. As English is not my native language, a good dictionary app is always the best friend while reading. I have tried many dictionary app but I finally I have settled on the dictionary app called "Artha".

"Artha" is a Sanskrit word (an ancient Indian language)  which means "meaning" in English. Apt name for a dictionary app, right? The best part of this app is that it works offline while most of the dictionary apps available in ubuntu needs internet connection for working. Let's see some of the features of Artha from their website.

Friday, March 23, 2012

Most useful screen shortcuts and commands in linux

Last time we saw about how to use screen and the advantages of screen. But there are more useful screen tips and tricks. Here I'm going to show you my most used screen commands.


As we saw we have created a screen session called 'backup' last time and logged in to that using screen -r backup or screen -x backup. But you need to remember that that is the name of that particular screen session. Inside a screen session we can have multiple screen windows. Not only that we can name each of these windows.

Friday, March 9, 2012

How to find the number of occurance of a character or word in a file

Some times we need to find how many times a character or a word has repeated in file. For this we can use vim. Vim is extremely powerful tool and learning some cool tricks in vim will always help you beat the heat.

So for example, i want to find how many times the word linux comes a file which is full words and lines. Imagine if the file has more than 1000 lines finding manually it will be just waste of time if you know the simple command in the vim.


We can use grep -c linux test.txt, but it will only show the number of lines where the word linux comes.
That's why we are using the vim and the below command.

Saturday, March 3, 2012

How to hide a file or folder in Linux

This is a basic question that arises in the mind of the most new linux users. This can be easily achieved in linux. Its a matter of just adding a do in front of the file/folder name in linux.

For example, to hide a file called 'linux-tips.txt', we just need to add a dot in front of it. It will be like this.

.linux-tips.txt

You can use the mv command to do it in command line. The above can be done like this:

mv linux-tips.txt .linux-tips.txt

Once we add the dot infront of it, it won't be visible in 'ls' command. You can view the hidden files by using 'ls -a' command.

The same method works for folders also. 

Sunday, February 26, 2012

My favorite (and most used) Linux command line shortcuts

Linux terminal is one of my most used application. So it became necessary for me to master it. Even if we take a little bit of time for mastering the shortcuts, it will be really helpful in the long term.

Below are some of the my favorite and most used command line shortcuts which now I am using almost every time.

Saturday, June 11, 2011

How to completely remove an application and its settings in ubuntu

We can remove applications in ubuntu using apt-get remove command. But it will not completely remove an application. The installed files dependencies and the configurations will remain in the system. This will in future cause to the not needed dependencies and junk files which we are never going to use remain in the system and will eat up the hard disk space. So how to remove an application completely in ubuntu?

Tuesday, May 3, 2011

My thoughts about Unity and Gnome3 shell

Recently ubuntu has switched to a new shell called unity which is built on the top of gnome 2.x series while the traditional gnome has migrated to the new incarnation of gnome called gnome 3 and it sports a different shell from the traditional gnome 2 series and unity.

Actually there is not much difference between the user interface of gnome3 shell and unity. But unity uses compiz as window manager while gnome3 relies on mutter. Ubuntu wanted to use compiz but gnome developers preffered mutter. That is the reason why ubuntu developers has created unity based on compiz.

Wednesday, April 13, 2011

Postr - a flickr uploading tool for your gnome desktop

Postr is a simple flickr photo uploader tool for the gnome desktop. If you are a flickr addict this is going to a very useful tool for you. It is specially designed for the gnome desktop. It was originally developed by Ross Burton and now maintained by Germán Póo-Caamaño who is also using this project for mentoring and encouraging new contributors for GNOME.

Let's have a look at the features of postr now: